{"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_task\", \"description\": \"Create a new task\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the task\"}, \"priority\": {\"type\": \"string\", \"description\": \"The priority level of the task (e.g. high, medium, low)\"}, \"due_date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The due date of the task\"}}, \"required\": [\"title\", \"priority\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Finalize Project Proposal\", the priority is high, and the due date is 2022-05-15."}], "chosen": "[{\"name\": \"create_task\", \"arguments\": {\"title\": \"Finalize Project Proposal\", \"priority\": \"high\", \"due_date\": \"2022-05-15\"}}]", "rejected": " {\"name\": \"create_task\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly payment for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"principal\": {\"type\": \"number\", \"description\": \"The principal amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate for the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"principal\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the principal is $200,000, the interest rate is 3.5% annually, and the term is 360 months."}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"principal\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "rejected": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"principal\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360, \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_flight_status\", \"description\": \"Check the status of a flight\", \"parameters\": {\"type\": \"object\", \"properties\": {\"flight_number\": {\"type\": \"string\", \"description\": \"The flight number\"}, \"date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The date of the flight\"}, \"airline\": {\"type\": \"string\", \"description\": \"The airline of the flight\"}}, \"required\": [\"flight_number\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to check the status of my flight. It's BA 2156 on 2022-03-25."}], "chosen": "[{\"name\": \"check_flight_status\", \"arguments\": {\"flight_number\": \"BA 2156\", \"date\": \"2022-03-25\"}}]", "rejected": "[{\"name\": \"check_flight_status\", \"arguments\": {\"flight_number\": \"BA 2156\", \"date\": \"2022-03-25\"}}, {\"name\": \"check_flight_status\", \"arguments\": {\"flight_number\": \"BA 2156\", \"date\": \"2022-03-25\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_todo\", \"description\": \"Create a new todo item\", \"parameters\": {\"type\": \"object\", \"properties\": {\"task\": {\"type\": \"string\", \"description\": \"The task description\"}, \"due_date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The due date of the task\"}}, \"required\": [\"task\", \"due_date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great! Can you also help me book a flight to New York?"}], "chosen": "I'm sorry, but I don't have the capability to book flights. My current function is limited to creating todo items. I recommend using a trusted travel booking website or app for your flight booking needs. <|endoftext|>", "rejected": "[{\"name\": \"create_todo\", \"arguments\": {\"task\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly payment for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The total loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $200,000, the interest rate is 3.5% annually, and the loan term is 30 years."}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"loan_amount\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "rejected": " {\"name\": \"calculate_loan_payment\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The email address is boss@company.com. The subject should be \"Meeting Agenda for Tomorrow\". And in the body, write \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}]", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com_changed\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_barcode\", \"description\": \"Generate a barcode for a given value\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"string\", \"description\": \"The value to be encoded in the barcode\"}, \"format\": {\"type\": \"string\", \"description\": \"The barcode format (e.g. Code 128, QR Code)\"}}, \"required\": [\"value\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a barcode for the value \"1234567890\" in QR Code format."}], "chosen": "[{\"name\": \"generate_barcode\", \"arguments\": {\"value\": \"1234567890\", \"format\": \"QR Code\"}}]", "rejected": "Sure, let me generate that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"get_by_imdb_id\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500_changed\", \"z\": \"10\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_latest_news\", \"description\": \"Get the latest news based on specific categories\", \"parameters\": {\"type\": \"object\", \"properties\": {\"categories\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The categories of news to retrieve\"}}, \"required\": [\"categories\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, can you get me the latest news on technology and sports?"}], "chosen": "Sure, I can help with that. Let me fetch the latest news for you. <|endoftext|>", "rejected": "[{\"name\": \"get_latest_news\", \"arguments\": {\"categories\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_recipe\", \"description\": \"Get a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The available ingredients\"}, \"dietary_requirements\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The dietary requirements or restrictions\"}}, \"required\": [\"ingredients\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That sounds delicious! But I'm also lactose intolerant. Can you find a recipe without cheese?"}], "chosen": "[{\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"], \"dietary_requirements\": [\"lactose free\"]}}]", "rejected": "[{\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"], \"dietary_requirements\": [\"lactose free\"]}}, {\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"], \"dietary_requirements\": [\"lactose free\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "[{\"name\": \"google_maps_data_id\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the recipient's email is boss@example.com. The subject is \"Project Update\", and the body is \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}]", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com_changed\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_countries\", \"description\": \"Fetches a list of countries based on various search criteria.\", \"parameters\": {\"keyword\": {\"description\": \"Search countries by keyword. Defaults to 'ind'.\", \"type\": \"str, optional\", \"default\": \"ind\"}, \"subregion_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"state_id\": {\"description\": \"Filter countries by state ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"timezone_id\": {\"description\": \"Filter countries by timezone ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"region_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"perpage\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"50\"}, \"is_id\": {\"description\": \"Filter countries by country ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"directions_between_2_locations\", \"description\": \"Fetches route information between two geographical locations, including distance and duration.\", \"parameters\": {\"end_lat\": {\"description\": \"Latitude of the ending point.\", \"type\": \"int\", \"default\": \"11.846\"}, \"start_lat\": {\"description\": \"Latitude of the starting point.\", \"type\": \"int\", \"default\": \"10.516\"}, \"start_lon\": {\"description\": \"Longitude of the starting point.\", \"type\": \"int\", \"default\": \"7.433\"}, \"end_lon\": {\"description\": \"Longitude of the ending point.\", \"type\": \"int\", \"default\": \"13.160\"}, \"distance_unit\": {\"description\": \"Unit of distance measurement, either 'km' (default) or 'mi'.\", \"type\": \"str, optional\", \"default\": \"km\"}}}, {\"name\": \"traveling_salesman\", \"description\": \"Solves the Traveling Salesman Problem (TSP) using the specified profile and set of coordinates, leveraging the mymappi API.\", \"parameters\": {\"coordinates\": {\"description\": \"The coordinates of the waypoints to visit, formatted as a string.\", \"type\": \"str\", \"default\": \"40.427772,-3.714630;40.407348,-3.710520;40.461178,-3.676533;40.441933,-3.650275;40.434914,-3.697337;40.451737,-3.683682\"}, \"apikey\": {\"description\": \"The API key for accessing the mymappi service.\", \"type\": \"str\", \"default\": \"YOUR_API_KEY\"}, \"profile\": {\"description\": \"The transportation profile to use (e.g., driving, walking, cycling).\", \"type\": \"str\", \"default\": \"car\"}, \"overview\": {\"description\": \"Specifies the level of detail in the returned route geometry. Default is 'simplified'.\", \"type\": \"str, optional\", \"default\": \"simplified\"}, \"roundtrip\": {\"description\": \"Determines whether the route should be a roundtrip. Default is None.\", \"type\": \"bool, optional\", \"default\": false}, \"destination\": {\"description\": \"Specifies the destination waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"source\": {\"description\": \"Specifies the source waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"geometries\": {\"description\": \"The geometry format for the route. Default is 'polyline'.\", \"type\": \"str, optional\", \"default\": \"polyline\"}, \"steps\": {\"description\": \"Whether or not to include step-by-step directions. Default is None.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"facilities_lookup\", \"description\": \"Fetches a list of facilities in Tunisia based on specified criteria such as city, province, and facility type.\", \"parameters\": {\"city\": {\"description\": \"The city where the facility is located.\", \"type\": \"str\", \"default\": \"Tunis\"}, \"province\": {\"description\": \"The region where the facility is located.\", \"type\": \"str\", \"default\": \"Manouba\"}, \"type\": {\"description\": \"The type of facility to search for.\", \"type\": \"str\", \"default\": \"hospital\"}, \"limit\": {\"description\": \"The maximum number of facilities to return. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Calculate the distance and time it takes to travel from New York City to Los Angeles, considering the starting point at latitude 40.7128° N and longitude 74.0060° W, and the destination at latitude 34.0522° N and longitude 118.2437° W."}], "chosen": "[{\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "rejected": "[{\"name\": \"traveling_salesman\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_gpa\", \"description\": \"Calculate the GPA based on grades and credits\", \"parameters\": {\"type\": \"object\", \"properties\": {\"grades\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The grades for each course\"}, \"credits\": {\"type\": \"array\", \"items\": {\"type\": \"number\"}, \"description\": \"The number of credits for each course\"}}, \"required\": [\"grades\", \"credits\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Okay, here they are. My grades are [\"A\", \"B\", \"A-\", \"B+\", \"A\"] and the corresponding credits are [3, 4, 3, 2, 3]."}], "chosen": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3]}}]", "rejected": " {\"name\": \"calculate_gpa\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"product_offers\", \"description\": \"Fetches a list of offers for a specific product on Amazon based on the given ASIN.\", \"parameters\": {\"asin\": {\"description\": \"Product ASIN to get offers for. Supports batching up to 10 ASINs in a single request, separated by a comma (e.g., 'B08PPDJWC8,B07ZPKBL9V,B08BHXG144').\", \"type\": \"str\", \"default\": \"B07ZPKBL9V\"}, \"delivery\": {\"description\": \"[EXPERIMENTAL] Find products with specific delivery options, specified as a comma-delimited list. Valid values: 'PRIME_ELIGIBLE', 'FREE_DELIVERY'. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of offers to return. Default is 100.\", \"type\": \"int, optional\", \"default\": \"100\"}, \"product_condition\": {\"description\": \"Filter products by condition, specified as a comma-delimited list. Valid values: 'NEW', 'USED_LIKE_NEW', 'USED_VERY_GOOD', 'USED_GOOD', 'USED_ACCEPTABLE'. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"Sets the marketplace country, language, and currency. Allowed values: 'US', 'AU', 'BR', 'CA', 'CN', 'FR', 'DE', 'IN', 'IT', 'MX', 'NL', 'SG', 'ES', 'TR', 'AE', 'GB', 'JP'. Default is 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"product_data\", \"description\": \"Fetches detailed information about a specific product from the Ecommerce Product API.\", \"parameters\": {\"product\": {\"description\": \"The name of the product to retrieve information for.\", \"type\": \"str\", \"default\": \"phone\"}, \"page\": {\"description\": \"The page number for paginated results. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"product_reviews\", \"description\": \"Fetches and paginates through product reviews on Amazon for a given product.\", \"parameters\": {\"asin\": {\"description\": \"Product ASIN for which to get reviews.\", \"type\": \"str\", \"default\": \"B07ZPKN6YR\"}, \"query\": {\"description\": \"Search query to filter reviews.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sort_by\": {\"description\": \"Sort order for reviews. Default is `TOP_REVIEWS`. Allowed values are `TOP_REVIEWS`, `MOST_RECENT`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"verified_purchases_only\": {\"description\": \"Only return reviews by reviewers who made a verified purchase.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"page_size\": {\"description\": \"Number of reviews to return per page. Allowed values range from `1` to `20`. Default is `10`.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"page\": {\"description\": \"Page number of results to return. Default is `1`.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"star_rating\": {\"description\": \"Filter reviews by star rating. Default is `ALL`. Allowed values are `ALL`, `5_STARS`, `4_STARS`, `3_STARS`, `2_STARS`, `1_STARS`, `POSITIVE`, `CRITICAL`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"images_or_videos_only\": {\"description\": \"Only return reviews containing images and/or videos.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"country\": {\"description\": \"Marketplace country, language, and currency. Default is `US`. Allowed values are `US`, `AU`, `BR`, `CA`, `CN`, `FR`, `DE`, `IN`, `IT`, `MX`, `NL`, `SG`, `ES`, `TR`, `AE`, `GB`, `JP`.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"getproducts\", \"description\": \"Search for products by name and retrieves newly added items from various sources.\", \"parameters\": {\"query\": {\"description\": \"The search query for the products.\", \"type\": \"str\", \"default\": \"ipone 14 256Gb\"}, \"page\": {\"description\": \"The page number to retrieve.\", \"type\": \"int\", \"default\": \"1\"}, \"country\": {\"description\": \"The country code to filter the search results. Defaults to 'countryUS'.\", \"type\": \"str, optional\", \"default\": \"countryUS\"}, \"location\": {\"description\": \"The location to filter the search results. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}, \"lang\": {\"description\": \"The language code to filter the search results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"period\": {\"description\": \"The period in days to filter newly added items. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Reviews for ASIN B08BHXG144, sorted by top reviews, only verified purchases, and only reviews with 4 stars."}], "chosen": "[{\"name\": \"product_reviews\", \"arguments\": {\"asin\": \"B08BHXG144\", \"sort_by\": \"TOP_REVIEWS\", \"verified_purchases_only\": true, \"star_rating\": \"4_STARS\"}}]", "rejected": "[{\"name\": \"product_reviews\", \"arguments\": {\"asin\": \"B08BHXG144_changed\", \"sort_by\": \"TOP_REVIEWS\", \"verified_purchases_only\": true, \"star_rating\": \"4_STARS\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_stock_availability\", \"description\": \"Check the availability of a product in stock\", \"parameters\": {\"type\": \"object\", \"properties\": {\"product_id\": {\"type\": \"string\", \"description\": \"The unique identifier of the product\"}}, \"required\": [\"product_id\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to know if the product with id 'P1234' is available in stock?"}], "chosen": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\"}}]", "rejected": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\"}}, {\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two points\", \"parameters\": {\"type\": \"object\", \"properties\": {\"point1\": {\"type\": \"object\", \"description\": \"The coordinates of the first point\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of the first point\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of the first point\"}}}, \"point2\": {\"type\": \"object\", \"description\": \"The coordinates of the second point\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of the second point\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of the second point\"}}}}, \"required\": [\"point1\", \"point2\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the distance between two points. The coordinates of the first point are (3, 4) and the coordinates of the second point are (7, 1)."}], "chosen": "[{\"name\": \"calculate_distance\", \"arguments\": {\"point1\": {\"x\": 3, \"y\": 4}, \"point2\": {\"x\": 7, \"y\": 1}}}]", "rejected": "Sure, I can help with that. Let me calculate the distance for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_rental_price\", \"description\": \"Calculate the rental price based on property details and duration\", \"parameters\": {\"type\": \"object\", \"properties\": {\"property_details\": {\"type\": \"object\", \"description\": \"The details of the property\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The duration of rental in days\"}}, \"required\": [\"property_details\", \"duration\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The property is a 2 bedroom apartment in downtown Manhattan. I plan to rent it for 30 days."}], "chosen": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30}}]", "rejected": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 37}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\", \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payments\", \"description\": \"Calculate the monthly loan payments\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate of the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $50000, the interest rate is 5% and the term is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60, \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"email\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_restaurants\", \"description\": \"Search for restaurants based on a query\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"The search query\"}, \"cuisine\": {\"type\": \"string\", \"description\": \"The cuisine type\"}, \"location\": {\"type\": \"string\", \"description\": \"The location of the restaurants\"}}, \"required\": [\"query\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I'm looking for a good Italian restaurant in New York. Can you help me?"}], "chosen": "[{\"name\": \"search_restaurants\", \"arguments\": {\"query\": \"good Italian restaurant\", \"cuisine\": \"Italian\", \"location\": \"New York\"}}]", "rejected": "Of course, I can help you with that. Let me find the information for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"forward_geocode\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"track_package\", \"description\": \"Track the status of a package\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tracking_number\": {\"type\": \"string\", \"description\": \"The tracking number of the package\"}, \"carrier\": {\"type\": \"string\", \"description\": \"The carrier of the package\"}}, \"required\": [\"tracking_number\", \"carrier\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can you also help me book a cab to the airport?"}], "chosen": "I'm sorry, but as an AI, I currently don't have the capability to book a cab for you. My functions are limited to the ones provided to me. Currently, I can only help track packages. I suggest using a cab booking app or website for your request. <|endoftext|>", "rejected": "[{\"name\": \"track_package\", \"arguments\": {\"carrier\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly payment for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"principal\": {\"type\": \"number\", \"description\": \"The principal amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate for the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"principal\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the principal is $200,000, the interest rate is 3.5% annually, and the term is 360 months."}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"principal\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "rejected": " {\"name\": \"calculate_loan_payment\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_account\", \"description\": \"Create a new user account\", \"parameters\": {\"type\": \"object\", \"properties\": {\"username\": {\"type\": \"string\", \"description\": \"Username for account\"}, \"password\": {\"type\": \"string\", \"description\": \"Password for account\"}, \"email\": {\"type\": \"string\", \"description\": \"Email address for account\"}}, \"required\": [\"username\", \"password\", \"email\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I want my username to be \"JohnDoe\", password to be \"password123\" and email to be \"johndoe@example.com\"."}], "chosen": "[{\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com\"}}]", "rejected": "[{\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com\"}}, {\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_upcoming_events\", \"description\": \"Get a list of upcoming events based on user's preferences\", \"parameters\": {\"type\": \"object\", \"properties\": {\"interests\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The user's interests to filter the events\"}, \"location\": {\"type\": \"string\", \"description\": \"The location to search for events\"}}, \"required\": [\"interests\", \"location\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am interested in music and food festivals. Can you find any upcoming events in New York?"}], "chosen": "[{\"name\": \"get_upcoming_events\", \"arguments\": {\"interests\": [\"music\", \"food\"], \"location\": \"New York\"}}]", "rejected": "[{\"name\": \"get_upcoming_events\", \"arguments\": {\"interests\": [\"music\", \"food\"], \"location\": \"New York\", \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"find_files\", \"description\": \"Finds all files with a specific extension in a directory and its subdirectories.\", \"parameters\": {\"directory\": {\"description\": \"The directory to search in.\", \"type\": \"str\"}, \"extension\": {\"description\": \"The file extension to search for.\", \"type\": \"str\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Generate a random string of length 20 containing all character types, and check if it is a subset of the set of all printable ASCII characters."}], "chosen": "[{\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "rejected": "[{\"name\": \"generate_random_string\", \"arguments\": {\"length\": 20, \"uppercase\": true, \"lowercase\": true, \"digits\": true, \"special_chars\": true}}, {\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(string.printable)\", \"set2\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"execute_program\", \"description\": \"Execute a program\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program_name\": {\"type\": \"string\", \"description\": \"The name of the program to execute\"}, \"arguments\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The arguments to pass to the program\"}}, \"required\": [\"program_name\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need to run a program called \"DataAnalysis\" with the arguments \"file1\", \"file2\" and \"file3\"."}], "chosen": "[{\"name\": \"execute_program\", \"arguments\": {\"program_name\": \"DataAnalysis\", \"arguments\": [\"file1\", \"file2\", \"file3\"]}}]", "rejected": " {\"name\": \"execute_program\", \"arguments\": {", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_nearest_gas_station\", \"description\": \"Find the nearest gas station\", \"parameters\": {\"type\": \"object\", \"properties\": {\"latitude\": {\"type\": \"number\", \"description\": \"The latitude coordinate\"}, \"longitude\": {\"type\": \"number\", \"description\": \"The longitude coordinate\"}, \"fuel_type\": {\"type\": \"string\", \"description\": \"The type of fuel (optional)\"}}, \"required\": [\"latitude\", \"longitude\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I am currently at latitude 40.7128 and longitude -74.0060. Can you find the nearest gas station for me?"}], "chosen": "[{\"name\": \"find_nearest_gas_station\", \"arguments\": {\"latitude\": 40.7128, \"longitude\": -74.006}}]", "rejected": " {\"name\": \"find_nearest_gas_station\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_calendar_event\", \"description\": \"Create a new event in the calendar\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the event\"}, \"start_time\": {\"type\": \"string\", \"format\": \"date-time\", \"description\": \"The start time of the event\"}, \"end_time\": {\"type\": \"string\", \"format\": \"date-time\", \"description\": \"The end time of the event\"}, \"location\": {\"type\": \"string\", \"description\": \"The location of the event\"}}, \"required\": [\"title\", \"start_time\", \"end_time\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The meeting will be in the conference room."}], "chosen": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"title\": \"Project Discussion\", \"start_time\": \"2022-04-15T10:00:00\", \"end_time\": \"2022-04-15T12:00:00\", \"location\": \"conference room\"}}]", "rejected": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"title\": \"Project Discussion\", \"start_time\": \"2022-04-15T10:00:00\", \"end_time\": \"2022-04-15T12:00:00\", \"location\": \"conference room\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "[{\"name\": \"get_zip_code_in_mexico\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_net_pay\", \"description\": \"Calculate the net pay after deducting taxes and other contributions\", \"parameters\": {\"type\": \"object\", \"properties\": {\"gross_pay\": {\"type\": \"number\", \"description\": \"The gross pay\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate in percentage\"}, \"contributions\": {\"type\": \"number\", \"description\": \"The total contributions\"}}, \"required\": [\"gross_pay\", \"tax_rate\", \"contributions\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help calculating my net pay. My gross pay is $5000, my tax rate is 20% and my total contributions are $200."}], "chosen": "[{\"name\": \"calculate_net_pay\", \"arguments\": {\"gross_pay\": 5000, \"tax_rate\": 20, \"contributions\": 200}}]", "rejected": "[{\"name\": \"calculate_net_pay\", \"arguments\": {\"gross_pay\": 5000, \"tax_rate\": 20, \"contributions\": 200}}, {\"name\": \"calculate_net_pay\", \"arguments\": {\"gross_pay\": 5000, \"tax_rate\": 20, \"contributions\": 200}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_countries\", \"description\": \"Fetches a list of countries based on various search criteria.\", \"parameters\": {\"keyword\": {\"description\": \"Search countries by keyword. Defaults to 'ind'.\", \"type\": \"str, optional\", \"default\": \"ind\"}, \"subregion_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"state_id\": {\"description\": \"Filter countries by state ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"timezone_id\": {\"description\": \"Filter countries by timezone ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"region_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"perpage\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"50\"}, \"is_id\": {\"description\": \"Filter countries by country ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"directions_between_2_locations\", \"description\": \"Fetches route information between two geographical locations, including distance and duration.\", \"parameters\": {\"end_lat\": {\"description\": \"Latitude of the ending point.\", \"type\": \"int\", \"default\": \"11.846\"}, \"start_lat\": {\"description\": \"Latitude of the starting point.\", \"type\": \"int\", \"default\": \"10.516\"}, \"start_lon\": {\"description\": \"Longitude of the starting point.\", \"type\": \"int\", \"default\": \"7.433\"}, \"end_lon\": {\"description\": \"Longitude of the ending point.\", \"type\": \"int\", \"default\": \"13.160\"}, \"distance_unit\": {\"description\": \"Unit of distance measurement, either 'km' (default) or 'mi'.\", \"type\": \"str, optional\", \"default\": \"km\"}}}, {\"name\": \"traveling_salesman\", \"description\": \"Solves the Traveling Salesman Problem (TSP) using the specified profile and set of coordinates, leveraging the mymappi API.\", \"parameters\": {\"coordinates\": {\"description\": \"The coordinates of the waypoints to visit, formatted as a string.\", \"type\": \"str\", \"default\": \"40.427772,-3.714630;40.407348,-3.710520;40.461178,-3.676533;40.441933,-3.650275;40.434914,-3.697337;40.451737,-3.683682\"}, \"apikey\": {\"description\": \"The API key for accessing the mymappi service.\", \"type\": \"str\", \"default\": \"YOUR_API_KEY\"}, \"profile\": {\"description\": \"The transportation profile to use (e.g., driving, walking, cycling).\", \"type\": \"str\", \"default\": \"car\"}, \"overview\": {\"description\": \"Specifies the level of detail in the returned route geometry. Default is 'simplified'.\", \"type\": \"str, optional\", \"default\": \"simplified\"}, \"roundtrip\": {\"description\": \"Determines whether the route should be a roundtrip. Default is None.\", \"type\": \"bool, optional\", \"default\": false}, \"destination\": {\"description\": \"Specifies the destination waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"source\": {\"description\": \"Specifies the source waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"geometries\": {\"description\": \"The geometry format for the route. Default is 'polyline'.\", \"type\": \"str, optional\", \"default\": \"polyline\"}, \"steps\": {\"description\": \"Whether or not to include step-by-step directions. Default is None.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"facilities_lookup\", \"description\": \"Fetches a list of facilities in Tunisia based on specified criteria such as city, province, and facility type.\", \"parameters\": {\"city\": {\"description\": \"The city where the facility is located.\", \"type\": \"str\", \"default\": \"Tunis\"}, \"province\": {\"description\": \"The region where the facility is located.\", \"type\": \"str\", \"default\": \"Manouba\"}, \"type\": {\"description\": \"The type of facility to search for.\", \"type\": \"str\", \"default\": \"hospital\"}, \"limit\": {\"description\": \"The maximum number of facilities to return. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Calculate the distance and time it takes to travel from New York City to Los Angeles, considering the starting point at latitude 40.7128° N and longitude 74.0060° W, and the destination at latitude 34.0522° N and longitude 118.2437° W."}], "chosen": "[{\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "rejected": "[{\"name\": \"get_countries\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"message\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"message\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The recipient's email is boss@company.com. The subject is \"Monthly Report\" and the message is \"Please find attached the monthly report for your review.\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Monthly Report\", \"message\": \"Please find attached the monthly report for your review.\"}}]", "rejected": " {\"name\": \"send_email\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_repayment\", \"description\": \"Calculate the monthly repayment amount for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"principal\": {\"type\": \"number\", \"description\": \"The principal amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate of the loan\"}, \"term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"principal\", \"interest_rate\", \"term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the principal amount is $20000, the annual interest rate is 5% and the term is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_repayment\", \"arguments\": {\"principal\": 20000, \"interest_rate\": 5, \"term\": 60}}]", "rejected": " {\"name\": \"calculate_loan_repayment\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_books\", \"description\": \"Search for books\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keyword\": {\"type\": \"string\", \"description\": \"The keyword to search for\"}, \"author\": {\"type\": \"string\", \"description\": \"The author of the book\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the book\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Yes, it's 1984. Thank you! Also, can you order this book for me?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as placing orders. I recommend visiting a bookstore or an online marketplace to purchase the book. <|endoftext|>", "rejected": "[{\"name\": \"search_books\", \"arguments\": {\"keyword\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_book\", \"description\": \"Search for a book in a library catalog\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the book\"}, \"author\": {\"type\": \"string\", \"description\": \"The author of the book\"}}, \"required\": [\"title\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am looking for a book but I can't remember the author's name. The title is \"To Kill a Mockingbird\"."}], "chosen": "[{\"name\": \"search_book\", \"arguments\": {\"title\": \"To Kill a Mockingbird\"}}]", "rejected": "[{\"name\": \"search_book\", \"arguments\": {\"title\": \"To Kill a Mockingbird_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"book_flight\", \"description\": \"Book a flight\", \"parameters\": {\"type\": \"object\", \"properties\": {\"origin\": {\"type\": \"string\", \"description\": \"The origin airport\"}, \"destination\": {\"type\": \"string\", \"description\": \"The destination airport\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the flight\"}}, \"required\": [\"origin\", \"destination\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, I want to fly from New York to London on the 15th of next month."}], "chosen": "[{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}]", "rejected": " {\"name\": \"book_flight\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"track_order\", \"description\": \"Track the status of an order\", \"parameters\": {\"type\": \"object\", \"properties\": {\"order_id\": {\"type\": \"string\", \"description\": \"ID of the order\"}}, \"required\": [\"order_id\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I would like to track my order. The order ID is 12345."}], "chosen": "[{\"name\": \"track_order\", \"arguments\": {\"order_id\": \"12345\"}}]", "rejected": "Sure, let me check the status of your order for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_invoice\", \"description\": \"Generate an invoice for a given transaction\", \"parameters\": {\"type\": \"object\", \"properties\": {\"transaction_details\": {\"type\": \"object\", \"properties\": {\"transaction_id\": {\"type\": \"string\", \"description\": \"The unique identifier for the transaction\"}, \"amount\": {\"type\": \"number\", \"description\": \"The transaction amount\"}, \"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"items\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The items included in the transaction\"}}, \"required\": [\"transaction_id\", \"amount\", \"customer_name\", \"items\"]}}, \"required\": [\"transaction_details\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The transaction ID is 12345, the amount is $200, my name is John Doe, and the items are a laptop and a mouse."}], "chosen": "[{\"name\": \"generate_invoice\", \"arguments\": {\"transaction_details\": {\"transaction_id\": \"12345\", \"amount\": 200, \"customer_name\": \"John Doe\", \"items\": [\"laptop\", \"mouse\"]}}}]", "rejected": "[{\"name\": \"generate_invoice\", \"arguments\": {\"transaction_details\": \"changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"schedule_meeting\", \"description\": \"Schedule a meeting\", \"parameters\": {\"type\": \"object\", \"properties\": {\"date\": {\"type\": \"string\", \"format\": \"date-time\", \"description\": \"Date and time for the meeting\"}, \"duration\": {\"type\": \"integer\", \"description\": \"Duration of the meeting in minutes\"}, \"attendees\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Email addresses of the meeting attendees\"}}, \"required\": [\"date\", \"duration\", \"attendees\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great, thank you."}], "chosen": "You're welcome! If you need any more assistance, feel free to ask. <|endoftext|>", "rejected": "[{\"name\": \"schedule_meeting\", \"arguments\": {\"date\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_events\", \"description\": \"Search for events based on user's preferences\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location to search for events\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the events\"}, \"category\": {\"type\": \"string\", \"description\": \"The category of the events\"}}, \"required\": [\"location\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, can you help me find some interesting events happening in New York on 25th December?"}], "chosen": "Of course, I can help with that. Do you have a specific category of events in mind like music, art, sports, etc.? <|endoftext|>", "rejected": "[{\"name\": \"search_events\", \"arguments\": {\"date\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_countries\", \"description\": \"Fetches a list of countries based on various search criteria.\", \"parameters\": {\"keyword\": {\"description\": \"Search countries by keyword. Defaults to 'ind'.\", \"type\": \"str, optional\", \"default\": \"ind\"}, \"subregion_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"state_id\": {\"description\": \"Filter countries by state ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"timezone_id\": {\"description\": \"Filter countries by timezone ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"region_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"perpage\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"50\"}, \"is_id\": {\"description\": \"Filter countries by country ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"directions_between_2_locations\", \"description\": \"Fetches route information between two geographical locations, including distance and duration.\", \"parameters\": {\"end_lat\": {\"description\": \"Latitude of the ending point.\", \"type\": \"int\", \"default\": \"11.846\"}, \"start_lat\": {\"description\": \"Latitude of the starting point.\", \"type\": \"int\", \"default\": \"10.516\"}, \"start_lon\": {\"description\": \"Longitude of the starting point.\", \"type\": \"int\", \"default\": \"7.433\"}, \"end_lon\": {\"description\": \"Longitude of the ending point.\", \"type\": \"int\", \"default\": \"13.160\"}, \"distance_unit\": {\"description\": \"Unit of distance measurement, either 'km' (default) or 'mi'.\", \"type\": \"str, optional\", \"default\": \"km\"}}}, {\"name\": \"traveling_salesman\", \"description\": \"Solves the Traveling Salesman Problem (TSP) using the specified profile and set of coordinates, leveraging the mymappi API.\", \"parameters\": {\"coordinates\": {\"description\": \"The coordinates of the waypoints to visit, formatted as a string.\", \"type\": \"str\", \"default\": \"40.427772,-3.714630;40.407348,-3.710520;40.461178,-3.676533;40.441933,-3.650275;40.434914,-3.697337;40.451737,-3.683682\"}, \"apikey\": {\"description\": \"The API key for accessing the mymappi service.\", \"type\": \"str\", \"default\": \"YOUR_API_KEY\"}, \"profile\": {\"description\": \"The transportation profile to use (e.g., driving, walking, cycling).\", \"type\": \"str\", \"default\": \"car\"}, \"overview\": {\"description\": \"Specifies the level of detail in the returned route geometry. Default is 'simplified'.\", \"type\": \"str, optional\", \"default\": \"simplified\"}, \"roundtrip\": {\"description\": \"Determines whether the route should be a roundtrip. Default is None.\", \"type\": \"bool, optional\", \"default\": false}, \"destination\": {\"description\": \"Specifies the destination waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"source\": {\"description\": \"Specifies the source waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"geometries\": {\"description\": \"The geometry format for the route. Default is 'polyline'.\", \"type\": \"str, optional\", \"default\": \"polyline\"}, \"steps\": {\"description\": \"Whether or not to include step-by-step directions. Default is None.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"facilities_lookup\", \"description\": \"Fetches a list of facilities in Tunisia based on specified criteria such as city, province, and facility type.\", \"parameters\": {\"city\": {\"description\": \"The city where the facility is located.\", \"type\": \"str\", \"default\": \"Tunis\"}, \"province\": {\"description\": \"The region where the facility is located.\", \"type\": \"str\", \"default\": \"Manouba\"}, \"type\": {\"description\": \"The type of facility to search for.\", \"type\": \"str\", \"default\": \"hospital\"}, \"limit\": {\"description\": \"The maximum number of facilities to return. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Calculate the distance and time it takes to travel from New York City to Los Angeles, considering the starting point at latitude 40.7128° N and longitude 74.0060° W, and the destination at latitude 34.0522° N and longitude 118.2437° W."}], "chosen": "[{\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "rejected": "York to Los Angeles.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_calendar_event\", \"description\": \"Create a new calendar event\", \"parameters\": {\"type\": \"object\", \"properties\": {\"event_title\": {\"type\": \"string\", \"description\": \"The title of the event\"}, \"event_date\": {\"type\": \"string\", \"description\": \"The date of the event\"}, \"event_time\": {\"type\": \"string\", \"description\": \"The time of the event\"}}, \"required\": [\"event_title\", \"event_date\", \"event_time\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Project Meeting\", the date is 15th June 2022 and the time is 10:00 AM."}], "chosen": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"event_title\": \"Project Meeting\", \"event_date\": \"15th June 2022\", \"event_time\": \"10:00 AM\"}}]", "rejected": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"event_title\": \"Project Meeting\", \"event_date\": \"15th June 2022\", \"event_time\": \"10:00 AM\"}}, {\"name\": \"create_calendar_event\", \"arguments\": {\"event_title\": \"Project Meeting\", \"event_date\": \"15th June 2022\", \"event_time\": \"10:00 AM\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_recipe\", \"description\": \"Find a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients available\"}, \"dietary_restrictions\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Any dietary restrictions\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have some chicken, broccoli, and cheese. Can you find me a recipe? I'm on a low-carb diet."}], "chosen": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"]}}]", "rejected": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"]}}, {\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"mapimage\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_net_pay\", \"description\": \"Calculate the net pay after deducting taxes and other contributions\", \"parameters\": {\"type\": \"object\", \"properties\": {\"gross_pay\": {\"type\": \"number\", \"description\": \"The gross pay\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate in percentage\"}, \"contributions\": {\"type\": \"number\", \"description\": \"The total contributions\"}}, \"required\": [\"gross_pay\", \"tax_rate\", \"contributions\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help calculating my net pay. My gross pay is $5000, my tax rate is 20% and my total contributions are $200."}], "chosen": "[{\"name\": \"calculate_net_pay\", \"arguments\": {\"gross_pay\": 5000, \"tax_rate\": 20, \"contributions\": 200}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_interest\", \"description\": \"Calculate the interest amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"principal_amount\": {\"type\": \"number\", \"description\": \"The principal amount\"}, \"rate\": {\"type\": \"number\", \"description\": \"The interest rate\"}, \"time\": {\"type\": \"number\", \"description\": \"The time period in years\"}}}, \"required\": [\"principal_amount\", \"rate\", \"time\"]}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating interest. I have a principal amount of $5000, the interest rate is 5% and the time period is 3 years."}], "chosen": "[{\"name\": \"calculate_interest\", \"arguments\": {\"principal_amount\": 5000, \"rate\": 5, \"time\": 3}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"find_files\", \"description\": \"Finds all files with a specific extension in a directory and its subdirectories.\", \"parameters\": {\"directory\": {\"description\": \"The directory to search in.\", \"type\": \"str\"}, \"extension\": {\"description\": \"The file extension to search for.\", \"type\": \"str\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Generate a random string of length 20 containing all character types, and check if it is a subset of the set of all printable ASCII characters."}], "chosen": "[{\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "rejected": "[{\"name\": \"generate_random_string\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_bmi\", \"description\": \"Calculate the Body Mass Index (BMI)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"weight\": {\"type\": \"number\", \"description\": \"The weight of the person in kilograms\"}, \"height\": {\"type\": \"number\", \"description\": \"The height of the person in meters\"}}, \"required\": [\"weight\", \"height\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I would like to calculate my BMI. My weight is 70 kg and my height is 1.75 m."}], "chosen": "[{\"name\": \"calculate_bmi\", \"arguments\": {\"weight\": 70, \"height\": 1.75}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"geocodingsearch\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_mortgage_payment\", \"description\": \"Calculate the monthly mortgage payment\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate of the mortgage\"}, \"term\": {\"type\": \"integer\", \"description\": \"The term (in years) of the mortgage\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need help with calculating my mortgage payment. I have a loan amount of $200,000 with an interest rate of 3.5% and a term of 30 years."}], "chosen": "Sure, I can help with that. Let me calculate it for you. <|endoftext|>", "rejected": "[{\"name\": \"calculate_mortgage_payment\", \"arguments\": {\"loan_amount\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_invoice\", \"description\": \"Generate an invoice for a given transaction\", \"parameters\": {\"type\": \"object\", \"properties\": {\"transaction_details\": {\"type\": \"object\", \"properties\": {\"transaction_id\": {\"type\": \"string\", \"description\": \"The unique identifier for the transaction\"}, \"amount\": {\"type\": \"number\", \"description\": \"The transaction amount\"}, \"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"items\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The items included in the transaction\"}}, \"required\": [\"transaction_id\", \"amount\", \"customer_name\", \"items\"]}}, \"required\": [\"transaction_details\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The transaction ID is 12345, the amount is $200, my name is John Doe, and the items are a laptop and a mouse."}], "chosen": "[{\"name\": \"generate_invoice\", \"arguments\": {\"transaction_details\": {\"transaction_id\": \"12345\", \"amount\": 200, \"customer_name\": \"John Doe\", \"items\": [\"laptop\", \"mouse\"]}}}]", "rejected": " {\"name\": \"generate_invoice\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_recipe\", \"description\": \"Find a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients available\"}, \"dietary_restrictions\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Any dietary restrictions\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have some chicken, broccoli, and cheese. Can you find me a recipe? I'm on a low-carb diet."}], "chosen": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"]}}]", "rejected": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"], \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly loan payment based on the loan amount, interest rate, and duration\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The loan duration in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"duration\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $50000, the annual interest rate is 5.5%, and the duration is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5.5, \"duration\": 60}}]", "rejected": " {\"name\": \"calculate_loan_payment\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_random_quote\", \"description\": \"Generate a random inspirational quote\", \"parameters\": {}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I'm feeling a bit down today. Can you share something inspiring?"}], "chosen": "[{\"name\": \"generate_random_quote\", \"arguments\": {}}]", "rejected": "Of course! Let me find a motivational quote for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_discounted_price\", \"description\": \"Calculate the discounted price\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the item\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The percentage discount\"}, \"tax_percentage\": {\"type\": \"number\", \"description\": \"The percentage tax\"}}, \"required\": [\"original_price\", \"discount_percentage\", \"tax_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I want to buy a laptop that costs $1000. There's a 20% discount on it and the tax is 5%. Can you tell me how much I will have to pay?"}], "chosen": "[{\"name\": \"calculate_discounted_price\", \"arguments\": {\"original_price\": 1000, \"discount_percentage\": 20, \"tax_percentage\": 5}}]", "rejected": " {\"name\": \"calculate_discounted_price\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_playlist\", \"description\": \"Create a new music playlist\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"description\": \"The name of the playlist\"}, \"songs\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The list of songs in the playlist\"}}, \"required\": [\"name\", \"songs\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, let's name it \"Gym Beats\". And for the songs, I'd like to add \"Eye of the Tiger\", \"Lose Yourself\", and \"Stronger\"."}], "chosen": "[{\"name\": \"create_playlist\", \"arguments\": {\"name\": \"Gym Beats\", \"songs\": [\"Eye of the Tiger\", \"Lose Yourself\", \"Stronger\"]}}]", "rejected": "[{\"name\": \"create_playlist\", \"arguments\": {\"name\": \"Gym Beats\", \"songs\": [\"Eye of the Tiger\", \"Lose Yourself\", \"Stronger\"]}}, {\"name\": \"create_playlist\", \"arguments\": {\"name\": \"Gym Beats\", \"songs\": [\"Eye of the Tiger\", \"Lose Yourself\", \"Stronger\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount based on income and tax rate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"income\": {\"type\": \"number\", \"description\": \"The annual income\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate as a decimal\"}}, \"required\": [\"income\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate my tax. My annual income is $75,000 and the tax rate is 0.25. Can you help me with that?"}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"income\": 75000, \"tax_rate\": 0.25}}]", "rejected": "Sure, I can help you with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_stock_availability\", \"description\": \"Check the availability of a product in stock\", \"parameters\": {\"type\": \"object\", \"properties\": {\"product_id\": {\"type\": \"string\", \"description\": \"The unique identifier of the product\"}}, \"required\": [\"product_id\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to know if the product with id 'P1234' is available in stock?"}], "chosen": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\"}}]", "rejected": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\", \"extra_flag\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_percentage\", \"description\": \"Calculate the percentage of a value\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\", \"description\": \"The value to calculate the percentage of\"}, \"percentage\": {\"type\": \"number\", \"description\": \"The percentage value\"}}, \"required\": [\"value\", \"percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate 15% of 200. Can you help me with that?"}], "chosen": "Sure, I can help you with that. Let me calculate it for you. <|endoftext|>", "rejected": "[{\"name\": \"calculate_percentage\", \"arguments\": {\"percentage\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_book\", \"description\": \"Search for a book in a library catalog\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the book\"}, \"author\": {\"type\": \"string\", \"description\": \"The author of the book\"}}, \"required\": [\"title\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am looking for a book but I can't remember the author's name. The title is \"To Kill a Mockingbird\"."}], "chosen": "[{\"name\": \"search_book\", \"arguments\": {\"title\": \"To Kill a Mockingbird\"}}]", "rejected": "[{\"name\": \"search_book\", \"arguments\": {\"title\": \"To Kill a Mockingbird\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"validate_email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"find_files\", \"description\": \"Finds all files with a specific extension in a directory and its subdirectories.\", \"parameters\": {\"directory\": {\"description\": \"The directory to search in.\", \"type\": \"str\"}, \"extension\": {\"description\": \"The file extension to search for.\", \"type\": \"str\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Generate a random string of length 20 containing all character types, and check if it is a subset of the set of all printable ASCII characters."}], "chosen": "[{\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "rejected": "[{\"name\": \"find_longest_word\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_recipe\", \"description\": \"Search for recipes based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients for the recipe\"}}, \"required\": [\"ingredients\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have some chicken, bell peppers and onions. Can you find a recipe for me?"}], "chosen": "[{\"name\": \"search_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"bell peppers\", \"onions\"]}}]", "rejected": " {\"name\": \"search_recipe\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"query_for_ldu_boundary_by_h3index\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"dna2aminoacid\", \"description\": \"Transforms a DNA sequence into a sequence of Amino Acids using the RapidAPI dna2protein service.\", \"parameters\": {\"dna\": {\"description\": \"The DNA sequence to be transformed into Amino Acids.\", \"type\": \"str\", \"default\": \"TACAAAGGCTAACGTCCTAGAGCTATT\"}}}, {\"name\": \"search\", \"description\": \"Searches for the given query using the CrossRef API and returns the results.\", \"parameters\": {\"query\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"blood\"}}}, {\"name\": \"search_for_a_word_in_quran\", \"description\": \"Search for a given keyword in the English translation of the Quran and return the verses containing the keyword and total matches in JSON format.\", \"parameters\": {\"searchterm\": {\"description\": \"The keyword or phrase to search for in the Quran.\", \"type\": \"str\", \"default\": \"muhammad\"}}}, {\"name\": \"nitrous_endpoint\", \"description\": \"Sends a GET request to the Nitrous Oxide API and returns the response data.\", \"parameters\": {\"nitrous\": {\"description\": \"An optional query parameter to filter the results based on nitrous oxide levels.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"traditionalhydrotocarbonfootprint\", \"description\": \"Calculates the CO2 equivalent (CO2e) emissions from the use of traditional hydroelectric power based on consumption and location.\", \"parameters\": {\"consumption\": {\"description\": \"The KWH usage of hydroelectric power.\", \"type\": \"str\", \"default\": \"500\"}, \"location\": {\"description\": \"The country or continent providing the hydroelectric power. Can be one of \\\"USA\\\", \\\"Canada\\\", \\\"UK\\\", \\\"Europe\\\", \\\"Africa\\\", \\\"LatinAmerica\\\", \\\"MiddleEast\\\", or \\\"OtherCountry\\\".\", \"type\": \"str\", \"default\": \"UK\"}}}, {\"name\": \"v1_planets\", \"description\": \"Fetch a list of planets that match the specified parameters. The results are limited to a maximum of 30; use the `offset` parameter for pagination to access more results.\", \"parameters\": {\"max_period\": {\"description\": \"Maximum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_temperature\": {\"description\": \"Maximum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to offset for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_distance_light_year\": {\"description\": \"Minimum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_mass\": {\"description\": \"Maximum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_semi_major_axis\": {\"description\": \"Maximum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_mass\": {\"description\": \"Minimum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_semi_major_axis\": {\"description\": \"Minimum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the planet. Defaults to 'Mars'.\", \"type\": \"str, optional\", \"default\": \"Mars\"}, \"min_temperature\": {\"description\": \"Minimum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_radius\": {\"description\": \"Maximum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_radius\": {\"description\": \"Minimum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_period\": {\"description\": \"Minimum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"evaluate\", \"description\": \"Evaluates a mathematical expression using the given variables and their values through the RapidAPI service.\", \"parameters\": {\"variables\": {\"description\": \"A comma-separated string listing the variables used in the expression.\", \"type\": \"str\", \"default\": \"\"}, \"values\": {\"description\": \"A comma-separated string listing the values corresponding to the variables.\", \"type\": \"str\", \"default\": \"\"}, \"expression\": {\"description\": \"The mathematical expression to be evaluated.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"v1_stars\", \"description\": \"Fetches a list of stars matching specified parameters with a maximum of 30 results per request. To access more than 30 results, use the offset parameter to paginate through multiple API calls.\", \"parameters\": {\"min_distance_light_year\": {\"description\": \"Minimum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_apparent_magnitude\": {\"description\": \"Minimum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"constellation\": {\"description\": \"Identifier of the constellation the star belongs to.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_apparent_magnitude\": {\"description\": \"Maximum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to skip for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the star. Note that many star names contain Greek characters. Default is 'vega'.\", \"type\": \"str, optional\", \"default\": \"vega\"}, \"max_absolute_magnitude\": {\"description\": \"Maximum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_absolute_magnitude\": {\"description\": \"Minimum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the stars visible from Earth with a minimum absolute magnitude of 2 and a maximum distance of 100 light years? Also, what planets have a maximum temperature of 400 Kelvin?"}], "chosen": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"v1_planets\", \"arguments\": {\"max_temperature\": 400}}]", "rejected": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"search_for_a_word_in_quran\", \"arguments\": {\"max_temperature\": 400}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_upcoming_events\", \"description\": \"Get a list of upcoming events based on user's preferences\", \"parameters\": {\"type\": \"object\", \"properties\": {\"interests\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The user's interests to filter the events\"}, \"location\": {\"type\": \"string\", \"description\": \"The location to search for events\"}}, \"required\": [\"interests\", \"location\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am interested in music and food festivals. Can you find any upcoming events in New York?"}], "chosen": "[{\"name\": \"get_upcoming_events\", \"arguments\": {\"interests\": [\"music\", \"food\"], \"location\": \"New York\"}}]", "rejected": "Sure, let me find that information for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The email address is boss@company.com. The subject should be \"Meeting Agenda for Tomorrow\". And in the body, write \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}]", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly loan payment based on the loan amount, interest rate, and duration\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The loan duration in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"duration\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $50000, the annual interest rate is 5.5%, and the duration is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5.5, \"duration\": 60}}]", "rejected": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 7.0, \"duration\": 60}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"analyze_website_traffic\", \"description\": \"Analyze the traffic and performance of a website\", \"parameters\": {\"type\": \"object\", \"properties\": {\"website_url\": {\"type\": \"string\", \"description\": \"The URL of the website\"}, \"analyze_visitors\": {\"type\": \"boolean\", \"description\": \"Whether to analyze visitor demographics\"}, \"analyze_conversion\": {\"type\": \"boolean\", \"description\": \"Whether to analyze conversion rates\"}}, \"required\": [\"website_url\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great. Can you also help me to update the content of my website?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as updating the content of your website. I recommend contacting a web developer or using a content management system for this task. <|endoftext|>", "rejected": "[{\"name\": \"analyze_website_traffic\", \"arguments\": {\"website_url\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_calories_burned\", \"description\": \"Calculate the calories burned during physical activity\", \"parameters\": {\"type\": \"object\", \"properties\": {\"activity\": {\"type\": \"string\", \"description\": \"The type of physical activity\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The duration of the activity in minutes\"}, \"weight\": {\"type\": \"number\", \"description\": \"The weight of the person in kilograms\"}}, \"required\": [\"activity\", \"duration\", \"weight\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! What about if I did a 30 minutes swimming session instead?"}], "chosen": "[{\"name\": \"calculate_calories_burned\", \"arguments\": {\"activity\": \"swimming\", \"duration\": 30, \"weight\": 70}}]", "rejected": "[{\"name\": \"calculate_calories_burned\", \"arguments\": {\"activity\": \"swimming_changed\", \"duration\": 30, \"weight\": 70}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_account\", \"description\": \"Create a new user account\", \"parameters\": {\"type\": \"object\", \"properties\": {\"username\": {\"type\": \"string\", \"description\": \"Username for account\"}, \"password\": {\"type\": \"string\", \"description\": \"Password for account\"}, \"email\": {\"type\": \"string\", \"description\": \"Email address for account\"}}, \"required\": [\"username\", \"password\", \"email\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I want my username to be \"JohnDoe\", password to be \"password123\" and email to be \"johndoe@example.com\"."}], "chosen": "[{\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com\"}}]", "rejected": "[{\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_mortgage_payment\", \"description\": \"Calculate the monthly mortgage payment for a property\", \"parameters\": {\"type\": \"object\", \"properties\": {\"property_value\": {\"type\": \"number\", \"description\": \"The value of the property\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in years\"}}, \"required\": [\"property_value\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The property value is $300,000. The interest rate is 3.5% and the loan term is 30 years."}], "chosen": "[{\"name\": \"calculate_mortgage_payment\", \"arguments\": {\"property_value\": 300000, \"interest_rate\": 3.5, \"loan_term\": 30}}]", "rejected": "[{\"name\": \"calculate_mortgage_payment\", \"arguments\": {\"property_value\": 300000, \"interest_rate\": 5.0, \"loan_term\": 30}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"product_offers\", \"description\": \"Fetches a list of offers for a specific product on Amazon based on the given ASIN.\", \"parameters\": {\"asin\": {\"description\": \"Product ASIN to get offers for. Supports batching up to 10 ASINs in a single request, separated by a comma (e.g., 'B08PPDJWC8,B07ZPKBL9V,B08BHXG144').\", \"type\": \"str\", \"default\": \"B07ZPKBL9V\"}, \"delivery\": {\"description\": \"[EXPERIMENTAL] Find products with specific delivery options, specified as a comma-delimited list. Valid values: 'PRIME_ELIGIBLE', 'FREE_DELIVERY'. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of offers to return. Default is 100.\", \"type\": \"int, optional\", \"default\": \"100\"}, \"product_condition\": {\"description\": \"Filter products by condition, specified as a comma-delimited list. Valid values: 'NEW', 'USED_LIKE_NEW', 'USED_VERY_GOOD', 'USED_GOOD', 'USED_ACCEPTABLE'. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"Sets the marketplace country, language, and currency. Allowed values: 'US', 'AU', 'BR', 'CA', 'CN', 'FR', 'DE', 'IN', 'IT', 'MX', 'NL', 'SG', 'ES', 'TR', 'AE', 'GB', 'JP'. Default is 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"product_data\", \"description\": \"Fetches detailed information about a specific product from the Ecommerce Product API.\", \"parameters\": {\"product\": {\"description\": \"The name of the product to retrieve information for.\", \"type\": \"str\", \"default\": \"phone\"}, \"page\": {\"description\": \"The page number for paginated results. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"product_reviews\", \"description\": \"Fetches and paginates through product reviews on Amazon for a given product.\", \"parameters\": {\"asin\": {\"description\": \"Product ASIN for which to get reviews.\", \"type\": \"str\", \"default\": \"B07ZPKN6YR\"}, \"query\": {\"description\": \"Search query to filter reviews.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sort_by\": {\"description\": \"Sort order for reviews. Default is `TOP_REVIEWS`. Allowed values are `TOP_REVIEWS`, `MOST_RECENT`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"verified_purchases_only\": {\"description\": \"Only return reviews by reviewers who made a verified purchase.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"page_size\": {\"description\": \"Number of reviews to return per page. Allowed values range from `1` to `20`. Default is `10`.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"page\": {\"description\": \"Page number of results to return. Default is `1`.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"star_rating\": {\"description\": \"Filter reviews by star rating. Default is `ALL`. Allowed values are `ALL`, `5_STARS`, `4_STARS`, `3_STARS`, `2_STARS`, `1_STARS`, `POSITIVE`, `CRITICAL`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"images_or_videos_only\": {\"description\": \"Only return reviews containing images and/or videos.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"country\": {\"description\": \"Marketplace country, language, and currency. Default is `US`. Allowed values are `US`, `AU`, `BR`, `CA`, `CN`, `FR`, `DE`, `IN`, `IT`, `MX`, `NL`, `SG`, `ES`, `TR`, `AE`, `GB`, `JP`.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"getproducts\", \"description\": \"Search for products by name and retrieves newly added items from various sources.\", \"parameters\": {\"query\": {\"description\": \"The search query for the products.\", \"type\": \"str\", \"default\": \"ipone 14 256Gb\"}, \"page\": {\"description\": \"The page number to retrieve.\", \"type\": \"int\", \"default\": \"1\"}, \"country\": {\"description\": \"The country code to filter the search results. Defaults to 'countryUS'.\", \"type\": \"str, optional\", \"default\": \"countryUS\"}, \"location\": {\"description\": \"The location to filter the search results. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}, \"lang\": {\"description\": \"The language code to filter the search results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"period\": {\"description\": \"The period in days to filter newly added items. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Reviews for ASIN B08BHXG144, sorted by top reviews, only verified purchases, and only reviews with 4 stars."}], "chosen": "[{\"name\": \"product_reviews\", \"arguments\": {\"asin\": \"B08BHXG144\", \"sort_by\": \"TOP_REVIEWS\", \"verified_purchases_only\": true, \"star_rating\": \"4_STARS\"}}]", "rejected": "call is needed, simply state \"No function call needed.\"\r\n\r\n(**kwargs)", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the recipient's email is boss@example.com. The subject is \"Project Update\", and the body is \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}]", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}, {\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_rental_price\", \"description\": \"Calculate the rental price based on property details and duration\", \"parameters\": {\"type\": \"object\", \"properties\": {\"property_details\": {\"type\": \"object\", \"description\": \"The details of the property\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The duration of rental in days\"}}, \"required\": [\"property_details\", \"duration\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The property is a 2 bedroom apartment in downtown Manhattan. I plan to rent it for 30 days."}], "chosen": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30}}]", "rejected": " {\"name\": \"calculate_rental_price\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The total amount of the bill\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage tip to give\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 20% tip. Can you tell me how much that would be?"}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20}}]", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 27}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"get_birthday_draws\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_username\", \"description\": \"Generate a unique username\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"description\": \"The user's name\"}, \"birthdate\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The user's birthdate in yyyy-mm-dd format\"}}, \"required\": [\"name\", \"birthdate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a new username. My name is John and I was born on 1990-05-15."}], "chosen": "[{\"name\": \"generate_username\", \"arguments\": {\"name\": \"John\", \"birthdate\": \"1990-05-15\"}}]", "rejected": "Sure, let me generate a unique username for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"subtotal\": {\"type\": \"number\", \"description\": \"The subtotal amount\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate\"}}, \"required\": [\"subtotal\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the tax for a subtotal of $500 with a tax rate of 5%. Can you help me with that?"}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05}}]", "rejected": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05, \"extra_ctx\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_stock_prices\", \"description\": \"Get the current stock prices\", \"parameters\": {\"type\": \"object\", \"properties\": {\"stocks\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The stocks for which prices will be retrieved\"}}, \"required\": [\"stocks\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you tell me the current stock prices for Apple, Microsoft and Amazon?"}], "chosen": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"]}}]", "rejected": " {\"name\": \"get_stock_prices\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_calendar_event\", \"description\": \"Create a new calendar event\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the event\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the event\"}, \"time\": {\"type\": \"string\", \"description\": \"The time of the event\"}}, \"required\": [\"title\", \"date\", \"time\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Team Meeting\", the date is 15th March and the time is 10:00 AM."}], "chosen": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"title\": \"Team Meeting\", \"date\": \"15th March\", \"time\": \"10:00 AM\"}}]", "rejected": " {\"name\": \"create_calendar_event\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a given bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The tip percentage\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the tip for my bill. The total amount is $50 and I want to leave a 15% tip."}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 15}}]", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 15, \"extra_flag\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_barcode\", \"description\": \"Generate a barcode image\", \"parameters\": {\"type\": \"object\", \"properties\": {\"data\": {\"type\": \"string\", \"description\": \"The data to be encoded in the barcode\"}, \"format\": {\"type\": \"string\", \"description\": \"The barcode format (e.g. QR code, UPC)\"}}, \"required\": [\"data\", \"format\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a barcode for my new product. The data is \"1234567890\" and I want it in QR code format."}], "chosen": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\"}}]", "rejected": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\", \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"track_order\", \"description\": \"Track the status of an order\", \"parameters\": {\"type\": \"object\", \"properties\": {\"order_id\": {\"type\": \"string\", \"description\": \"ID of the order\"}}, \"required\": [\"order_id\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I would like to track my order. The order ID is 12345."}], "chosen": "[{\"name\": \"track_order\", \"arguments\": {\"order_id\": \"12345\"}}]", "rejected": "[{\"name\": \"track_order\", \"arguments\": {\"order_id\": \"12345_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_movie_details\", \"description\": \"Get details of a movie\", \"parameters\": {\"type\": \"object\", \"properties\": {\"movie_title\": {\"type\": \"string\", \"description\": \"The title of the movie\"}}, \"required\": [\"movie_title\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you please order a pizza for me?"}], "chosen": "I'm sorry, but I can't assist with that. My current capabilities allow me to provide information about movies based on their titles. I don't have the ability to place orders or perform external tasks. <|endoftext|>", "rejected": "[{\"name\": \"get_movie_details\", \"arguments\": {\"movie_title\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_emis\", \"description\": \"Calculate monthly loan EMIs (Equated Monthly Installments)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am planning to take a loan of $50000 at an interest rate of 5% per annum. I want to repay it in 5 years. Can you help me calculate the monthly EMI?"}], "chosen": "[{\"name\": \"calculate_loan_emis\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": "[{\"name\": \"calculate_loan_emis\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60, \"extra_flag\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "[{\"name\": \"search\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"book_flight\", \"description\": \"Book a flight\", \"parameters\": {\"type\": \"object\", \"properties\": {\"origin\": {\"type\": \"string\", \"description\": \"The origin airport\"}, \"destination\": {\"type\": \"string\", \"description\": \"The destination airport\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the flight\"}}, \"required\": [\"origin\", \"destination\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, I want to fly from New York to London on the 15th of next month."}], "chosen": "[{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}]", "rejected": "[{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}, {\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_restaurants\", \"description\": \"Search for restaurants based on a query\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"The search query\"}, \"cuisine\": {\"type\": \"string\", \"description\": \"The cuisine type\"}, \"location\": {\"type\": \"string\", \"description\": \"The location of the restaurants\"}}, \"required\": [\"query\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I'm looking for a good Italian restaurant in New York. Can you help me?"}], "chosen": "[{\"name\": \"search_restaurants\", \"arguments\": {\"query\": \"good Italian restaurant\", \"cuisine\": \"Italian\", \"location\": \"New York\"}}]", "rejected": "[{\"name\": \"search_restaurants\", \"arguments\": {\"query\": \"good Italian restaurant\", \"cuisine\": \"Italian\", \"location\": \"New York\"}}, {\"name\": \"search_restaurants\", \"arguments\": {\"query\": \"good Italian restaurant\", \"cuisine\": \"Italian\", \"location\": \"New York\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "[{\"name\": \"crimes_at_location\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"lookup_coordinates\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_stock_prices\", \"description\": \"Get the current stock prices\", \"parameters\": {\"type\": \"object\", \"properties\": {\"stocks\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The stocks for which prices will be retrieved\"}}, \"required\": [\"stocks\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you tell me the current stock prices for Apple, Microsoft and Amazon?"}], "chosen": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"]}}]", "rejected": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\", \"x\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_repayment\", \"description\": \"Calculate the monthly repayment amount for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The total loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in years\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great, thank you. Can you also help me book a flight to New York?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as booking flights. I suggest using a trusted travel booking website or contacting your travel agent for assistance. <|endoftext|>", "rejected": "[{\"name\": \"calculate_loan_repayment\", \"arguments\": {\"loan_amount\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_gpa\", \"description\": \"Calculate the GPA based on grades and credits\", \"parameters\": {\"type\": \"object\", \"properties\": {\"grades\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The grades for each course\"}, \"credits\": {\"type\": \"array\", \"items\": {\"type\": \"number\"}, \"description\": \"The number of credits for each course\"}}, \"required\": [\"grades\", \"credits\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Okay, here they are. My grades are [\"A\", \"B\", \"A-\", \"B+\", \"A\"] and the corresponding credits are [3, 4, 3, 2, 3]."}], "chosen": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3]}}]", "rejected": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3], \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"book_flight\", \"description\": \"Book a flight ticket\", \"parameters\": {\"type\": \"object\", \"properties\": {\"origin\": {\"type\": \"string\", \"description\": \"The origin airport\"}, \"destination\": {\"type\": \"string\", \"description\": \"The destination airport\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the flight\"}}, \"required\": [\"origin\", \"destination\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to book a flight from New York to London on 15th of next month."}], "chosen": "[{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}]", "rejected": "[{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a specified recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body content of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great! Now, can you also book a table for two at my favorite restaurant for dinner tonight?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to book a table at a restaurant. My current functions only allow me to send emails. I recommend using a restaurant reservation app or website for this task. <|endoftext|>", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"subject\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"convert_currency\", \"description\": \"Convert currency from one unit to another\", \"parameters\": {\"type\": \"object\", \"properties\": {\"amount\": {\"type\": \"number\", \"description\": \"The amount to be converted\"}, \"from_currency\": {\"type\": \"string\", \"description\": \"The original currency unit\"}, \"to_currency\": {\"type\": \"string\", \"description\": \"The desired currency unit\"}}, \"required\": [\"amount\", \"from_currency\", \"to_currency\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to convert 5000 USD to Euros. Can you help me with that?"}], "chosen": "[{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 5000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}}]", "rejected": "[{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 5000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}}, {\"name\": \"convert_currency\", \"arguments\": {\"amount\": 5000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a given bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The total bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage of tip to be given\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating the tip for my bill. The total amount is $150 and I want to give a 15% tip."}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 150, \"tip_percentage\": 15}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payments\", \"description\": \"Calculate the monthly loan payments\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate of the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $50000, the interest rate is 5% and the term is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}, {\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "parameters\": {\"dataId\": {\"description\": \"The unique identifier for the place.\", \"type\": \"str\", \"default\": \"12345\"}}}]\n\nAssistantSure, I can help with that. Could you please provide me with the specific URL you want to fetch data from?", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the recipient's email is boss@example.com. The subject is \"Project Update\", and the body is \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}]", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\", \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_todo\", \"description\": \"Create a new todo item\", \"parameters\": {\"type\": \"object\", \"properties\": {\"task\": {\"type\": \"string\", \"description\": \"Description of the task\"}, \"due_date\": {\"type\": \"string\", \"description\": \"Due date of the task\"}, \"priority\": {\"type\": \"string\", \"description\": \"Priority level of the task\"}}, \"required\": [\"task\", \"due_date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The task is to complete the project report. The due date is next Friday and it's a high priority task."}], "chosen": "[{\"name\": \"create_todo\", \"arguments\": {\"task\": \"Complete the project report\", \"due_date\": \"next Friday\", \"priority\": \"High\"}}]", "rejected": "[{\"name\": \"create_todo\", \"arguments\": {\"task\": \"Complete the project report\", \"due_date\": \"next Friday\", \"priority\": \"High\"}}, {\"name\": \"create_todo\", \"arguments\": {\"task\": \"Complete the project report\", \"due_date\": \"next Friday\", \"priority\": \"High\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_book\", \"description\": \"Search for a book\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the book\"}, \"author\": {\"type\": \"string\", \"description\": \"The author of the book\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the book\"}}, \"required\": [\"title\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Yes, it was \"1984\". Thanks for your help. Can you also order this book for me?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as placing orders. I recommend you to visit a bookstore or an online marketplace to purchase the book. <|endoftext|>", "rejected": "[{\"name\": \"search_book\", \"arguments\": {\"title\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two points\", \"parameters\": {\"type\": \"object\", \"properties\": {\"point1\": {\"type\": \"object\", \"description\": \"The coordinates of the first point\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of the first point\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of the first point\"}}}, \"point2\": {\"type\": \"object\", \"description\": \"The coordinates of the second point\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of the second point\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of the second point\"}}}}, \"required\": [\"point1\", \"point2\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the distance between two points. The coordinates of the first point are (3, 4) and the coordinates of the second point are (7, 1)."}], "chosen": "[{\"name\": \"calculate_distance\", \"arguments\": {\"point1\": {\"x\": 3, \"y\": 4}, \"point2\": {\"x\": 7, \"y\": 1}}}]", "rejected": "[{\"name\": \"calculate_distance\", \"arguments\": {\"point1\": {\"x\": 3, \"y\": 4}, \"point2\": \"changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The recipient's email is boss@company.com. The subject is \"Project Update\" and the body is \"Dear Boss, The project is on track and we are set to complete it by the end of this month. Regards, User\"."}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, The project is on track and we are set to complete it by the end of this month. Regards, User\"}}]", "rejected": " {\"name\": \"send_email\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_jobs\", \"description\": \"Search for job postings based on given criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for\"}, \"location\": {\"type\": \"string\", \"description\": \"The location to search for jobs\"}, \"job_type\": {\"type\": \"string\", \"description\": \"The type of job\"}}, \"required\": []}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can you also book a flight for me to San Francisco?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to book flights. My primary function is to provide information based on the functions available to me. Currently, I can assist you with job searches. For booking flights, you might want to use a travel booking website or app. <|endoftext|>", "rejected": "[{\"name\": \"search_jobs\", \"arguments\": {\"job_type\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_qr_code\", \"description\": \"Generate a QR code for the given data\", \"parameters\": {\"type\": \"object\", \"properties\": {\"data\": {\"type\": \"string\", \"description\": \"The data to encode in the QR code\"}, \"size\": {\"type\": \"integer\", \"description\": \"The size of the QR code image\"}}, \"required\": [\"data\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great, thank you! Can you also generate a larger QR code?"}], "chosen": "Of course, could you please specify the size you want for the QR code? <|endoftext|>", "rejected": "[{\"name\": \"generate_qr_code\", \"arguments\": {\"data\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_discount\", \"description\": \"Calculate the discount on a product\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the product\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The percentage discount on the product\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I saw a dress that I liked in a store. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much I will have to pay for it?"}], "chosen": "[{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 200, \"discount_percentage\": 20}}]", "rejected": "Sure, let me calculate that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_images\", \"description\": \"Search for images based on keywords\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for\"}, \"color\": {\"type\": \"string\", \"description\": \"The color preference for images\"}}, \"required\": [\"keywords\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need some images of sunsets. Can you find them for me?"}], "chosen": "[{\"name\": \"search_images\", \"arguments\": {\"keywords\": [\"sunset\"]}}]", "rejected": "Of course, I can help with that. Do you have any specific color preferences for these images?", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_random_password\", \"description\": \"Generate a random password with specific length and criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}, \"include_uppercase\": {\"type\": \"boolean\", \"description\": \"Include uppercase letters in the password\"}, \"include_lowercase\": {\"type\": \"boolean\", \"description\": \"Include lowercase letters in the password\"}, \"include_numbers\": {\"type\": \"boolean\", \"description\": \"Include numbers in the password\"}, \"include_symbols\": {\"type\": \"boolean\", \"description\": \"Include symbols in the password\"}}, \"required\": [\"length\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I would like a 12 character password with uppercase letters, lowercase letters, and numbers. No symbols please."}], "chosen": "[{\"name\": \"generate_random_password\", \"arguments\": {\"length\": 12, \"include_uppercase\": true, \"include_lowercase\": true, \"include_numbers\": true, \"include_symbols\": false}}]", "rejected": " {\"name\": \"generate_random_password\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_calendar_event\", \"description\": \"Create a new calendar event\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the event\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the event\"}, \"time\": {\"type\": \"string\", \"description\": \"The time of the event\"}}, \"required\": [\"title\", \"date\", \"time\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Team Meeting\", the date is 15th March and the time is 10:00 AM."}], "chosen": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"title\": \"Team Meeting\", \"date\": \"15th March\", \"time\": \"10:00 AM\"}}]", "rejected": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"title\": \"Team Meeting_changed\", \"date\": \"15th March\", \"time\": \"10:00 AM\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_invoice\", \"description\": \"Create an invoice for a customer\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"amount\": {\"type\": \"number\", \"description\": \"The amount to be charged\"}, \"due_date\": {\"type\": \"string\", \"description\": \"The due date of the invoice\"}}, \"required\": [\"customer_name\", \"amount\", \"due_date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can I also create an invoice for another customer, Jane Smith, for $1000 due on 20th March?"}], "chosen": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\"}}]", "rejected": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\", \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_news_articles\", \"description\": \"Get the latest news articles\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of news articles to retrieve\"}, \"language\": {\"type\": \"string\", \"description\": \"The language of the news articles\"}}, \"required\": [\"category\", \"language\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can you also book me a table for two at a nearby Italian restaurant?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to book tables at restaurants. My current functions only allow me to fetch the latest news articles. You might want to use a different service or app for restaurant reservations. <|endoftext|>", "rejected": "[{\"name\": \"get_news_articles\", \"arguments\": {\"language\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_flight_status\", \"description\": \"Check the status of a flight\", \"parameters\": {\"type\": \"object\", \"properties\": {\"flight_number\": {\"type\": \"string\", \"description\": \"The flight number\"}, \"date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The date of the flight\"}, \"airline\": {\"type\": \"string\", \"description\": \"The airline of the flight\"}}, \"required\": [\"flight_number\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to check the status of my flight. It's BA 2156 on 2022-03-25."}], "chosen": "[{\"name\": \"check_flight_status\", \"arguments\": {\"flight_number\": \"BA 2156\", \"date\": \"2022-03-25\"}}]", "rejected": "Sure, let me check that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_password\", \"description\": \"Generate a random password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}, \"include_uppercase\": {\"type\": \"boolean\", \"description\": \"Include uppercase letters in the password\"}, \"include_numbers\": {\"type\": \"boolean\", \"description\": \"Include numbers in the password\"}, \"include_symbols\": {\"type\": \"boolean\", \"description\": \"Include symbols in the password\"}}, \"required\": [\"length\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I would like it to be 12 characters long and include uppercase letters, numbers, and symbols."}], "chosen": "[{\"name\": \"generate_password\", \"arguments\": {\"length\": 12, \"include_uppercase\": true, \"include_numbers\": true, \"include_symbols\": true}}]", "rejected": " {\"name\": \"generate_password\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The email address is boss@company.com. The subject should be \"Meeting Agenda for Tomorrow\". And in the body, write \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}]", "rejected": " {\"name\": \"send_email\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the amount of tax to be paid\", \"parameters\": {\"type\": \"object\", \"properties\": {\"income\": {\"type\": \"number\", \"description\": \"The annual income\"}, \"deductions\": {\"type\": \"number\", \"description\": \"The total deductions\"}}, \"required\": [\"income\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating my tax. My annual income is $80,000 and I have $10,000 in deductions."}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"income\": 80000, \"deductions\": 10000}}]", "rejected": "[{\"name\": \"calculate_tax\", \"arguments\": {\"income\": 80000, \"deductions\": 10000}}, {\"name\": \"calculate_tax\", \"arguments\": {\"income\": 80000, \"deductions\": 10000}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a restaurant bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The total bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage of tip to give\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating the tip for my restaurant bill. The total bill is $85 and I want to leave a 15% tip."}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 85, \"tip_percentage\": 15}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_website_availability\", \"description\": \"Check if a website is available\", \"parameters\": {\"type\": \"object\", \"properties\": {\"website\": {\"type\": \"string\", \"description\": \"The website URL\"}}, \"required\": [\"website\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, can you help me check if a website is available?"}], "chosen": "Of course, I can help with that. Please provide me with the URL of the website you want to check. <|endoftext|>", "rejected": "[{\"name\": \"check_website_availability\", \"arguments\": {\"website\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"reversegeocode\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"upload_file\", \"description\": \"Upload a file to a specified destination\", \"parameters\": {\"type\": \"object\", \"properties\": {\"file_path\": {\"type\": \"string\", \"description\": \"The path of the file to be uploaded\"}, \"destination\": {\"type\": \"string\", \"description\": \"The destination where the file should be uploaded\"}}, \"required\": [\"file_path\", \"destination\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the file path is C:/Users/JohnDoe/Documents/Report.pdf and I want to upload it to my Google Drive."}], "chosen": "[{\"name\": \"upload_file\", \"arguments\": {\"file_path\": \"C:/Users/JohnDoe/Documents/Report.pdf\", \"destination\": \"Google Drive\"}}]", "rejected": " {\"name\": \"upload_file\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_notes\", \"description\": \"Get the user's notes\", \"parameters\": {}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, can you please book a flight for me?"}], "chosen": "I'm sorry, but I'm unable to assist with that. My current capabilities are limited to retrieving your notes. I don't have a function to book flights or perform other external tasks. <|endoftext|>", "rejected": "[{\"name\": \"get_notes\", \"arguments\": {}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_news\", \"description\": \"Get the latest news articles\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of news (e.g., sports, technology, politics)\"}, \"country\": {\"type\": \"string\", \"description\": \"The country for which to retrieve news articles\"}}, \"required\": [\"category\", \"country\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I would like to know the latest news in technology from the United States."}], "chosen": "[{\"name\": \"get_news\", \"arguments\": {\"category\": \"technology\", \"country\": \"United States\"}}]", "rejected": "[{\"name\": \"get_news\", \"arguments\": {\"category\": \"technology\", \"country\": \"United States\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"domain\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payments\", \"description\": \"Calculate the monthly loan payments\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate of the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $50000, the interest rate is 5% and the term is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 12, \"loan_term\": 60}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_recipe\", \"description\": \"Search for a recipe by ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients to search for\"}}, \"required\": [\"ingredients\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have some chicken, tomatoes and garlic. Can you find me a recipe using these ingredients?"}], "chosen": "Sure, I can help with that. Let me find a recipe for you. <|endoftext|>", "rejected": "[{\"name\": \"search_recipe\", \"arguments\": {\"ingredients\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_movies\", \"description\": \"Search for movies based on keywords\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for\"}, \"genre\": {\"type\": \"string\", \"description\": \"The preferred genre\"}}, \"required\": [\"keywords\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I like action movies. And I would prefer if the movie has a theme of revenge."}], "chosen": "[{\"name\": \"search_movies\", \"arguments\": {\"keywords\": [\"revenge\"], \"genre\": \"action\"}}]", "rejected": "[{\"name\": \"search_movies\", \"arguments\": {\"keywords\": [\"revenge\"], \"genre\": \"action\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a specific recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"message\": {\"type\": \"string\", \"description\": \"The content of the email\"}}, \"required\": [\"recipient\", \"subject\", \"message\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to send an email to my colleague. Can you help me with that?"}], "chosen": "Of course, I can help you with that. Please provide me with the recipient's email address, the subject of the email, and the message you want to send. <|endoftext|>", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"subject\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_barcode\", \"description\": \"Generate a barcode image\", \"parameters\": {\"type\": \"object\", \"properties\": {\"data\": {\"type\": \"string\", \"description\": \"The data to be encoded in the barcode\"}, \"format\": {\"type\": \"string\", \"description\": \"The barcode format (e.g. QR code, UPC)\"}}, \"required\": [\"data\", \"format\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a barcode for my new product. The data is \"1234567890\" and I want it in QR code format."}], "chosen": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\"}}]", "rejected": "Sure, I can help with that. Let me generate the barcode for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_recipe\", \"description\": \"Get a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The available ingredients\"}, \"dietary_requirements\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The dietary requirements or restrictions\"}}, \"required\": [\"ingredients\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That sounds delicious! But I'm also lactose intolerant. Can you find a recipe without cheese?"}], "chosen": "[{\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"], \"dietary_requirements\": [\"lactose free\"]}}]", "rejected": "[{\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"], \"dietary_requirements\": [\"lactose free\"], \"extra_flag\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "[{\"name\": \"screenshot_endpoint\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_calendar_event\", \"description\": \"Create a new calendar event\", \"parameters\": {\"type\": \"object\", \"properties\": {\"event_title\": {\"type\": \"string\", \"description\": \"The title of the event\"}, \"event_date\": {\"type\": \"string\", \"description\": \"The date of the event\"}, \"event_time\": {\"type\": \"string\", \"description\": \"The time of the event\"}}, \"required\": [\"event_title\", \"event_date\", \"event_time\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Project Meeting\", the date is 15th June 2022 and the time is 10:00 AM."}], "chosen": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"event_title\": \"Project Meeting\", \"event_date\": \"15th June 2022\", \"event_time\": \"10:00 AM\"}}]", "rejected": " {\"name\": \"create_calendar_event\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"book_flight\", \"description\": \"Book a flight ticket\", \"parameters\": {\"type\": \"object\", \"properties\": {\"origin\": {\"type\": \"string\", \"description\": \"The origin airport\"}, \"destination\": {\"type\": \"string\", \"description\": \"The destination airport\"}, \"date\": {\"type\": \"string\", \"description\": \"The date of the flight\"}}, \"required\": [\"origin\", \"destination\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to book a flight from New York to London on 15th of next month."}], "chosen": "[{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}]", "rejected": "Sure, let me book that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The email address is boss@company.com. The subject should be \"Meeting Agenda for Tomorrow\". And in the body, write \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}]", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}, {\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@company.com\", \"subject\": \"Meeting Agenda for Tomorrow\", \"body\": \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Updates 2. Budget Allocation 3. Team Performance. Regards, [User's Name]\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"analyze_website\", \"description\": \"Analyze the content and structure of a website\", \"parameters\": {\"type\": \"object\", \"properties\": {\"url\": {\"type\": \"string\", \"description\": \"The URL of the website to be analyzed\"}}, \"required\": [\"url\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I want to understand the structure and content of a particular website. Can you help me with that?"}], "chosen": "Absolutely, I can help you analyze a website. Please provide me with the URL. <|endoftext|>", "rejected": "[{\"name\": \"analyze_website\", \"arguments\": {\"url\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_currency_exchange_rate\", \"description\": \"Get the current exchange rate between two currencies\", \"parameters\": {\"type\": \"object\", \"properties\": {\"from_currency\": {\"type\": \"string\", \"description\": \"The currency to convert from\"}, \"to_currency\": {\"type\": \"string\", \"description\": \"The currency to convert to\"}}, \"required\": [\"from_currency\", \"to_currency\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to know the current exchange rate from USD to EUR."}], "chosen": "[{\"name\": \"get_currency_exchange_rate\", \"arguments\": {\"from_currency\": \"USD\", \"to_currency\": \"EUR\"}}]", "rejected": "Sure, let me fetch that information for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_calendar_event\", \"description\": \"Create a new calendar event\", \"parameters\": {\"type\": \"object\", \"properties\": {\"event_title\": {\"type\": \"string\", \"description\": \"The title of the event\"}, \"event_date\": {\"type\": \"string\", \"description\": \"The date of the event\"}, \"event_time\": {\"type\": \"string\", \"description\": \"The time of the event\"}}, \"required\": [\"event_title\", \"event_date\", \"event_time\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Project Meeting\", the date is 15th June 2022 and the time is 10:00 AM."}], "chosen": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"event_title\": \"Project Meeting\", \"event_date\": \"15th June 2022\", \"event_time\": \"10:00 AM\"}}]", "rejected": "[{\"name\": \"create_calendar_event\", \"arguments\": {\"event_title\": \"Project Meeting\", \"event_date\": \"15th June 2022\", \"event_time\": \"10:00 AM\", \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_news\", \"description\": \"Get the latest news articles\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of news (e.g., sports, technology, politics)\"}, \"country\": {\"type\": \"string\", \"description\": \"The country for which to retrieve news articles\"}}, \"required\": [\"category\", \"country\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I would like to know the latest news in technology from the United States."}], "chosen": "[{\"name\": \"get_news\", \"arguments\": {\"category\": \"technology\", \"country\": \"United States\"}}]", "rejected": "Sure, let me fetch that information for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\", \"extra_ctx\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_mortgage_payment\", \"description\": \"Calculate the monthly mortgage payment\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $200,000, the interest rate is 3.5%, and the loan term is 360 months."}], "chosen": "[{\"name\": \"calculate_mortgage_payment\", \"arguments\": {\"loan_amount\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "rejected": " {\"name\": \"calculate_mortgage_payment\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"find_files\", \"description\": \"Finds all files with a specific extension in a directory and its subdirectories.\", \"parameters\": {\"directory\": {\"description\": \"The directory to search in.\", \"type\": \"str\"}, \"extension\": {\"description\": \"The file extension to search for.\", \"type\": \"str\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Generate a random string of length 20 containing all character types, and check if it is a subset of the set of all printable ASCII characters."}], "chosen": "[{\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "rejected": "[{\"name\": \"count_occurrences\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_movies\", \"description\": \"Search for movies based on keywords\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for\"}, \"genre\": {\"type\": \"string\", \"description\": \"The preferred genre\"}}, \"required\": [\"keywords\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I like action movies. And I would prefer if the movie has a theme of revenge."}], "chosen": "[{\"name\": \"search_movies\", \"arguments\": {\"keywords\": [\"revenge\"], \"genre\": \"action\"}}]", "rejected": " {\"name\": \"search_movies\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a given bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The total bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage of tip to be given\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating the tip for my bill. The total amount is $150 and I want to give a 15% tip."}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 150, \"tip_percentage\": 15}}]", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 150, \"tip_percentage\": 15, \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"dna2aminoacid\", \"description\": \"Transforms a DNA sequence into a sequence of Amino Acids using the RapidAPI dna2protein service.\", \"parameters\": {\"dna\": {\"description\": \"The DNA sequence to be transformed into Amino Acids.\", \"type\": \"str\", \"default\": \"TACAAAGGCTAACGTCCTAGAGCTATT\"}}}, {\"name\": \"search\", \"description\": \"Searches for the given query using the CrossRef API and returns the results.\", \"parameters\": {\"query\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"blood\"}}}, {\"name\": \"search_for_a_word_in_quran\", \"description\": \"Search for a given keyword in the English translation of the Quran and return the verses containing the keyword and total matches in JSON format.\", \"parameters\": {\"searchterm\": {\"description\": \"The keyword or phrase to search for in the Quran.\", \"type\": \"str\", \"default\": \"muhammad\"}}}, {\"name\": \"nitrous_endpoint\", \"description\": \"Sends a GET request to the Nitrous Oxide API and returns the response data.\", \"parameters\": {\"nitrous\": {\"description\": \"An optional query parameter to filter the results based on nitrous oxide levels.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"traditionalhydrotocarbonfootprint\", \"description\": \"Calculates the CO2 equivalent (CO2e) emissions from the use of traditional hydroelectric power based on consumption and location.\", \"parameters\": {\"consumption\": {\"description\": \"The KWH usage of hydroelectric power.\", \"type\": \"str\", \"default\": \"500\"}, \"location\": {\"description\": \"The country or continent providing the hydroelectric power. Can be one of \\\"USA\\\", \\\"Canada\\\", \\\"UK\\\", \\\"Europe\\\", \\\"Africa\\\", \\\"LatinAmerica\\\", \\\"MiddleEast\\\", or \\\"OtherCountry\\\".\", \"type\": \"str\", \"default\": \"UK\"}}}, {\"name\": \"v1_planets\", \"description\": \"Fetch a list of planets that match the specified parameters. The results are limited to a maximum of 30; use the `offset` parameter for pagination to access more results.\", \"parameters\": {\"max_period\": {\"description\": \"Maximum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_temperature\": {\"description\": \"Maximum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to offset for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_distance_light_year\": {\"description\": \"Minimum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_mass\": {\"description\": \"Maximum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_semi_major_axis\": {\"description\": \"Maximum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_mass\": {\"description\": \"Minimum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_semi_major_axis\": {\"description\": \"Minimum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the planet. Defaults to 'Mars'.\", \"type\": \"str, optional\", \"default\": \"Mars\"}, \"min_temperature\": {\"description\": \"Minimum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_radius\": {\"description\": \"Maximum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_radius\": {\"description\": \"Minimum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_period\": {\"description\": \"Minimum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"evaluate\", \"description\": \"Evaluates a mathematical expression using the given variables and their values through the RapidAPI service.\", \"parameters\": {\"variables\": {\"description\": \"A comma-separated string listing the variables used in the expression.\", \"type\": \"str\", \"default\": \"\"}, \"values\": {\"description\": \"A comma-separated string listing the values corresponding to the variables.\", \"type\": \"str\", \"default\": \"\"}, \"expression\": {\"description\": \"The mathematical expression to be evaluated.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"v1_stars\", \"description\": \"Fetches a list of stars matching specified parameters with a maximum of 30 results per request. To access more than 30 results, use the offset parameter to paginate through multiple API calls.\", \"parameters\": {\"min_distance_light_year\": {\"description\": \"Minimum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_apparent_magnitude\": {\"description\": \"Minimum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"constellation\": {\"description\": \"Identifier of the constellation the star belongs to.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_apparent_magnitude\": {\"description\": \"Maximum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to skip for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the star. Note that many star names contain Greek characters. Default is 'vega'.\", \"type\": \"str, optional\", \"default\": \"vega\"}, \"max_absolute_magnitude\": {\"description\": \"Maximum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_absolute_magnitude\": {\"description\": \"Minimum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the stars visible from Earth with a minimum absolute magnitude of 2 and a maximum distance of 100 light years? Also, what planets have a maximum temperature of 400 Kelvin?"}], "chosen": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"v1_planets\", \"arguments\": {\"max_temperature\": 400}}]", "rejected": "the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_temperature\": {\"description\": \"Minimum surface temperature of the star in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_temperature\": {\"description\": \"Maximum surface temperature of the star in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_luminosity\": {\"description\": \"Minimum luminosity of the star in solar luminosities.\", \"type\": \"float, optional\", \"default\": \"\"}, \"max_luminosity\": {\"description\": \"Maximum luminosity of the star in solar luminosities.\", \"type\": \"float, optional\", \"default\": \"\"}, \"min_mass\": {\"description\": \"Minimum mass of the star in solar masses.\", \"type\": \"float, optional\", \"default\": \"\"}, \"max_mass\": {\"description\": \"Maximum mass of the star in solar masses.\", \"type\": \"float, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the star", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_sales_tax\", \"description\": \"Calculate the sales tax amount based on the price and tax rate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"price\": {\"type\": \"number\", \"description\": \"The price of the item\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate in percentage\"}}, \"required\": [\"price\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the sales tax for an item I'm selling. The price is $200 and the tax rate is 5%."}], "chosen": "[{\"name\": \"calculate_sales_tax\", \"arguments\": {\"price\": 200, \"tax_rate\": 5}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_note\", \"description\": \"Create a new note\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the note\"}, \"content\": {\"type\": \"string\", \"description\": \"The content of the note\"}}, \"required\": [\"title\", \"content\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The content should be \"Discuss project updates, budget allocation, and team building activities.\""}], "chosen": "[{\"name\": \"create_note\", \"arguments\": {\"title\": \"Team Meeting Agenda\", \"content\": \"Discuss project updates, budget allocation, and team building activities.\"}}]", "rejected": " {\"name\": \"create_note\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_recipes\", \"description\": \"Search for recipes based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients to search for\"}}, \"required\": [\"ingredients\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The Chicken Tomato Garlic Pasta sounds good. Thanks for the help!"}], "chosen": "You're welcome! Enjoy your cooking. If you need any more recipe suggestions, feel free to ask. <|endoftext|>", "rejected": "[{\"name\": \"search_recipes\", \"arguments\": {\"ingredients\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"execute_program\", \"description\": \"Execute a program\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program_name\": {\"type\": \"string\", \"description\": \"The name of the program to execute\"}, \"arguments\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The arguments to pass to the program\"}}, \"required\": [\"program_name\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need to run a program called \"DataAnalysis\" with the arguments \"file1\", \"file2\" and \"file3\"."}], "chosen": "[{\"name\": \"execute_program\", \"arguments\": {\"program_name\": \"DataAnalysis\", \"arguments\": [\"file1\", \"file2\", \"file3\"]}}]", "rejected": "[{\"name\": \"execute_program\", \"arguments\": {\"program_name\": \"DataAnalysis\", \"arguments\": [\"file1\", \"file2\", \"file3\"], \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_barcode\", \"description\": \"Generate a barcode image\", \"parameters\": {\"type\": \"object\", \"properties\": {\"data\": {\"type\": \"string\", \"description\": \"The data to be encoded in the barcode\"}, \"format\": {\"type\": \"string\", \"description\": \"The barcode format (e.g. QR code, UPC)\"}}, \"required\": [\"data\", \"format\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a barcode for my new product. The data is \"1234567890\" and I want it in QR code format."}], "chosen": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\"}}]", "rejected": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\"}}, {\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_discounted_price\", \"description\": \"Calculate the discounted price based on original price and discount amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the item\"}, \"discount_amount\": {\"type\": \"number\", \"description\": \"The discount amount to subtract from the original price\"}}, \"required\": [\"original_price\", \"discount_amount\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating a discounted price. The original price of the item is $200 and the discount amount is $50."}], "chosen": "[{\"name\": \"calculate_discounted_price\", \"arguments\": {\"original_price\": 200, \"discount_amount\": 50}}]", "rejected": "Sure, I can help with that. Let me calculate the discounted price for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"convert_currency\", \"description\": \"Convert currency from one unit to another\", \"parameters\": {\"type\": \"object\", \"properties\": {\"amount\": {\"type\": \"number\", \"description\": \"The amount to be converted\"}, \"from_currency\": {\"type\": \"string\", \"description\": \"The original currency unit\"}, \"to_currency\": {\"type\": \"string\", \"description\": \"The desired currency unit\"}}, \"required\": [\"amount\", \"from_currency\", \"to_currency\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to convert 5000 USD to Euros. Can you help me with that?"}], "chosen": "[{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 5000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}}]", "rejected": "Sure, I can help you with that. Let me do the conversion for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_invoice\", \"description\": \"Create an invoice for a customer\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"amount\": {\"type\": \"number\", \"description\": \"The amount to be charged\"}, \"due_date\": {\"type\": \"string\", \"description\": \"The due date of the invoice\"}}, \"required\": [\"customer_name\", \"amount\", \"due_date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can I also create an invoice for another customer, Jane Smith, for $1000 due on 20th March?"}], "chosen": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\"}}]", "rejected": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith_changed\", \"amount\": 1000, \"due_date\": \"20th March\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_rental_price\", \"description\": \"Calculate the rental price based on property details and duration\", \"parameters\": {\"type\": \"object\", \"properties\": {\"property_details\": {\"type\": \"object\", \"description\": \"The details of the property\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The duration of rental in days\"}}, \"required\": [\"property_details\", \"duration\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The property is a 2 bedroom apartment in downtown Manhattan. I plan to rent it for 30 days."}], "chosen": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30}}]", "rejected": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30, \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_gpa\", \"description\": \"Calculate the GPA based on grades and credits\", \"parameters\": {\"type\": \"object\", \"properties\": {\"grades\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The grades for each course\"}, \"credits\": {\"type\": \"array\", \"items\": {\"type\": \"number\"}, \"description\": \"The number of credits for each course\"}}, \"required\": [\"grades\", \"credits\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Okay, here they are. My grades are [\"A\", \"B\", \"A-\", \"B+\", \"A\"] and the corresponding credits are [3, 4, 3, 2, 3]."}], "chosen": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3]}}]", "rejected": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\", \"x\"], \"credits\": [3, 4, 3, 2, 3]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"find_files\", \"description\": \"Finds all files with a specific extension in a directory and its subdirectories.\", \"parameters\": {\"directory\": {\"description\": \"The directory to search in.\", \"type\": \"str\"}, \"extension\": {\"description\": \"The file extension to search for.\", \"type\": \"str\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Generate a random string of length 20 containing all character types, and check if it is a subset of the set of all printable ASCII characters."}], "chosen": "[{\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "rejected": "[{\"name\": \"flatten_list\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_mortgage_payment\", \"description\": \"Calculate the monthly mortgage payment\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $200,000, the interest rate is 3.5%, and the loan term is 360 months."}], "chosen": "[{\"name\": \"calculate_mortgage_payment\", \"arguments\": {\"loan_amount\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "rejected": "[{\"name\": \"calculate_mortgage_payment\", \"arguments\": {\"loan_amount\": 200000, \"interest_rate\": 5.0, \"loan_term\": 360}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_rental_price\", \"description\": \"Calculate the rental price based on property details and duration\", \"parameters\": {\"type\": \"object\", \"properties\": {\"property_details\": {\"type\": \"object\", \"description\": \"The details of the property\"}, \"duration\": {\"type\": \"integer\", \"description\": \"The duration of rental in days\"}}, \"required\": [\"property_details\", \"duration\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The property is a 2 bedroom apartment in downtown Manhattan. I plan to rent it for 30 days."}], "chosen": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30}}]", "rejected": "[{\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30}}, {\"name\": \"calculate_rental_price\", \"arguments\": {\"property_details\": {\"type\": \"2 bedroom apartment\", \"location\": \"downtown Manhattan\"}, \"duration\": 30}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_task\", \"description\": \"Create a new task\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the task\"}, \"priority\": {\"type\": \"string\", \"description\": \"The priority level of the task (e.g. high, medium, low)\"}, \"due_date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The due date of the task\"}}, \"required\": [\"title\", \"priority\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The title is \"Finalize Project Proposal\", the priority is high, and the due date is 2022-05-15."}], "chosen": "[{\"name\": \"create_task\", \"arguments\": {\"title\": \"Finalize Project Proposal\", \"priority\": \"high\", \"due_date\": \"2022-05-15\"}}]", "rejected": "[{\"name\": \"create_task\", \"arguments\": {\"title\": \"Finalize Project Proposal\", \"priority\": \"high\", \"due_date\": \"2022-05-15\", \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"subtotal\": {\"type\": \"number\", \"description\": \"The subtotal amount\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate\"}}, \"required\": [\"subtotal\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the tax for a subtotal of $500 with a tax rate of 5%. Can you help me with that?"}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05}}]", "rejected": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 1.55}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_jobs\", \"description\": \"Search for jobs based on given criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for in job titles\"}, \"location\": {\"type\": \"string\", \"description\": \"The location to search for jobs\"}, \"salary\": {\"type\": \"number\", \"description\": \"The minimum desired salary\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am looking for a job in the field of data science in New York with a minimum salary of $80,000. Can you help me with that?"}], "chosen": "[{\"name\": \"search_jobs\", \"arguments\": {\"keywords\": [\"data science\"], \"location\": \"New York\", \"salary\": 80000}}]", "rejected": "[{\"name\": \"search_jobs\", \"arguments\": {\"keywords\": [\"data science\"], \"location\": \"New York\", \"salary\": 80000}}, {\"name\": \"search_jobs\", \"arguments\": {\"keywords\": [\"data science\"], \"location\": \"New York\", \"salary\": 80000}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_recipe\", \"description\": \"Get a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients available for cooking\"}, \"cuisine\": {\"type\": \"string\", \"description\": \"The cuisine type for the recipe\"}}, \"required\": [\"ingredients\", \"cuisine\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have chicken, tomatoes, and garlic. Can you suggest an Italian recipe?"}], "chosen": "[{\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"tomatoes\", \"garlic\"], \"cuisine\": \"Italian\"}}]", "rejected": "[{\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"tomatoes\", \"garlic\"], \"cuisine\": \"Italian\"}}, {\"name\": \"get_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"tomatoes\", \"garlic\"], \"cuisine\": \"Italian\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"track_calories\", \"description\": \"Track daily calorie intake\", \"parameters\": {\"type\": \"object\", \"properties\": {\"food_items\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The food items consumed\"}, \"quantity\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"description\": \"The quantity of each food item consumed\"}}, \"required\": [\"food_items\", \"quantity\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Thanks for the information! I'll keep that in mind."}], "chosen": "You're welcome! If you have any other questions about your diet or anything else, feel free to ask. <|endoftext|>", "rejected": "[{\"name\": \"track_calories\", \"arguments\": {\"quantity\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_countries\", \"description\": \"Fetches a list of countries based on various search criteria.\", \"parameters\": {\"keyword\": {\"description\": \"Search countries by keyword. Defaults to 'ind'.\", \"type\": \"str, optional\", \"default\": \"ind\"}, \"subregion_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"state_id\": {\"description\": \"Filter countries by state ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"timezone_id\": {\"description\": \"Filter countries by timezone ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"region_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"perpage\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"50\"}, \"is_id\": {\"description\": \"Filter countries by country ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"directions_between_2_locations\", \"description\": \"Fetches route information between two geographical locations, including distance and duration.\", \"parameters\": {\"end_lat\": {\"description\": \"Latitude of the ending point.\", \"type\": \"int\", \"default\": \"11.846\"}, \"start_lat\": {\"description\": \"Latitude of the starting point.\", \"type\": \"int\", \"default\": \"10.516\"}, \"start_lon\": {\"description\": \"Longitude of the starting point.\", \"type\": \"int\", \"default\": \"7.433\"}, \"end_lon\": {\"description\": \"Longitude of the ending point.\", \"type\": \"int\", \"default\": \"13.160\"}, \"distance_unit\": {\"description\": \"Unit of distance measurement, either 'km' (default) or 'mi'.\", \"type\": \"str, optional\", \"default\": \"km\"}}}, {\"name\": \"traveling_salesman\", \"description\": \"Solves the Traveling Salesman Problem (TSP) using the specified profile and set of coordinates, leveraging the mymappi API.\", \"parameters\": {\"coordinates\": {\"description\": \"The coordinates of the waypoints to visit, formatted as a string.\", \"type\": \"str\", \"default\": \"40.427772,-3.714630;40.407348,-3.710520;40.461178,-3.676533;40.441933,-3.650275;40.434914,-3.697337;40.451737,-3.683682\"}, \"apikey\": {\"description\": \"The API key for accessing the mymappi service.\", \"type\": \"str\", \"default\": \"YOUR_API_KEY\"}, \"profile\": {\"description\": \"The transportation profile to use (e.g., driving, walking, cycling).\", \"type\": \"str\", \"default\": \"car\"}, \"overview\": {\"description\": \"Specifies the level of detail in the returned route geometry. Default is 'simplified'.\", \"type\": \"str, optional\", \"default\": \"simplified\"}, \"roundtrip\": {\"description\": \"Determines whether the route should be a roundtrip. Default is None.\", \"type\": \"bool, optional\", \"default\": false}, \"destination\": {\"description\": \"Specifies the destination waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"source\": {\"description\": \"Specifies the source waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"geometries\": {\"description\": \"The geometry format for the route. Default is 'polyline'.\", \"type\": \"str, optional\", \"default\": \"polyline\"}, \"steps\": {\"description\": \"Whether or not to include step-by-step directions. Default is None.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"facilities_lookup\", \"description\": \"Fetches a list of facilities in Tunisia based on specified criteria such as city, province, and facility type.\", \"parameters\": {\"city\": {\"description\": \"The city where the facility is located.\", \"type\": \"str\", \"default\": \"Tunis\"}, \"province\": {\"description\": \"The region where the facility is located.\", \"type\": \"str\", \"default\": \"Manouba\"}, \"type\": {\"description\": \"The type of facility to search for.\", \"type\": \"str\", \"default\": \"hospital\"}, \"limit\": {\"description\": \"The maximum number of facilities to return. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Calculate the distance and time it takes to travel from New York City to Los Angeles, considering the starting point at latitude 40.7128° N and longitude 74.0060° W, and the destination at latitude 34.0522° N and longitude 118.2437° W."}], "chosen": "[{\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "rejected": "[{\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}, {\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_sales_tax\", \"description\": \"Calculate the sales tax amount based on the price and tax rate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"price\": {\"type\": \"number\", \"description\": \"The price of the item\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate in percentage\"}}, \"required\": [\"price\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the sales tax for an item I'm selling. The price is $200 and the tax rate is 5%."}], "chosen": "[{\"name\": \"calculate_sales_tax\", \"arguments\": {\"price\": 200, \"tax_rate\": 5}}]", "rejected": "[{\"name\": \"calculate_sales_tax\", \"arguments\": {\"price\": 200, \"tax_rate\": 5, \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"validate_email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_user_profile\", \"description\": \"Create a new user profile with specified details\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"description\": \"The name of the user\"}, \"age\": {\"type\": \"integer\", \"description\": \"The age of the user\"}, \"gender\": {\"type\": \"string\", \"description\": \"The gender of the user\"}}, \"required\": [\"name\", \"age\", \"gender\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to create a new user profile."}], "chosen": "Sure, I can help you with that. Could you please provide me with your name, age, and gender? <|endoftext|>", "rejected": "[{\"name\": \"create_user_profile\", \"arguments\": {\"name\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_random_fact\", \"description\": \"Generate a random interesting fact\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of the fact, e.g. history, science\"}}, \"required\": [\"category\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, can you tell me an interesting fact about science?"}], "chosen": "Sure, let me find a fact for you. <|endoftext|>", "rejected": "[{\"name\": \"generate_random_fact\", \"arguments\": {\"category\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_stock_prices\", \"description\": \"Get the current stock prices\", \"parameters\": {\"type\": \"object\", \"properties\": {\"stocks\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The stocks for which prices will be retrieved\"}}, \"required\": [\"stocks\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you tell me the current stock prices for Apple, Microsoft and Amazon?"}], "chosen": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"]}}]", "rejected": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"]}}, {\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_invoice\", \"description\": \"Create an invoice for a customer\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"amount\": {\"type\": \"number\", \"description\": \"The amount to be charged\"}, \"due_date\": {\"type\": \"string\", \"description\": \"The due date of the invoice\"}}, \"required\": [\"customer_name\", \"amount\", \"due_date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can I also create an invoice for another customer, Jane Smith, for $1000 due on 20th March?"}], "chosen": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\"}}]", "rejected": " {\"name\": \"create_invoice\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two points\", \"parameters\": {\"type\": \"object\", \"properties\": {\"point1\": {\"type\": \"object\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of point 1\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of point 1\"}}, \"required\": [\"x\", \"y\"]}, \"point2\": {\"type\": \"object\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of point 2\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of point 2\"}}, \"required\": [\"x\", \"y\"]}}, \"required\": [\"point1\", \"point2\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, can you calculate the distance between the points (2,3) and (5,7)?"}], "chosen": "Sure, let me calculate that for you. <|endoftext|>", "rejected": "[{\"name\": \"calculate_distance\", \"arguments\": {\"point2\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_discount\", \"description\": \"Calculate the discount amount based on original price and discount percentage\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the item\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The discount percentage to be applied\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hey, I need to calculate the discount on a jacket I want to buy. It's originally priced at $200 and there's a 15% discount on it."}], "chosen": "Sure, I can help with that. Let me calculate the discount for you. <|endoftext|>", "rejected": "[{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_movies\", \"description\": \"Search for movies based on keywords\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for\"}, \"genre\": {\"type\": \"string\", \"description\": \"The preferred genre\"}}, \"required\": [\"keywords\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I like action movies. And I would prefer if the movie has a theme of revenge."}], "chosen": "[{\"name\": \"search_movies\", \"arguments\": {\"keywords\": [\"revenge\"], \"genre\": \"action\"}}]", "rejected": "[{\"name\": \"search_movies\", \"arguments\": {\"keywords\": [\"revenge\"], \"genre\": \"action\"}}, {\"name\": \"search_movies\", \"arguments\": {\"keywords\": [\"revenge\"], \"genre\": \"action\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a given bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The tip percentage\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the tip for my bill. The total amount is $50 and I want to leave a 15% tip."}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 15}}]", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 22}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_invoice\", \"description\": \"Generate an invoice for a given transaction\", \"parameters\": {\"type\": \"object\", \"properties\": {\"transaction_details\": {\"type\": \"object\", \"properties\": {\"transaction_id\": {\"type\": \"string\", \"description\": \"The unique identifier for the transaction\"}, \"amount\": {\"type\": \"number\", \"description\": \"The transaction amount\"}, \"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"items\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The items included in the transaction\"}}, \"required\": [\"transaction_id\", \"amount\", \"customer_name\", \"items\"]}}, \"required\": [\"transaction_details\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The transaction ID is 12345, the amount is $200, my name is John Doe, and the items are a laptop and a mouse."}], "chosen": "[{\"name\": \"generate_invoice\", \"arguments\": {\"transaction_details\": {\"transaction_id\": \"12345\", \"amount\": 200, \"customer_name\": \"John Doe\", \"items\": [\"laptop\", \"mouse\"]}}}]", "rejected": "[{\"name\": \"generate_invoice\", \"arguments\": {\"transaction_details\": {\"transaction_id\": \"12345\", \"amount\": 200, \"customer_name\": \"John Doe\", \"items\": [\"laptop\", \"mouse\"]}, \"extra_flag\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "idata, geonames.\", \"type\": \"str, optional\", \"default\": null}}, \"max_results\": {\"default\": 5, \"type\": \"int\", \"optional\": true}}}\n\nAssistant: I'm sorry, but I don't have the capability to perform external tasks such as fetching map tiles or performing reverse geocoding. My current functions are limited to providing information about zip codes in Mexico. If you need help with that, feel free to ask!", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"geocodingsearch\", \"description\": \"Performs a forward geocoding search using a free-form query string and optional parameters to specify query filters and output format.\", \"parameters\": {\"q\": {\"description\": \"Free-form query string for the geocoding search.\", \"type\": \"str\", \"default\": \"New York City NY USA\"}, \"countrycodes\": {\"description\": \"Two-letter country code as defined in ISO 3166-1 alpha2 to restrict search to a specific country.\", \"type\": \"str, optional\", \"default\": \"\"}, \"json_callback\": {\"description\": \"Name of JSON callback function for JSONP calls; use this when the format is set to JSON.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_text\": {\"description\": \"Include a textual representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"namedetails\": {\"description\": \"Include detailed naming information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Limit the number of search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"viewbox\": {\"description\": \"Specify a bounding box for the search area in the format 'x1,y1,x2,y2', where x is longitude and y is latitude.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output format of the response (e.g., JSON).\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_geojson\": {\"description\": \"Include GeoJSON representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bounded\": {\"description\": \"Use '1' to restrict the search area to the specified viewbox.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_svg\": {\"description\": \"Include SVG representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_kml\": {\"description\": \"Include KML representation of the polygon geometry in the output.\", \"type\": \"str, optional\", \"default\": \"\"}, \"polygon_threshold\": {\"description\": \"Simplification threshold for the polygon geometry.\", \"type\": \"int, optional\", \"default\": \"0.0\"}, \"accept_language\": {\"description\": \"Set the query and response language using two-letter language codes (e.g., 'en' or 'es') or a combination of language and region code (e.g., 'en-GB' or 'es-AR'). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"addressdetails\": {\"description\": \"Include detailed address information in the output.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"mapimage\", \"description\": \"Retrieves a map image with specified parameters such as coordinates, scale, size, and various display options.\", \"parameters\": {\"lonlat\": {\"description\": \"The latitude and longitude in the format \\\"longitude,latitude\\\".\", \"type\": \"str\", \"default\": \"139.767231,35.681196\"}, \"scale\": {\"description\": \"The map scale. Valid range is from 6 to 21.\", \"type\": \"int\", \"default\": \"16\"}, \"size\": {\"description\": \"The image size in the format \\\"width,height\\\" in pixels.\", \"type\": \"str\", \"default\": \"320,240\"}, \"icon\": {\"description\": \"Icon settings in the format \\\"[icon_type,longitude,latitude]|...\\\". Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"centericon\": {\"description\": \"Whether to display the center icon (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Whether to display the brand logo (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Whether to display landmark icons (on/off). Defaults to None (\\\"off\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output image format, either \\\"image/png\\\" or \\\"image/jpeg\\\". Defaults to \\\"image/png\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"The image resolution. \\\"1\\\" for standard size, \\\"2\\\" for double size. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"rotationangle\": {\"description\": \"The angle to rotate the map. Valid range is from 0 to 359 degrees. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"routeresultid\": {\"description\": \"The route result ID to display the route on the map. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"routeicon\": {\"description\": \"Route icon settings, \\\"0\\\" for none, \\\"1\\\" for standard icons. Defaults to \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"scaler\": {\"description\": \"Whether to display the scale (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Whether to display building names (on/off). Defaults to \\\"off\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Whether to display contour lines (on/off). Defaults to \\\"on\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"The map display content. \\\"1\\\" for background, \\\"2\\\" for notes, \\\"3\\\" for both. Defaults to \\\"3\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Map design parameter in the format \\\"[design]_[note_size]\\\". Defaults to \\\"std_pc\\\".\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_details_of_multiple_records\", \"description\": \"Fetches details of multiple records given their IDs using the Magical Taske API.\", \"parameters\": {\"is_id\": {\"description\": \"A comma-separated string of record IDs for which to fetch details. Maximum 10 IDs allowed, no spaces between commas.\", \"type\": \"str\", \"default\": \"b4180336-ef07-453d-b833-807161aedf36,7cf78e19-57d2-4bce-8999-63aad8f0e70c\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"forward_geocode\", \"description\": \"Fetches latitude and longitude coordinates from a given address using the RapidAPI forward geocoding service.\", \"parameters\": {\"address\": {\"description\": \"The address to be geocoded.\", \"type\": \"str\", \"default\": \"2795 Hastings St, Vancouver, BC V5K 1Z8\"}}}, {\"name\": \"reversegeocode\", \"description\": \"Obtain the human-readable address for a given geographical location.\", \"parameters\": {\"location\": {\"description\": \"The latitude and longitude coordinates (comma-separated) for which to obtain the address.\", \"type\": \"str\", \"default\": \"37.7879493,-122.3961974\"}, \"language\": {\"description\": \"The language in which to return results. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"query_for_ldu_boundary_by_h3index\", \"description\": \"Queries for a Local Delivery Unit (LDU) boundary by its H3 index.\", \"parameters\": {\"h3ndex\": {\"description\": \"The H3 index used to query the LDU boundary.\", \"type\": \"int\", \"default\": \"635775751926485631\"}}}, {\"name\": \"map_image_get\", \"description\": \"Fetches a static map image for a specified location with given parameters such as width, height, center, and zoom level.\", \"parameters\": {\"width\": {\"description\": \"Width of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"center\": {\"description\": \"The center coordinates of the map (latitude,longitude).\", \"type\": \"str\", \"default\": \"35.681236,139.767125\"}, \"zoom\": {\"description\": \"The zoom level of the map. Must be between 6 and 19.\", \"type\": \"int\", \"default\": \"15\"}, \"height\": {\"description\": \"Height of the map image. Must be between 1 and 999.\", \"type\": \"int\", \"default\": \"500\"}, \"datum\": {\"description\": \"The geodetic system to use. Defaults to 'wgs84'. Options are:\", \"type\": \"str, optional\", \"default\": \"wgs84\"}, \"coord_unit\": {\"description\": \"The unit of latitude and longitude in the output data. Defaults to 'degree'. Options are:\", \"type\": \"str, optional\", \"default\": \"degree\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need a map image centered at 34.0522° N, 118.2437° W with a zoom level of 10, width 600, height 400."}], "chosen": "[{\"name\": \"map_image_get\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "rejected": "[{\"name\": \"fetch_details_of_multiple_records\", \"arguments\": {\"width\": 600, \"center\": \"34.0522,118.2437\", \"zoom\": 10, \"height\": 400}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two locations\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source_location\": {\"type\": \"string\", \"description\": \"The source location\"}, \"destination_location\": {\"type\": \"string\", \"description\": \"The destination location\"}}, \"required\": [\"source_location\", \"destination_location\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's quite far. What about the distance between New York and Chicago?"}], "chosen": "[{\"name\": \"calculate_distance\", \"arguments\": {\"source_location\": \"New York\", \"destination_location\": \"Chicago\"}}]", "rejected": "[{\"name\": \"calculate_distance\", \"arguments\": {\"source_location\": \"New York\", \"destination_location\": \"Chicago\"}}, {\"name\": \"calculate_distance\", \"arguments\": {\"source_location\": \"New York\", \"destination_location\": \"Chicago\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_account\", \"description\": \"Create a new user account\", \"parameters\": {\"type\": \"object\", \"properties\": {\"username\": {\"type\": \"string\", \"description\": \"Username for account\"}, \"password\": {\"type\": \"string\", \"description\": \"Password for account\"}, \"email\": {\"type\": \"string\", \"description\": \"Email address for account\"}}, \"required\": [\"username\", \"password\", \"email\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I want my username to be \"JohnDoe\", password to be \"password123\" and email to be \"johndoe@example.com\"."}], "chosen": "[{\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com\"}}]", "rejected": "[{\"name\": \"create_account\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"password123\", \"email\": \"johndoe@example.com_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_jobs\", \"description\": \"Search for jobs based on given criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for in job titles\"}, \"location\": {\"type\": \"string\", \"description\": \"The location to search for jobs\"}, \"salary\": {\"type\": \"number\", \"description\": \"The minimum desired salary\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am looking for a job in the field of data science in New York with a minimum salary of $80,000. Can you help me with that?"}], "chosen": "[{\"name\": \"search_jobs\", \"arguments\": {\"keywords\": [\"data science\"], \"location\": \"New York\", \"salary\": 80000}}]", "rejected": "Of course, I can help you with that. Let me find the information for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_music\", \"description\": \"Search for music albums or tracks\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"The search query\"}, \"artist\": {\"type\": \"string\", \"description\": \"The artist or band name\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of music\"}, \"year\": {\"type\": \"integer\", \"description\": \"The release year of the music\"}}, \"required\": [\"query\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I am in the mood for some classic rock. Can you find something from the band 'Queen'?"}], "chosen": "Sure, let me find that for you. <|endoftext|>", "rejected": "[{\"name\": \"search_music\", \"arguments\": {\"genre\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a specific recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"message\": {\"type\": \"string\", \"description\": \"The content of the email\"}}, \"required\": [\"recipient\", \"subject\", \"message\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can you also book a flight for me to New York tomorrow?"}], "chosen": "I'm sorry, but as an AI, I don't currently have the capability to book flights. My current function is limited to sending emails. You may want to use a travel booking website or app for your flight booking needs. <|endoftext|>", "rejected": "[{\"name\": \"send_email\", \"arguments\": {\"subject\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"dna2aminoacid\", \"description\": \"Transforms a DNA sequence into a sequence of Amino Acids using the RapidAPI dna2protein service.\", \"parameters\": {\"dna\": {\"description\": \"The DNA sequence to be transformed into Amino Acids.\", \"type\": \"str\", \"default\": \"TACAAAGGCTAACGTCCTAGAGCTATT\"}}}, {\"name\": \"search\", \"description\": \"Searches for the given query using the CrossRef API and returns the results.\", \"parameters\": {\"query\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"blood\"}}}, {\"name\": \"search_for_a_word_in_quran\", \"description\": \"Search for a given keyword in the English translation of the Quran and return the verses containing the keyword and total matches in JSON format.\", \"parameters\": {\"searchterm\": {\"description\": \"The keyword or phrase to search for in the Quran.\", \"type\": \"str\", \"default\": \"muhammad\"}}}, {\"name\": \"nitrous_endpoint\", \"description\": \"Sends a GET request to the Nitrous Oxide API and returns the response data.\", \"parameters\": {\"nitrous\": {\"description\": \"An optional query parameter to filter the results based on nitrous oxide levels.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"traditionalhydrotocarbonfootprint\", \"description\": \"Calculates the CO2 equivalent (CO2e) emissions from the use of traditional hydroelectric power based on consumption and location.\", \"parameters\": {\"consumption\": {\"description\": \"The KWH usage of hydroelectric power.\", \"type\": \"str\", \"default\": \"500\"}, \"location\": {\"description\": \"The country or continent providing the hydroelectric power. Can be one of \\\"USA\\\", \\\"Canada\\\", \\\"UK\\\", \\\"Europe\\\", \\\"Africa\\\", \\\"LatinAmerica\\\", \\\"MiddleEast\\\", or \\\"OtherCountry\\\".\", \"type\": \"str\", \"default\": \"UK\"}}}, {\"name\": \"v1_planets\", \"description\": \"Fetch a list of planets that match the specified parameters. The results are limited to a maximum of 30; use the `offset` parameter for pagination to access more results.\", \"parameters\": {\"max_period\": {\"description\": \"Maximum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_temperature\": {\"description\": \"Maximum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to offset for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_distance_light_year\": {\"description\": \"Minimum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_mass\": {\"description\": \"Maximum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_semi_major_axis\": {\"description\": \"Maximum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_mass\": {\"description\": \"Minimum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_semi_major_axis\": {\"description\": \"Minimum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the planet. Defaults to 'Mars'.\", \"type\": \"str, optional\", \"default\": \"Mars\"}, \"min_temperature\": {\"description\": \"Minimum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_radius\": {\"description\": \"Maximum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_radius\": {\"description\": \"Minimum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_period\": {\"description\": \"Minimum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"evaluate\", \"description\": \"Evaluates a mathematical expression using the given variables and their values through the RapidAPI service.\", \"parameters\": {\"variables\": {\"description\": \"A comma-separated string listing the variables used in the expression.\", \"type\": \"str\", \"default\": \"\"}, \"values\": {\"description\": \"A comma-separated string listing the values corresponding to the variables.\", \"type\": \"str\", \"default\": \"\"}, \"expression\": {\"description\": \"The mathematical expression to be evaluated.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"v1_stars\", \"description\": \"Fetches a list of stars matching specified parameters with a maximum of 30 results per request. To access more than 30 results, use the offset parameter to paginate through multiple API calls.\", \"parameters\": {\"min_distance_light_year\": {\"description\": \"Minimum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_apparent_magnitude\": {\"description\": \"Minimum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"constellation\": {\"description\": \"Identifier of the constellation the star belongs to.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_apparent_magnitude\": {\"description\": \"Maximum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to skip for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the star. Note that many star names contain Greek characters. Default is 'vega'.\", \"type\": \"str, optional\", \"default\": \"vega\"}, \"max_absolute_magnitude\": {\"description\": \"Maximum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_absolute_magnitude\": {\"description\": \"Minimum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the stars visible from Earth with a minimum absolute magnitude of 2 and a maximum distance of 100 light years? Also, what planets have a maximum temperature of 400 Kelvin?"}], "chosen": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"v1_planets\", \"arguments\": {\"max_temperature\": 400}}]", "rejected": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"v1_planets\", \"arguments\": {\"max_temperature\": 407}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_nearby_places\", \"description\": \"Find nearby places of interest\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location to search nearby places\"}, \"radius\": {\"type\": \"integer\", \"description\": \"The radius in meters to search within\"}, \"types\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The types of places to search for\"}}, \"required\": [\"location\", \"radius\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can you also find some restaurants in the same radius?"}], "chosen": "[{\"name\": \"find_nearby_places\", \"arguments\": {\"location\": \"New York\", \"radius\": 5000, \"types\": [\"restaurant\"]}}]", "rejected": " {\"name\": \"find_nearby_places\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two points\", \"parameters\": {\"type\": \"object\", \"properties\": {\"point1\": {\"type\": \"object\", \"description\": \"The coordinates of the first point\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of the first point\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of the first point\"}}}, \"point2\": {\"type\": \"object\", \"description\": \"The coordinates of the second point\", \"properties\": {\"x\": {\"type\": \"number\", \"description\": \"The x-coordinate of the second point\"}, \"y\": {\"type\": \"number\", \"description\": \"The y-coordinate of the second point\"}}}}, \"required\": [\"point1\", \"point2\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the distance between two points. The coordinates of the first point are (3, 4) and the coordinates of the second point are (7, 1)."}], "chosen": "[{\"name\": \"calculate_distance\", \"arguments\": {\"point1\": {\"x\": 3, \"y\": 4}, \"point2\": {\"x\": 7, \"y\": 1}}}]", "rejected": "[{\"name\": \"calculate_distance\", \"arguments\": {\"point1\": {\"x\": 3, \"y\": 4}, \"point2\": {\"x\": 7, \"y\": 1}, \"extra_info\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"drawing_by_date\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two locations\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source_location\": {\"type\": \"string\", \"description\": \"The source location\"}, \"destination_location\": {\"type\": \"string\", \"description\": \"The destination location\"}}, \"required\": [\"source_location\", \"destination_location\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's quite far. What about the distance between New York and Chicago?"}], "chosen": "[{\"name\": \"calculate_distance\", \"arguments\": {\"source_location\": \"New York\", \"destination_location\": \"Chicago\"}}]", "rejected": " {\"name\": \"calculate_distance\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_barcode\", \"description\": \"Generate a barcode image for a given input\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input\": {\"type\": \"string\", \"description\": \"The input string to encode\"}, \"format\": {\"type\": \"string\", \"description\": \"The barcode format (e.g. EAN-13, QR Code)\"}}, \"required\": [\"input\", \"format\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hey, I need a barcode for the string \"1234567890\" in EAN-13 format."}], "chosen": "Sure, I can help with that. Let me generate it for you. <|endoftext|>", "rejected": "[{\"name\": \"generate_barcode\", \"arguments\": {\"format\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}, {\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_emis\", \"description\": \"Calculate monthly loan EMIs (Equated Monthly Installments)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am planning to take a loan of $50000 at an interest rate of 5% per annum. I want to repay it in 5 years. Can you help me calculate the monthly EMI?"}], "chosen": "[{\"name\": \"calculate_loan_emis\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "[{\"name\": \"lookup_coordinates\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_discount\", \"description\": \"Calculate the discount on a product\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the product\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The percentage discount on the product\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I saw a dress that I liked in a store. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much I will have to pay for it?"}], "chosen": "[{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 200, \"discount_percentage\": 20}}]", "rejected": "[{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 207, \"discount_percentage\": 20}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_invoice\", \"description\": \"Create a new invoice for a customer\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"invoice_number\": {\"type\": \"string\", \"description\": \"The invoice number\"}, \"total_amount\": {\"type\": \"number\", \"description\": \"The total amount of the invoice\"}}, \"required\": [\"customer_name\", \"invoice_number\", \"total_amount\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great! Can we create another invoice for the same customer? The invoice number is JD124 and the total amount is $700."}], "chosen": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"invoice_number\": \"JD124\", \"total_amount\": 700}}]", "rejected": " {\"name\": \"create_invoice\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"dna2aminoacid\", \"description\": \"Transforms a DNA sequence into a sequence of Amino Acids using the RapidAPI dna2protein service.\", \"parameters\": {\"dna\": {\"description\": \"The DNA sequence to be transformed into Amino Acids.\", \"type\": \"str\", \"default\": \"TACAAAGGCTAACGTCCTAGAGCTATT\"}}}, {\"name\": \"search\", \"description\": \"Searches for the given query using the CrossRef API and returns the results.\", \"parameters\": {\"query\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"blood\"}}}, {\"name\": \"search_for_a_word_in_quran\", \"description\": \"Search for a given keyword in the English translation of the Quran and return the verses containing the keyword and total matches in JSON format.\", \"parameters\": {\"searchterm\": {\"description\": \"The keyword or phrase to search for in the Quran.\", \"type\": \"str\", \"default\": \"muhammad\"}}}, {\"name\": \"nitrous_endpoint\", \"description\": \"Sends a GET request to the Nitrous Oxide API and returns the response data.\", \"parameters\": {\"nitrous\": {\"description\": \"An optional query parameter to filter the results based on nitrous oxide levels.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"traditionalhydrotocarbonfootprint\", \"description\": \"Calculates the CO2 equivalent (CO2e) emissions from the use of traditional hydroelectric power based on consumption and location.\", \"parameters\": {\"consumption\": {\"description\": \"The KWH usage of hydroelectric power.\", \"type\": \"str\", \"default\": \"500\"}, \"location\": {\"description\": \"The country or continent providing the hydroelectric power. Can be one of \\\"USA\\\", \\\"Canada\\\", \\\"UK\\\", \\\"Europe\\\", \\\"Africa\\\", \\\"LatinAmerica\\\", \\\"MiddleEast\\\", or \\\"OtherCountry\\\".\", \"type\": \"str\", \"default\": \"UK\"}}}, {\"name\": \"v1_planets\", \"description\": \"Fetch a list of planets that match the specified parameters. The results are limited to a maximum of 30; use the `offset` parameter for pagination to access more results.\", \"parameters\": {\"max_period\": {\"description\": \"Maximum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_temperature\": {\"description\": \"Maximum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to offset for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_distance_light_year\": {\"description\": \"Minimum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_mass\": {\"description\": \"Maximum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_semi_major_axis\": {\"description\": \"Maximum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_mass\": {\"description\": \"Minimum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_semi_major_axis\": {\"description\": \"Minimum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the planet. Defaults to 'Mars'.\", \"type\": \"str, optional\", \"default\": \"Mars\"}, \"min_temperature\": {\"description\": \"Minimum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_radius\": {\"description\": \"Maximum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_radius\": {\"description\": \"Minimum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_period\": {\"description\": \"Minimum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"evaluate\", \"description\": \"Evaluates a mathematical expression using the given variables and their values through the RapidAPI service.\", \"parameters\": {\"variables\": {\"description\": \"A comma-separated string listing the variables used in the expression.\", \"type\": \"str\", \"default\": \"\"}, \"values\": {\"description\": \"A comma-separated string listing the values corresponding to the variables.\", \"type\": \"str\", \"default\": \"\"}, \"expression\": {\"description\": \"The mathematical expression to be evaluated.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"v1_stars\", \"description\": \"Fetches a list of stars matching specified parameters with a maximum of 30 results per request. To access more than 30 results, use the offset parameter to paginate through multiple API calls.\", \"parameters\": {\"min_distance_light_year\": {\"description\": \"Minimum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_apparent_magnitude\": {\"description\": \"Minimum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"constellation\": {\"description\": \"Identifier of the constellation the star belongs to.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_apparent_magnitude\": {\"description\": \"Maximum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to skip for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the star. Note that many star names contain Greek characters. Default is 'vega'.\", \"type\": \"str, optional\", \"default\": \"vega\"}, \"max_absolute_magnitude\": {\"description\": \"Maximum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_absolute_magnitude\": {\"description\": \"Minimum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the stars visible from Earth with a minimum absolute magnitude of 2 and a maximum distance of 100 light years? Also, what planets have a maximum temperature of 400 Kelvin?"}], "chosen": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"v1_planets\", \"arguments\": {\"max_temperature\": 400}}]", "rejected": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_bmi\", \"description\": \"Calculate the Body Mass Index (BMI)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"height\": {\"type\": \"number\", \"description\": \"The height in meters\"}, \"weight\": {\"type\": \"number\", \"description\": \"The weight in kilograms\"}}, \"required\": [\"height\", \"weight\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to know my BMI. My height is 1.75 meters and I weigh 70 kilograms."}], "chosen": "[{\"name\": \"calculate_bmi\", \"arguments\": {\"height\": 1.75, \"weight\": 70}}]", "rejected": "Sure, let me calculate that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_salary\", \"description\": \"Calculate the monthly salary\", \"parameters\": {\"type\": \"object\", \"properties\": {\"hourly_rate\": {\"type\": \"number\", \"description\": \"The hourly rate\"}, \"hours_worked\": {\"type\": \"number\", \"description\": \"The number of hours worked\"}, \"overtime_hours\": {\"type\": \"number\", \"description\": \"The number of overtime hours worked\"}}, \"required\": [\"hourly_rate\", \"hours_worked\", \"overtime_hours\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help calculating my monthly salary. I work 40 hours a week at a rate of $20 per hour. I also worked 10 hours of overtime this month."}], "chosen": "[{\"name\": \"calculate_salary\", \"arguments\": {\"hourly_rate\": 20, \"hours_worked\": 160, \"overtime_hours\": 10}}]", "rejected": "[{\"name\": \"calculate_salary\", \"arguments\": {\"hourly_rate\": 20, \"hours_worked\": 167, \"overtime_hours\": 10}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount based on bill total\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_total\": {\"type\": \"number\", \"description\": \"The total amount of the bill\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage of tip to be given\"}}, \"required\": [\"bill_total\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you please book a flight for me from New York to Los Angeles?"}], "chosen": "I'm sorry, but I'm unable to assist with booking flights as it's an external task and I don't have a function provided for that task. However, I can help you calculate the tip on your bill. <|endoftext|>", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_total\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the amount of tax to be paid\", \"parameters\": {\"type\": \"object\", \"properties\": {\"income\": {\"type\": \"number\", \"description\": \"The annual income\"}, \"deductions\": {\"type\": \"number\", \"description\": \"The total deductions\"}}, \"required\": [\"income\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating my tax. My annual income is $80,000 and I have $10,000 in deductions."}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"income\": 80000, \"deductions\": 10000}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_invoice\", \"description\": \"Create an invoice for a customer\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"amount\": {\"type\": \"number\", \"description\": \"The amount to be charged\"}, \"due_date\": {\"type\": \"string\", \"description\": \"The due date of the invoice\"}}, \"required\": [\"customer_name\", \"amount\", \"due_date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can I also create an invoice for another customer, Jane Smith, for $1000 due on 20th March?"}], "chosen": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\"}}]", "rejected": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\"}}, {\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"Jane Smith\", \"amount\": 1000, \"due_date\": \"20th March\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_nearest_gas_station\", \"description\": \"Find the nearest gas station\", \"parameters\": {\"type\": \"object\", \"properties\": {\"latitude\": {\"type\": \"number\", \"description\": \"The latitude coordinate\"}, \"longitude\": {\"type\": \"number\", \"description\": \"The longitude coordinate\"}, \"fuel_type\": {\"type\": \"string\", \"description\": \"The type of fuel (optional)\"}}, \"required\": [\"latitude\", \"longitude\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I am currently at latitude 40.7128 and longitude -74.0060. Can you find the nearest gas station for me?"}], "chosen": "[{\"name\": \"find_nearest_gas_station\", \"arguments\": {\"latitude\": 40.7128, \"longitude\": -74.006}}]", "rejected": "[{\"name\": \"find_nearest_gas_station\", \"arguments\": {\"latitude\": 40.7128, \"longitude\": -74.006}}, {\"name\": \"find_nearest_gas_station\", \"arguments\": {\"latitude\": 40.7128, \"longitude\": -74.006}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_bmi\", \"description\": \"Calculate the Body Mass Index (BMI)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"weight\": {\"type\": \"number\", \"description\": \"The weight in kilograms\"}, \"height\": {\"type\": \"number\", \"description\": \"The height in meters\"}}, \"required\": [\"weight\", \"height\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters."}], "chosen": "[{\"name\": \"calculate_bmi\", \"arguments\": {\"weight\": 70, \"height\": 1.75}}]", "rejected": "Sure, I can help with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"subtotal\": {\"type\": \"number\", \"description\": \"The subtotal amount\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate\"}}, \"required\": [\"subtotal\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the tax for a subtotal of $500 with a tax rate of 5%. Can you help me with that?"}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05}}]", "rejected": "Sure, I can help you with that. Let me calculate it for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"send_email\", \"description\": \"Send an email to a recipient\", \"parameters\": {\"type\": \"object\", \"properties\": {\"recipient\": {\"type\": \"string\", \"description\": \"The email address of the recipient\"}, \"subject\": {\"type\": \"string\", \"description\": \"The subject of the email\"}, \"body\": {\"type\": \"string\", \"description\": \"The body of the email\"}}, \"required\": [\"recipient\", \"subject\", \"body\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the recipient's email is boss@example.com. The subject is \"Project Update\", and the body is \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\""}], "chosen": "[{\"name\": \"send_email\", \"arguments\": {\"recipient\": \"boss@example.com\", \"subject\": \"Project Update\", \"body\": \"Dear Boss, I have completed the project as per the given deadline. Kindly review it. Regards, User.\"}}]", "rejected": " {\"name\": \"send_email\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_username\", \"description\": \"Generate a unique username\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"description\": \"The user's name\"}, \"birthdate\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The user's birthdate in yyyy-mm-dd format\"}}, \"required\": [\"name\", \"birthdate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a new username. My name is John and I was born on 1990-05-15."}], "chosen": "[{\"name\": \"generate_username\", \"arguments\": {\"name\": \"John\", \"birthdate\": \"1990-05-15\"}}]", "rejected": "[{\"name\": \"generate_username\", \"arguments\": {\"name\": \"John\", \"birthdate\": \"1990-05-15_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_recipe\", \"description\": \"Find a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients available\"}, \"dietary_restrictions\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Any dietary restrictions\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have some chicken, broccoli, and cheese. Can you find me a recipe? I'm on a low-carb diet."}], "chosen": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"]}}]", "rejected": " {\"name\": \"find_recipe\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The total amount of the bill\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage tip to give\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 20% tip. Can you tell me how much that would be?"}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20}}]", "rejected": "Sure, let me calculate that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"find_files\", \"description\": \"Finds all files with a specific extension in a directory and its subdirectories.\", \"parameters\": {\"directory\": {\"description\": \"The directory to search in.\", \"type\": \"str\"}, \"extension\": {\"description\": \"The file extension to search for.\", \"type\": \"str\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Generate a random string of length 20 containing all character types, and check if it is a subset of the set of all printable ASCII characters."}], "chosen": "[{\"name\": \"is_subset\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "rejected": "[{\"name\": \"find_files\", \"arguments\": {\"set1\": \"set(generate_random_string(length=20, uppercase=True, lowercase=True, digits=True, special_chars=True))\", \"set2\": \"set(string.printable)\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly payment for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in years\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's a bit higher than I expected. What if I increase the term to 35 years?"}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"loan_amount\": 200000, \"interest_rate\": 3.5, \"loan_term\": 35}}]", "rejected": " {\"name\": \"calculate_loan_payment\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_user\", \"description\": \"Create a new user account\", \"parameters\": {\"type\": \"object\", \"properties\": {\"username\": {\"type\": \"string\", \"description\": \"The username of the user\"}, \"password\": {\"type\": \"string\", \"description\": \"The password of the user\"}, \"email\": {\"type\": \"string\", \"description\": \"The email address of the user\"}}, \"required\": [\"username\", \"password\", \"email\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The username is JohnDoe, password is JD1234, and email is johndoe@example.com."}], "chosen": "[{\"name\": \"create_user\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"JD1234\", \"email\": \"johndoe@example.com\"}}]", "rejected": " {\"name\": \"create_user\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\", \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payments\", \"description\": \"Calculate the monthly loan payments\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The interest rate of the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the loan amount is $50000, the interest rate is 5% and the term is 60 months."}], "chosen": "[{\"name\": \"calculate_loan_payments\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": " {\"name\": \"calculate_loan_payments\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_invoice\", \"description\": \"Generate an invoice for a given purchase\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"items\": {\"type\": \"array\", \"items\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"description\": \"The name of the item\"}, \"quantity\": {\"type\": \"integer\", \"description\": \"The quantity of the item\"}, \"price\": {\"type\": \"number\", \"description\": \"The price of the item\"}}, \"required\": [\"name\", \"quantity\", \"price\"]}}}, \"required\": [\"customer_name\", \"items\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need to generate an invoice for my customer, John Doe. He bought 2 laptops for $1000 each and 3 mobile phones for $500 each."}], "chosen": "[{\"name\": \"generate_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"items\": [{\"name\": \"laptop\", \"quantity\": 2, \"price\": 1000}, {\"name\": \"mobile phone\", \"quantity\": 3, \"price\": 500}]}}]", "rejected": "[{\"name\": \"generate_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"items\": [{\"name\": \"laptop\", \"quantity\": 2, \"price\": 1000}, {\"name\": \"mobile phone\", \"quantity\": 3, \"price\": 500}]}}, {\"name\": \"generate_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"items\": [{\"name\": \"laptop\", \"quantity\": 2, \"price\": 1000}, {\"name\": \"mobile phone\", \"quantity\": 3, \"price\": 500}]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_invoice\", \"description\": \"Create a new invoice for a customer\", \"parameters\": {\"type\": \"object\", \"properties\": {\"customer_name\": {\"type\": \"string\", \"description\": \"The name of the customer\"}, \"invoice_number\": {\"type\": \"string\", \"description\": \"The invoice number\"}, \"total_amount\": {\"type\": \"number\", \"description\": \"The total amount of the invoice\"}}, \"required\": [\"customer_name\", \"invoice_number\", \"total_amount\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great! Can we create another invoice for the same customer? The invoice number is JD124 and the total amount is $700."}], "chosen": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"invoice_number\": \"JD124\", \"total_amount\": 700}}]", "rejected": "[{\"name\": \"create_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"invoice_number\": \"JD124\", \"total_amount\": 700, \"extra_ctx\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_route_distance\", \"description\": \"Calculate the distance between multiple waypoints\", \"parameters\": {\"type\": \"object\", \"properties\": {\"waypoints\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The list of waypoints\"}}, \"required\": [\"waypoints\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am planning a road trip and I need to know the distance between New York, Chicago and Los Angeles. Can you help me with that?"}], "chosen": "Sure, I can help you with that. Let me calculate the distance for you. <|endoftext|>", "rejected": "[{\"name\": \"calculate_route_distance\", \"arguments\": {\"waypoints\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "[{\"name\": \"map\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_stock_prices\", \"description\": \"Get the current stock prices\", \"parameters\": {\"type\": \"object\", \"properties\": {\"stocks\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The stocks for which prices will be retrieved\"}}, \"required\": [\"stocks\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you tell me the current stock prices for Apple, Microsoft and Amazon?"}], "chosen": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"]}}]", "rejected": "[{\"name\": \"get_stock_prices\", \"arguments\": {\"stocks\": [\"Apple\", \"Microsoft\", \"Amazon\"], \"extra_flag\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_gpa\", \"description\": \"Calculate the GPA based on grades and credits\", \"parameters\": {\"type\": \"object\", \"properties\": {\"grades\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The grades for each course\"}, \"credits\": {\"type\": \"array\", \"items\": {\"type\": \"number\"}, \"description\": \"The number of credits for each course\"}}, \"required\": [\"grades\", \"credits\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Okay, here they are. My grades are [\"A\", \"B\", \"A-\", \"B+\", \"A\"] and the corresponding credits are [3, 4, 3, 2, 3]."}], "chosen": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3]}}]", "rejected": "[{\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3]}}, {\"name\": \"calculate_gpa\", \"arguments\": {\"grades\": [\"A\", \"B\", \"A-\", \"B+\", \"A\"], \"credits\": [3, 4, 3, 2, 3]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly payment for a loan\", \"parameters\": {\"type\": \"object\", \"properties\": {\"principal\": {\"type\": \"number\", \"description\": \"The principal amount of the loan\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate for the loan\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in months\"}}, \"required\": [\"principal\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Sure, the principal is $200,000, the interest rate is 3.5% annually, and the term is 360 months."}], "chosen": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"principal\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "rejected": "[{\"name\": \"calculate_loan_payment\", \"arguments\": {\"principal\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}, {\"name\": \"calculate_loan_payment\", \"arguments\": {\"principal\": 200000, \"interest_rate\": 3.5, \"loan_term\": 360}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"analyze_sentiment\", \"description\": \"Analyze the sentiment of a given text\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\", \"description\": \"The text to be analyzed\"}}, \"required\": [\"text\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hey, can you tell me how my friend might feel after reading this message I wrote for her? \"I am really sorry for forgetting your birthday. I hope you can forgive me.\""}], "chosen": "Sure, I can analyze the sentiment of your message. Let me do that for you. <|endoftext|>", "rejected": "[{\"name\": \"analyze_sentiment\", \"arguments\": {\"text\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"dna2aminoacid\", \"description\": \"Transforms a DNA sequence into a sequence of Amino Acids using the RapidAPI dna2protein service.\", \"parameters\": {\"dna\": {\"description\": \"The DNA sequence to be transformed into Amino Acids.\", \"type\": \"str\", \"default\": \"TACAAAGGCTAACGTCCTAGAGCTATT\"}}}, {\"name\": \"search\", \"description\": \"Searches for the given query using the CrossRef API and returns the results.\", \"parameters\": {\"query\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"blood\"}}}, {\"name\": \"search_for_a_word_in_quran\", \"description\": \"Search for a given keyword in the English translation of the Quran and return the verses containing the keyword and total matches in JSON format.\", \"parameters\": {\"searchterm\": {\"description\": \"The keyword or phrase to search for in the Quran.\", \"type\": \"str\", \"default\": \"muhammad\"}}}, {\"name\": \"nitrous_endpoint\", \"description\": \"Sends a GET request to the Nitrous Oxide API and returns the response data.\", \"parameters\": {\"nitrous\": {\"description\": \"An optional query parameter to filter the results based on nitrous oxide levels.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"traditionalhydrotocarbonfootprint\", \"description\": \"Calculates the CO2 equivalent (CO2e) emissions from the use of traditional hydroelectric power based on consumption and location.\", \"parameters\": {\"consumption\": {\"description\": \"The KWH usage of hydroelectric power.\", \"type\": \"str\", \"default\": \"500\"}, \"location\": {\"description\": \"The country or continent providing the hydroelectric power. Can be one of \\\"USA\\\", \\\"Canada\\\", \\\"UK\\\", \\\"Europe\\\", \\\"Africa\\\", \\\"LatinAmerica\\\", \\\"MiddleEast\\\", or \\\"OtherCountry\\\".\", \"type\": \"str\", \"default\": \"UK\"}}}, {\"name\": \"v1_planets\", \"description\": \"Fetch a list of planets that match the specified parameters. The results are limited to a maximum of 30; use the `offset` parameter for pagination to access more results.\", \"parameters\": {\"max_period\": {\"description\": \"Maximum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_temperature\": {\"description\": \"Maximum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to offset for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_distance_light_year\": {\"description\": \"Minimum distance the planet is from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_mass\": {\"description\": \"Maximum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_semi_major_axis\": {\"description\": \"Maximum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_mass\": {\"description\": \"Minimum mass of the planet in Jupiters (1 Jupiter = 1.898 × 10^27 kg).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_semi_major_axis\": {\"description\": \"Minimum semi-major axis of the planet in astronomical units (AU).\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the planet. Defaults to 'Mars'.\", \"type\": \"str, optional\", \"default\": \"Mars\"}, \"min_temperature\": {\"description\": \"Minimum average surface temperature of the planet in Kelvin.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_radius\": {\"description\": \"Maximum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_radius\": {\"description\": \"Minimum average radius of the planet in Jupiters (1 Jupiter = 69911 km).\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_period\": {\"description\": \"Minimum orbital period of the planet in Earth days.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"evaluate\", \"description\": \"Evaluates a mathematical expression using the given variables and their values through the RapidAPI service.\", \"parameters\": {\"variables\": {\"description\": \"A comma-separated string listing the variables used in the expression.\", \"type\": \"str\", \"default\": \"\"}, \"values\": {\"description\": \"A comma-separated string listing the values corresponding to the variables.\", \"type\": \"str\", \"default\": \"\"}, \"expression\": {\"description\": \"The mathematical expression to be evaluated.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"v1_stars\", \"description\": \"Fetches a list of stars matching specified parameters with a maximum of 30 results per request. To access more than 30 results, use the offset parameter to paginate through multiple API calls.\", \"parameters\": {\"min_distance_light_year\": {\"description\": \"Minimum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_apparent_magnitude\": {\"description\": \"Minimum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"constellation\": {\"description\": \"Identifier of the constellation the star belongs to.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_apparent_magnitude\": {\"description\": \"Maximum apparent magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"offset\": {\"description\": \"Number of results to skip for pagination.\", \"type\": \"int, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the star. Note that many star names contain Greek characters. Default is 'vega'.\", \"type\": \"str, optional\", \"default\": \"vega\"}, \"max_absolute_magnitude\": {\"description\": \"Maximum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_absolute_magnitude\": {\"description\": \"Minimum absolute magnitude (brightness) of the star.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_distance_light_year\": {\"description\": \"Maximum distance of the star from Earth in light years.\", \"type\": \"int, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the stars visible from Earth with a minimum absolute magnitude of 2 and a maximum distance of 100 light years? Also, what planets have a maximum temperature of 400 Kelvin?"}], "chosen": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"v1_planets\", \"arguments\": {\"max_temperature\": 400}}]", "rejected": "[{\"name\": \"v1_stars\", \"arguments\": {\"min_absolute_magnitude\": 2, \"max_distance_light_year\": 100}}, {\"name\": \"evaluate\", \"arguments\": {\"max_temperature\": 400}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"total_amount\": {\"type\": \"number\", \"description\": \"The total amount of the bill\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage tip to give\"}}, \"required\": [\"total_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 20% tip."}], "chosen": "Sure, let me calculate that for you. <|endoftext|>", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"total_amount\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_movies\", \"description\": \"Search for movies based on specific criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"genre\": {\"type\": \"string\", \"description\": \"The genre of the movies\"}, \"rating\": {\"type\": \"number\", \"description\": \"The minimum rating of the movies\"}, \"year\": {\"type\": \"integer\", \"description\": \"The release year of the movies\"}}, \"required\": []}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I would prefer movies with a minimum rating of 7 and released after 2010."}], "chosen": "[{\"name\": \"search_movies\", \"arguments\": {\"genre\": \"action\", \"rating\": 7, \"year\": 2010}}]", "rejected": "[{\"name\": \"search_movies\", \"arguments\": {\"genre\": \"action_changed\", \"rating\": 7, \"year\": 2010}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_recipe\", \"description\": \"Find a recipe based on ingredients\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients available\"}, \"dietary_restrictions\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Any dietary restrictions\"}}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I have some chicken, broccoli, and cheese. Can you find me a recipe? I'm on a low-carb diet."}], "chosen": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"], \"dietary_restrictions\": [\"low-carb\"]}}]", "rejected": "[{\"name\": \"find_recipe\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\", \"x\"], \"dietary_restrictions\": [\"low-carb\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"url\", \"description\": \"Fetches data from the Magic Eden API by bypassing with the provided URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The full Magic Eden URL to be used in the request.\", \"type\": \"str\", \"default\": \"https://api-mainnet.magiceden.io/idxv2/getListedNftsByCollectionSymbol?collectionSymbol=meta_tattoo_club&direction=2&field=1&limit=20&offset=0&mode=all\"}}}, {\"name\": \"search\", \"description\": \"Search for jobs posted on various job sites using Google for Jobs with extensive filtering options.\", \"parameters\": {\"query\": {\"description\": \"Free-form job search query. It is highly recommended to include job title and location as part of the query (e.g., \\\"web development in Chicago\\\").\", \"type\": \"str\", \"default\": \"Python developer in Texas, USA\"}, \"exclude_job_publishers\": {\"description\": \"Exclude jobs published by specific publishers, specified as a comma-separated list (e.g., \\\"BeeBe,Dice\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"**[Deprecated]** Find jobs in specific categories/industries - specified as a comma-separated list of category filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"radius\": {\"description\": \"Return jobs within a certain distance from the location specified in the query (in kilometers).\", \"type\": \"int, optional\", \"default\": \"\"}, \"language\": {\"description\": \"[EXPERIMENTAL] Set the language of the results (2-letter ISO 639-1 code, default: \\\"en\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"[EXPERIMENTAL] The country/region from which to make the query (2-letter ISO 3166-1 alpha-2 code, default: \\\"us\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"employer\": {\"description\": \"Find jobs posted by specific employers - specified as a comma-separated list of employer filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"job_requirements\": {\"description\": \"Find jobs with specific requirements - specified as a comma-delimited list of values (e.g., \\\"under_3_years_experience,no_degree\\\").\", \"type\": \"str, optional\", \"default\": \"\"}, \"remote_jobs_only\": {\"description\": \"Find remote jobs only. Default is False.\", \"type\": \"bool, optional\", \"default\": \"\"}, \"job_titles\": {\"description\": \"Find jobs with specific job titles - specified as a comma-separated list of job title filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"company_types\": {\"description\": \"Find jobs posted by companies of certain types - specified as a comma-separated list of company type filter values.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_pages\": {\"description\": \"Number of pages to return, starting from the specified page. Allowed values: \\\"1-20\\\". Default is \\\"1\\\".\", \"type\": \"str, optional\", \"default\": \"1\"}, \"date_posted\": {\"description\": \"Find jobs posted within the specified time frame. Allowed values: \\\"all\\\", \\\"today\\\", \\\"3days\\\", \\\"week\\\", \\\"month\\\". Default is \\\"all\\\".\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number to return (each page includes up to 10 results). Allowed values: \\\"1-100\\\". Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"employment_types\": {\"description\": \"Find jobs of particular employment types - specified as a comma-delimited list of values (e.g., \\\"FULLTIME,PARTTIME\\\").\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"crimes_at_location\", \"description\": \"Retrieves the crimes that occurred at the specified location on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve crime data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2012-02\"}, \"lat\": {\"description\": \"The latitude of the location.\", \"type\": \"str\", \"default\": \"52.629729\"}, \"lng\": {\"description\": \"The longitude of the location.\", \"type\": \"str\", \"default\": \"-1.131592\"}}}, {\"name\": \"screenshot_endpoint\", \"description\": \"Takes a screenshot of a specified webpage URL with given dimensions.\", \"parameters\": {\"height\": {\"description\": \"The height of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1080\"}, \"url\": {\"description\": \"The URL of the webpage to capture.\", \"type\": \"str\", \"default\": \"https://rapidapi.com/marketplace\"}, \"width\": {\"description\": \"The width of the screenshot in pixels.\", \"type\": \"str\", \"default\": \"1920\"}, \"fullscreen\": {\"description\": \"Whether to capture the screenshot in fullscreen mode. Defaults to 'true'.\", \"type\": \"str, optional\", \"default\": \"true\"}}}, {\"name\": \"google_maps_data_id\", \"description\": \"Fetches the JSON results of the data ID for a specific place using the Google Maps API via RapidAPI.\", \"parameters\": {\"query\": {\"description\": \"The query string used to search for the place.\", \"type\": \"str\", \"default\": \"Statue Of Liberty\"}, \"gl\": {\"description\": \"The geographical location from which to execute the query. Defaults to 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Retrieve information from Magic Eden about the NFT collection 'DigitalArtists' using their API."}], "chosen": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists\"}}]", "rejected": "[{\"name\": \"url\", \"arguments\": {\"url\": \"https://www.magiceden.io/api/DigitalArtists_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"create_user\", \"description\": \"Create a new user account\", \"parameters\": {\"type\": \"object\", \"properties\": {\"username\": {\"type\": \"string\", \"description\": \"The username of the user\"}, \"password\": {\"type\": \"string\", \"description\": \"The password of the user\"}, \"email\": {\"type\": \"string\", \"description\": \"The email address of the user\"}}, \"required\": [\"username\", \"password\", \"email\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "The username is JohnDoe, password is JD1234, and email is johndoe@example.com."}], "chosen": "[{\"name\": \"create_user\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"JD1234\", \"email\": \"johndoe@example.com\"}}]", "rejected": "[{\"name\": \"create_user\", \"arguments\": {\"username\": \"JohnDoe\", \"password\": \"JD1234\", \"email\": \"johndoe@example.com\", \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_discount\", \"description\": \"Calculate the discount on a product\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the product\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The percentage discount on the product\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I saw a dress that I liked in a store. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much I will have to pay for it?"}], "chosen": "[{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 200, \"discount_percentage\": 20}}]", "rejected": "[{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 200, \"discount_percentage\": 20, \"extra_opts\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"author_author\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_images\", \"description\": \"Search for images based on keywords\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for\"}, \"color\": {\"type\": \"string\", \"description\": \"The color preference for images\"}}, \"required\": [\"keywords\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I need some images of sunsets. Can you find them for me?"}], "chosen": "[{\"name\": \"search_images\", \"arguments\": {\"keywords\": [\"sunset\"]}}]", "rejected": "[{\"name\": \"search_images\", \"arguments\": {\"keywords\": [\"sunset\"]}}, {\"name\": \"search_images\", \"arguments\": {\"keywords\": [\"sunset\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"play_music\", \"description\": \"Play music\", \"parameters\": {\"type\": \"object\", \"properties\": {\"song_title\": {\"type\": \"string\", \"description\": \"The title of the song\"}, \"artist\": {\"type\": \"string\", \"description\": \"The artist of the song\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the song\"}}, \"required\": [\"song_title\", \"artist\", \"genre\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Great! Can you also play \"Perfect\" by Ed Sheeran?"}], "chosen": "[{\"name\": \"play_music\", \"arguments\": {\"song_title\": \"Perfect\", \"artist\": \"Ed Sheeran\", \"genre\": \"Pop\"}}]", "rejected": " {\"name\": \"play_music\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_movie_details\", \"description\": \"Get the details of a movie (e.g. title, director, cast)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the movie\"}}, \"required\": [\"title\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's interesting. Can you also book a ticket for the same movie at my nearest cinema?"}], "chosen": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as booking movie tickets. I suggest using a movie ticket booking app or website for this purpose. <|endoftext|>", "rejected": "[{\"name\": \"get_movie_details\", \"arguments\": {\"title\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"validate_email\", \"description\": \"Validates an email address using the Send Sleuth Email Validation API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated. Defaults to 'email@gmail.com'.\", \"type\": \"str, optional\", \"default\": \"email@gmail.com\"}}}, {\"name\": \"email\", \"description\": \"Validates the given email address using the RapidAPI email validation service.\", \"parameters\": {\"email\": {\"description\": \"The email address that needs to be validated.\", \"type\": \"str\", \"default\": \"example@gmail.com\"}}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"description\": \"Checks if the given domain is disposable and provides a suggested alternative domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain to be checked.\", \"type\": \"str\", \"default\": \"domain.org\"}}}, {\"name\": \"domain\", \"description\": \"Checks if a given domain is disposable using the Mailcheck API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to check for disposability.\", \"type\": \"str\", \"default\": \"example.com\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What is the verification status of email address user@yahoo.com and is the domain disposable?"}], "chosen": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"disposable_domain_and_suggest_domain\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "rejected": "[{\"name\": \"email\", \"arguments\": {\"email\": \"user@yahoo.com\"}}, {\"name\": \"validate_email\", \"arguments\": {\"domain\": \"yahoo.com\"}}]", "category": "parallel"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_upcoming_events\", \"description\": \"Get a list of upcoming events based on user's preferences\", \"parameters\": {\"type\": \"object\", \"properties\": {\"interests\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The user's interests to filter the events\"}, \"location\": {\"type\": \"string\", \"description\": \"The location to search for events\"}}, \"required\": [\"interests\", \"location\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am interested in music and food festivals. Can you find any upcoming events in New York?"}], "chosen": "[{\"name\": \"get_upcoming_events\", \"arguments\": {\"interests\": [\"music\", \"food\"], \"location\": \"New York\"}}]", "rejected": "[{\"name\": \"get_upcoming_events\", \"arguments\": {\"interests\": [\"music\", \"food\"], \"location\": \"New York_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"find_nearby_places\", \"description\": \"Find nearby places of interest\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location to search nearby places\"}, \"radius\": {\"type\": \"integer\", \"description\": \"The radius in meters to search within\"}, \"types\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The types of places to search for\"}}, \"required\": [\"location\", \"radius\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "That's great! Can you also find some restaurants in the same radius?"}], "chosen": "[{\"name\": \"find_nearby_places\", \"arguments\": {\"location\": \"New York\", \"radius\": 5000, \"types\": [\"restaurant\"]}}]", "rejected": "[{\"name\": \"find_nearby_places\", \"arguments\": {\"location\": \"New York_changed\", \"radius\": 5000, \"types\": [\"restaurant\"]}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"search_restaurants\", \"description\": \"Search for restaurants based on a query\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"The search query\"}, \"cuisine\": {\"type\": \"string\", \"description\": \"The cuisine type\"}, \"location\": {\"type\": \"string\", \"description\": \"The location of the restaurants\"}}, \"required\": [\"query\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "I'm looking for a good Italian restaurant in New York. Can you help me?"}], "chosen": "[{\"name\": \"search_restaurants\", \"arguments\": {\"query\": \"good Italian restaurant\", \"cuisine\": \"Italian\", \"location\": \"New York\"}}]", "rejected": "[{\"name\": \"search_restaurants\", \"arguments\": {\"query\": \"good Italian restaurant\", \"cuisine\": \"Italian\", \"location\": \"New York\", \"extra_mode\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tip\", \"description\": \"Calculate the tip amount for a bill\", \"parameters\": {\"type\": \"object\", \"properties\": {\"bill_amount\": {\"type\": \"number\", \"description\": \"The total amount of the bill\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage tip to give\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 20% tip. Can you tell me how much that would be?"}], "chosen": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20}}]", "rejected": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20, \"extra_ctx\": \"x\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_stock_availability\", \"description\": \"Check the availability of a product in stock\", \"parameters\": {\"type\": \"object\", \"properties\": {\"product_id\": {\"type\": \"string\", \"description\": \"The unique identifier of the product\"}}, \"required\": [\"product_id\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to know if the product with id 'P1234' is available in stock?"}], "chosen": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\"}}]", "rejected": "Sure, let me check that for you.", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_stock_availability\", \"description\": \"Check the availability of a product in stock\", \"parameters\": {\"type\": \"object\", \"properties\": {\"product_id\": {\"type\": \"string\", \"description\": \"The unique identifier of the product\"}}, \"required\": [\"product_id\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I want to know if the product with id 'P1234' is available in stock?"}], "chosen": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234\"}}]", "rejected": "[{\"name\": \"check_stock_availability\", \"arguments\": {\"product_id\": \"P1234_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"cinemas_id_showtimes\", \"description\": \"Fetches the showtimes for a specified cinema and optionally filters by a given film.\", \"parameters\": {\"is_id\": {\"description\": \"The cinema identifier.\", \"type\": \"str\", \"default\": \"\"}, \"filmid\": {\"description\": \"The film identifier to filter showtimes. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"author_author\", \"description\": \"Fetches all poems from Poetry DB written by a specific poet.\", \"parameters\": {\"author\": {\"description\": \"The poet's name or a part of the poet's name.\", \"type\": \"str\", \"default\": \"None\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"get_by_imdb_id\", \"description\": \"Fetch movie or TV show information by IMDb ID using the specified RapidAPI key.\", \"parameters\": {\"i\": {\"description\": \"A valid IMDb ID for the movie or TV show.\", \"type\": \"str\", \"default\": \"tt0073195\"}}}, {\"name\": \"get_birthday_draws\", \"description\": \"Fetches lottery draw results for a given birthday date (in 'mm-dd' format) and returns related statistics and potentially a lucky number.\", \"parameters\": {\"date\": {\"description\": \"The birthday date in 'mm-dd' format for which to fetch the lottery draw results.\", \"type\": \"str\", \"default\": \"01-21\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What are the showtimes for cinema 'C123' and specifically for the movie 'M456' in Argentina?"}], "chosen": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "rejected": "[{\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\"}}, {\"name\": \"cinemas_id_showtimes\", \"arguments\": {\"is_id\": \"C123\", \"filmid\": \"M456\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_shipping_cost\", \"description\": \"Calculate the shipping cost of a package\", \"parameters\": {\"type\": \"object\", \"properties\": {\"weight\": {\"type\": \"number\", \"description\": \"The weight of the package in kilograms\"}, \"dimensions\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"number\", \"description\": \"The length of the package in centimeters\"}, \"width\": {\"type\": \"number\", \"description\": \"The width of the package in centimeters\"}, \"height\": {\"type\": \"number\", \"description\": \"The height of the package in centimeters\"}}, \"required\": [\"length\", \"width\", \"height\"]}, \"destination\": {\"type\": \"string\", \"description\": \"The destination of the package\"}}, \"required\": [\"weight\", \"dimensions\", \"destination\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to ship a package to New York. It weighs 5 kilograms and the dimensions are 30cm x 20cm x 10cm. Can you help me calculate the shipping cost?"}], "chosen": "[{\"name\": \"calculate_shipping_cost\", \"arguments\": {\"weight\": 5, \"dimensions\": {\"length\": 30, \"width\": 20, \"height\": 10}, \"destination\": \"New York\"}}]", "rejected": " {\"name\": \"calculate_shipping_cost\", \"arguments\": '{", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_loan_emis\", \"description\": \"Calculate monthly loan EMIs (Equated Monthly Installments)\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in months\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I am planning to take a loan of $50000 at an interest rate of 5% per annum. I want to repay it in 5 years. Can you help me calculate the monthly EMI?"}], "chosen": "[{\"name\": \"calculate_loan_emis\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 60}}]", "rejected": "[{\"name\": \"calculate_loan_emis\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 12, \"loan_term\": 60}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_sunrise_sunset_time\", \"description\": \"Get the sunrise and sunset times for a specific location\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location to get the sunrise and sunset times for\"}}, \"required\": [\"location\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "What's the sunrise and sunset time for New York today?"}], "chosen": "Let me check that for you. <|endoftext|>", "rejected": "[{\"name\": \"get_sunrise_sunset_time\", \"arguments\": {\"location\": \"value\"}}]", "category": "refusal"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"get_countries\", \"description\": \"Fetches a list of countries based on various search criteria.\", \"parameters\": {\"keyword\": {\"description\": \"Search countries by keyword. Defaults to 'ind'.\", \"type\": \"str, optional\", \"default\": \"ind\"}, \"subregion_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"state_id\": {\"description\": \"Filter countries by state ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"timezone_id\": {\"description\": \"Filter countries by timezone ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"region_id\": {\"description\": \"Filter countries by subregion ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"perpage\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"50\"}, \"is_id\": {\"description\": \"Filter countries by country ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Number of results per page. Defaults to 50.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"directions_between_2_locations\", \"description\": \"Fetches route information between two geographical locations, including distance and duration.\", \"parameters\": {\"end_lat\": {\"description\": \"Latitude of the ending point.\", \"type\": \"int\", \"default\": \"11.846\"}, \"start_lat\": {\"description\": \"Latitude of the starting point.\", \"type\": \"int\", \"default\": \"10.516\"}, \"start_lon\": {\"description\": \"Longitude of the starting point.\", \"type\": \"int\", \"default\": \"7.433\"}, \"end_lon\": {\"description\": \"Longitude of the ending point.\", \"type\": \"int\", \"default\": \"13.160\"}, \"distance_unit\": {\"description\": \"Unit of distance measurement, either 'km' (default) or 'mi'.\", \"type\": \"str, optional\", \"default\": \"km\"}}}, {\"name\": \"traveling_salesman\", \"description\": \"Solves the Traveling Salesman Problem (TSP) using the specified profile and set of coordinates, leveraging the mymappi API.\", \"parameters\": {\"coordinates\": {\"description\": \"The coordinates of the waypoints to visit, formatted as a string.\", \"type\": \"str\", \"default\": \"40.427772,-3.714630;40.407348,-3.710520;40.461178,-3.676533;40.441933,-3.650275;40.434914,-3.697337;40.451737,-3.683682\"}, \"apikey\": {\"description\": \"The API key for accessing the mymappi service.\", \"type\": \"str\", \"default\": \"YOUR_API_KEY\"}, \"profile\": {\"description\": \"The transportation profile to use (e.g., driving, walking, cycling).\", \"type\": \"str\", \"default\": \"car\"}, \"overview\": {\"description\": \"Specifies the level of detail in the returned route geometry. Default is 'simplified'.\", \"type\": \"str, optional\", \"default\": \"simplified\"}, \"roundtrip\": {\"description\": \"Determines whether the route should be a roundtrip. Default is None.\", \"type\": \"bool, optional\", \"default\": false}, \"destination\": {\"description\": \"Specifies the destination waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"source\": {\"description\": \"Specifies the source waypoint. Default is 'any'.\", \"type\": \"str, optional\", \"default\": \"any\"}, \"geometries\": {\"description\": \"The geometry format for the route. Default is 'polyline'.\", \"type\": \"str, optional\", \"default\": \"polyline\"}, \"steps\": {\"description\": \"Whether or not to include step-by-step directions. Default is None.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"facilities_lookup\", \"description\": \"Fetches a list of facilities in Tunisia based on specified criteria such as city, province, and facility type.\", \"parameters\": {\"city\": {\"description\": \"The city where the facility is located.\", \"type\": \"str\", \"default\": \"Tunis\"}, \"province\": {\"description\": \"The region where the facility is located.\", \"type\": \"str\", \"default\": \"Manouba\"}, \"type\": {\"description\": \"The type of facility to search for.\", \"type\": \"str\", \"default\": \"hospital\"}, \"limit\": {\"description\": \"The maximum number of facilities to return. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Calculate the distance and time it takes to travel from New York City to Los Angeles, considering the starting point at latitude 40.7128° N and longitude 74.0060° W, and the destination at latitude 34.0522° N and longitude 118.2437° W."}], "chosen": "[{\"name\": \"directions_between_2_locations\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "rejected": "[{\"name\": \"facilities_lookup\", \"arguments\": {\"end_lat\": 34.0522, \"start_lat\": 40.7128, \"start_lon\": 74.006, \"end_lon\": 118.2437}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"generate_barcode\", \"description\": \"Generate a barcode image\", \"parameters\": {\"type\": \"object\", \"properties\": {\"data\": {\"type\": \"string\", \"description\": \"The data to be encoded in the barcode\"}, \"format\": {\"type\": \"string\", \"description\": \"The barcode format (e.g. QR code, UPC)\"}}, \"required\": [\"data\", \"format\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need a barcode for my new product. The data is \"1234567890\" and I want it in QR code format."}], "chosen": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code\"}}]", "rejected": "[{\"name\": \"generate_barcode\", \"arguments\": {\"data\": \"1234567890\", \"format\": \"QR code_changed\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"planet_vector_tiles\", \"description\": \"Retrieves global planet vector tiles in Protocolbuffer Binary Format (PBF) from the specified map service.\", \"parameters\": {\"y\": {\"description\": \"The y coordinate (tile row) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"x\": {\"description\": \"The x coordinate (tile column) of the map tile.\", \"type\": \"str\", \"default\": \"1\"}, \"z\": {\"description\": \"The zoom level of the map tile.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"lookup_coordinates\", \"description\": \"Converts US latitude and longitude coordinates into local city information by querying the Reverse Geocode Locator API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude coordinate.\", \"type\": \"int\", \"default\": \"40.785091\"}, \"long\": {\"description\": \"The longitude coordinate.\", \"type\": \"str\", \"default\": \"-73.968285\"}}}, {\"name\": \"get_zip_code_in_mexico\", \"description\": \"Fetches and returns data for a given zip code in Mexico using the Toolbench RapidAPI.\", \"parameters\": {\"zipcode\": {\"description\": \"The Mexican zip code to retrieve data for.\", \"type\": \"str\", \"default\": \"32390\"}}}, {\"name\": \"map\", \"description\": \"Fetches a map image in WMTS format based on the given parameters.\", \"parameters\": {\"tilerow\": {\"description\": \"The WMTS tile row number (latitude direction).\", \"type\": \"int\", \"default\": \"25806\"}, \"tilematrix\": {\"description\": \"The tile matrix, specified in the format `[EPSG code]:[Scale value]`.\", \"type\": \"str\", \"default\": \"EPSG:3857:16\"}, \"tilecol\": {\"description\": \"The WMTS tile column number (longitude direction).\", \"type\": \"int\", \"default\": \"58211\"}, \"rotationangle\": {\"description\": \"Angle to rotate the map image. Valid range is 0 to 359, default is 0.\", \"type\": \"int, optional\", \"default\": \"\"}, \"mapstyle\": {\"description\": \"Design of the map. Format is `[design]_[annotation size]`, default is `std_pc`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"landmarkicon\": {\"description\": \"Display of landmark icons. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"resolution\": {\"description\": \"Resolution of the map image. Values can be `1`, `2`, or `4`, default is `1`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contour\": {\"description\": \"Display of contour lines. `on` for display, `off` for hide, default is `on`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"bldgname\": {\"description\": \"Display of building names. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"logo\": {\"description\": \"Display of brand logos. `on` for display, `off` for hide, default is `off`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"target\": {\"description\": \"Display contents of the map. Values can be `1` for background only, `2` for annotations only, `3` for both, default is `3`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"Output image format. Values can be `image/png` or `image/jpeg`, default is `image/png`.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"autosuggest\", \"description\": \"Fetches suggestions for a search term near a specified geographic point, filtered by various parameters.\", \"parameters\": {\"name\": {\"description\": \"The query term on which to search.\", \"type\": \"str\", \"default\": \"don\"}, \"lon\": {\"description\": \"Longitude of the selected point.\", \"type\": \"int\", \"default\": \"-70.65\"}, \"radius\": {\"description\": \"Maximum distance from the selected point in meters.\", \"type\": \"int\", \"default\": \"5000\"}, \"lang\": {\"description\": \"Language code (2 characters, ISO639-1). Available values include 'en' for English and 'ru' for Russian.\", \"type\": \"str\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the selected point.\", \"type\": \"int\", \"default\": \"-33.437\"}, \"kinds\": {\"description\": \"Object category. Multiple comma-separated categories may be stated with OR logic. Defaults to 'foods'.\", \"type\": \"str, optional\", \"default\": \"foods\"}, \"rate\": {\"description\": \"Minimum rating of the object popularity. Available values include 1, 2, 3 for basic ratings, and 1h, 2h, 3h for cultural heritage ratings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"src_attr\": {\"description\": \"The source of the object attributes. Multiple sources separated by commas are allowed. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra, user.\", \"type\": \"str, optional\", \"default\": \"\"}, \"format\": {\"description\": \"The output format. Defaults to None, which uses GeoJSON. Available values include 'json' and 'geojson'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of returned objects. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"src_geom\": {\"description\": \"The source of the object geometry. Defaults to None. Available sources include osm, wikidata, snow, cultura.ru, rosnedra.\", \"type\": \"str, optional\", \"default\": \"\"}}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Can you fetch vector tiles for a map at zoom level 10, x coordinate 500, and y coordinate 300?"}], "chosen": "[{\"name\": \"planet_vector_tiles\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "rejected": "[{\"name\": \"autosuggest\", \"arguments\": {\"y\": \"300\", \"x\": \"500\", \"z\": \"10\"}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount\", \"parameters\": {\"type\": \"object\", \"properties\": {\"subtotal\": {\"type\": \"number\", \"description\": \"The subtotal amount\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate\"}}, \"required\": [\"subtotal\", \"tax_rate\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to calculate the tax for a subtotal of $500 with a tax rate of 5%. Can you help me with that?"}], "chosen": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05}}]", "rejected": "[{\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05}}, {\"name\": \"calculate_tax\", \"arguments\": {\"subtotal\": 500, \"tax_rate\": 0.05}}]", "category": "single"} {"prompt": [{"role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out and refuse to answer.\nIf the given question lacks the parameters required by the function, also point it out.\n\nHere is a list of functions in JSON format that you can invoke:\n[{\"name\": \"check_flight_status\", \"description\": \"Check the status of a flight\", \"parameters\": {\"type\": \"object\", \"properties\": {\"flight_number\": {\"type\": \"string\", \"description\": \"The flight number\"}, \"date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The date of the flight\"}, \"airline\": {\"type\": \"string\", \"description\": \"The airline of the flight\"}}, \"required\": [\"flight_number\", \"date\"]}}]\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please directly output an empty list '[]'\n```\n[{\"name\": \"func_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}}]\n```"}, {"role": "user", "content": "Hi, I need to check the status of my flight. It's BA 2156 on 2022-03-25."}], "chosen": "[{\"name\": \"check_flight_status\", \"arguments\": {\"flight_number\": \"BA 2156\", \"date\": \"2022-03-25\"}}]", "rejected": "[{\"name\": \"check_flight_status\", \"arguments\": {\"flight_number\": \"BA 2156\", \"date\": \"2022-03-25_changed\"}}]", "category": "single"}