id
stringlengths
40
42
messages
listlengths
3
3
source
stringclasses
1 value
Salesforce/xlam-function-calling-60k_57707
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"collection\", \"description\": \"Fetches TLE (Two-Line Element) data from the TLE API based on the specified search query.\", \"parameters\": {\"search\": {\"description\": \"The search term to query the API. Defaults to 'ISS'.\", \"type\": \"str\", \"default\": \"ISS\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_28779
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"find_longest_palindromic_substring\", \"description\": \"Finds the longest palindromic substring in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"binary_addition\", \"description\": \"Adds two binary numbers and returns the result as a binary string.\", \"parameters\": {\"a\": {\"description\": \"The first binary number.\", \"type\": \"str\"}, \"b\": {\"description\": \"The second binary number.\", \"type\": \"str\"}}}, {\"name\": \"cell_density\", \"description\": \"Calculates the cell density based on the optical density (OD) and dilution factor.\", \"parameters\": {\"od\": {\"description\": \"The optical density of the sample.\", \"type\": \"float\", \"default\": 1000000000.0}, \"dilution\": {\"description\": \"The dilution factor applied to the sample.\", \"type\": \"int\", \"default\": 1000000000.0}, \"factor\": {\"description\": \"The calibration factor for converting OD to cell density. Defaults to 1e9.\", \"type\": \"float, optional\"}}}, {\"name\": \"california_alimony\", \"description\": \"Calculates the total alimony one spouse would have to pay to the other in California over a given duration.\", \"parameters\": {\"payor_monthly_income\": {\"description\": \"The monthly gross income of the payor spouse.\", \"type\": \"int\"}, \"recipient_monthly_income\": {\"description\": \"The monthly gross income of the recipient spouse.\", \"type\": \"int\"}, \"duration_years\": {\"description\": \"The duration of the alimony in years.\", \"type\": \"int\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_57219
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"trim_view\", \"description\": \"Fetches and returns all data associated with a specific vehicle trim using the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the vehicle trim to retrieve.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"city_list\", \"description\": \"Fetches a list of valid cities for a given province using the Canadian Gas Prices API.\", \"parameters\": {\"province\": {\"description\": \"The name of the province for which to fetch the list of cities.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_40172
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"redeploy\", \"description\": \"Redeploys a Docker instance of the specified phone. This function can be used to reboot the instance if the phone is experiencing unexpected problems.\", \"parameters\": {\"phone_id\": {\"description\": \"The unique identifier of the phone whose Docker instance is to be redeployed.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_34374
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"solve_quadratic\", \"description\": \"Computes the roots of a quadratic equation given its coefficients.\", \"parameters\": {\"a\": {\"description\": \"The coefficient of the quadratic term (x^2).\", \"type\": \"float\"}, \"b\": {\"description\": \"The coefficient of the linear term (x).\", \"type\": \"float\"}, \"c\": {\"description\": \"The constant term.\", \"type\": \"float\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_5828
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"cnpj\", \"description\": \"Fetch company data by CNPJ (Cadastro Nacional da Pessoa Jur\\u00eddica) using the RapidAPI service.\", \"parameters\": {\"cnpj\": {\"description\": \"The CNPJ number of the company to fetch data for.\", \"type\": \"str\", \"default\": \"22543331000100\"}}}, {\"name\": \"search\", \"description\": \"Search for airplane information by name using the RapidAPI service.\", \"parameters\": {\"search\": {\"description\": \"The name of the airplane to search for.\", \"type\": \"str\", \"default\": \"a380\"}}}, {\"name\": \"search_country\", \"description\": \"Search for a country to see if they have an active pageant contest.\", \"parameters\": {\"search\": {\"description\": \"The search string to query for active pageant contests in a country.\", \"type\": \"str\", \"default\": \"philippines\"}}}, {\"name\": \"business_phone_search\", \"description\": \"Search for relevant businesses in the Data Axle database based on the given parameters.\", \"parameters\": {\"limit\": {\"description\": \"The maximum number of results to return.\", \"type\": \"str\", \"default\": \"20\"}, \"query\": {\"description\": \"The search query for finding businesses.\", \"type\": \"str\", \"default\": \"4162287300\"}, \"packages\": {\"description\": \"The specific data packages to include in the search.\", \"type\": \"str\", \"default\": \"standard_v1\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_34661
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"euclidean_distance\", \"description\": \"Computes the Euclidean distance between two points in a 2D plane.\", \"parameters\": {\"point_a\": {\"description\": \"The coordinates of the first point (x, y).\", \"type\": \"Tuple[float, float]\"}, \"point_b\": {\"description\": \"The coordinates of the second point (x, y).\", \"type\": \"Tuple[float, float]\"}}}, {\"name\": \"chi_square_independence_test\", \"description\": \"Performs a Chi-Square test for independence on a 2x2 contingency table.\", \"parameters\": {\"contingency_table\": {\"description\": \"A 2x2 contingency table represented as a list of lists.\", \"type\": \"List[List[int]]\", \"default\": 0.05}, \"significance_level\": {\"description\": \"The significance level for the Chi-Square test. Defaults to 0.05.\", \"type\": \"float, optional\", \"default\": 0.05}}}, {\"name\": \"density\", \"description\": \"Calculates the density of an object given its mass and volume.\", \"parameters\": {\"mass\": {\"description\": \"The mass of the object.\", \"type\": \"float\"}, \"volume\": {\"description\": \"The volume of the object.\", \"type\": \"float\"}}}, {\"name\": \"create_histogram\", \"description\": \"Create a histogram based on provided data.\", \"parameters\": {\"data\": {\"description\": \"The data for which histogram needs to be plotted.\", \"type\": \"list\", \"default\": 10}, \"bins\": {\"description\": \"The number of equal-width bins in the range. Default is 10.\", \"type\": \"int\", \"default\": 10}}}, {\"name\": \"final_velocity\", \"description\": \"Calculates the final velocity of an object given its initial velocity, acceleration, and time.\", \"parameters\": {\"initial_velocity\": {\"description\": \"The initial velocity of the object.\", \"type\": \"float\"}, \"acceleration\": {\"description\": \"The acceleration of the object.\", \"type\": \"float\"}, \"time\": {\"description\": \"The time elapsed.\", \"type\": \"float\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_19038
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"cosine_similarity\", \"description\": \"Calculates the cosine similarity between two vectors.\", \"parameters\": {\"vector_a\": {\"description\": \"The first vector.\", \"type\": \"List[float]\"}, \"vector_b\": {\"description\": \"The second vector.\", \"type\": \"List[float]\"}}}, {\"name\": \"batting_average\", \"description\": \"Calculates the batting average of a baseball player based on the number of hits and at-bats.\", \"parameters\": {\"num_hits\": {\"description\": \"The number of hits.\", \"type\": \"int\", \"default\": 3}, \"num_at_bats\": {\"description\": \"The number of at-bats.\", \"type\": \"int\", \"default\": 3}, \"precision\": {\"description\": \"The number of decimal places to round the batting average. Defaults to 3.\", \"type\": \"int, optional\"}}}, {\"name\": \"convert_cooking_measurements\", \"description\": \"Converts a quantity of a cooking ingredient from one measurement unit to another.\", \"parameters\": {\"quantity\": {\"description\": \"The quantity of the item to convert.\", \"type\": \"float\"}, \"from_unit\": {\"description\": \"The unit of the input quantity (e.g., 'cup', 'gram').\", \"type\": \"str\"}, \"to_unit\": {\"description\": \"The unit to which the quantity should be converted (e.g., 'ounce', 'kilogram').\", \"type\": \"str\"}, \"item\": {\"description\": \"The cooking ingredient being converted (e.g., 'flour', 'sugar').\", \"type\": \"str\"}}}, {\"name\": \"find_kth_smallest_number\", \"description\": \"Finds the kth smallest number in a list.\", \"parameters\": {\"nums\": {\"description\": \"The list of numbers.\", \"type\": \"List[int]\"}, \"k\": {\"description\": \"The position (1-based index) of the smallest number to find.\", \"type\": \"int\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_46693
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"minutely\", \"description\": \"Fetches minute-by-minute precipitation forecast for the next 60 minutes, updated in real-time using AI nowcasting models.\", \"parameters\": {\"place_id\": {\"description\": \"Identifier of a place. Used to specify the location. If not provided, use `lat` and `lon`. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"timezone\": {\"description\": \"Timezone for the date fields. If not specified, local timezone of the forecast location will be used. Formats like 'Europe/Prague' or 'UTC' can be used, or 'auto' to use local timezone. Defaults to 'auto'.\", \"type\": \"str, optional\", \"default\": \"auto\"}, \"lat\": {\"description\": \"Latitude of the location. Specify in formats like '12N', '12.3N', '12.3', or '-13.4'. Defaults to '37.81021'.\", \"type\": \"str, optional\", \"default\": \"37.81021\"}, \"language\": {\"description\": \"Language for text summaries. Available languages are 'en' (default), 'es', 'fr', 'de', 'pl', 'cs'. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"units\": {\"description\": \"Unit system to be used. Values can be 'auto' (default), 'metric', 'us', 'uk', 'ca'. Defaults to 'auto'.\", \"type\": \"str, optional\", \"default\": \"auto\"}, \"lon\": {\"description\": \"Longitude of the location. Specify in formats like '12E', '12.3E', '12.3', or '-13.4'. Defaults to '-122.42282'.\", \"type\": \"str, optional\", \"default\": \"-122.42282\"}}}, {\"name\": \"daily_forecast_5_days\", \"description\": \"Fetch a 5-day daily weather forecast for the specified geographic coordinates.\", \"parameters\": {\"longitude\": {\"description\": \"The longitude of the location for which the forecast is to be retrieved.\", \"type\": \"str\", \"default\": \"103.86\"}, \"latitude\": {\"description\": \"The latitude of the location for which the forecast is to be retrieved.\", \"type\": \"str\", \"default\": \"1.28\"}}}, {\"name\": \"get_humidty\", \"description\": \"Fetches the humidity data for a specified city using the Toolbench RapidAPI.\", \"parameters\": {\"city\": {\"description\": \"The name of the city to get the humidity information for.\", \"type\": \"str\", \"default\": \"New York\"}}}, {\"name\": \"ski_weather_api\", \"description\": \"Fetches ski weather forecasts from the World Weather Online API for a specified location.\", \"parameters\": {\"q\": {\"description\": \"The location query (e.g., city name, latitude/longitude).\", \"type\": \"str\", \"default\": \"45.45,6.7\"}, \"tp\": {\"description\": \"Time period for the weather forecast (e.g., '3 hourly'). Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"lang\": {\"description\": \"The language code for the weather forecast (default is 'en' for English).\", \"type\": \"str, optional\", \"default\": \"en\"}, \"format\": {\"description\": \"The response format, such as 'json' or 'xml'. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"num_of_days\": {\"description\": \"The number of days for the weather forecast, with a maximum of 7 days. Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_29390
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"linear_regression_prediction\", \"description\": \"Predicts the y-value for a given x-value using linear regression.\", \"parameters\": {\"x_values\": {\"description\": \"The x-coordinates of the data points.\", \"type\": \"List[float]\"}, \"y_values\": {\"description\": \"The y-coordinates of the data points.\", \"type\": \"List[float]\"}, \"target_x\": {\"description\": \"The x-value for which to predict the y-value.\", \"type\": \"float\"}}}, {\"name\": \"california_alimony\", \"description\": \"Calculates the total alimony one spouse would have to pay to the other in California over a given duration.\", \"parameters\": {\"payor_monthly_income\": {\"description\": \"The monthly gross income of the payor spouse.\", \"type\": \"int\"}, \"recipient_monthly_income\": {\"description\": \"The monthly gross income of the recipient spouse.\", \"type\": \"int\"}, \"duration_years\": {\"description\": \"The duration of the alimony in years.\", \"type\": \"int\"}}}, {\"name\": \"mean_confidence_interval\", \"description\": \"Calculates the confidence interval for a sample mean.\", \"parameters\": {\"std_dev\": {\"description\": \"The standard deviation of the sample.\", \"type\": \"float\", \"default\": 0.95}, \"sample_size\": {\"description\": \"The size of the sample.\", \"type\": \"int\", \"default\": 0.95}, \"mean\": {\"description\": \"The mean of the sample.\", \"type\": \"float\"}, \"confidence\": {\"description\": \"The desired confidence level. Default is 0.95.\", \"type\": \"float, optional\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_53010
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"generate\", \"description\": \"Generate payment card numbers based on the specified quantity and scheme.\", \"parameters\": {\"quantity\": {\"description\": \"The number of payment card numbers to generate. Defaults to 5.\", \"type\": \"int, optional\", \"default\": \"5\"}, \"scheme\": {\"description\": \"The scheme of the payment card numbers (e.g., 'visa', 'mastercard'). If not specified, defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"get_crime_rates_by_zip\", \"description\": \"Retrieve crime statistics for a given ZIP code using the Crime Data by Zipcode API.\", \"parameters\": {\"zip\": {\"description\": \"ZIP code to retrieve crime data for.\", \"type\": \"int\", \"default\": \"94109\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_40698
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"states_list\", \"description\": \"Fetches a list of states with optional filtering and sorting criteria.\", \"parameters\": {\"country_id\": {\"description\": \"The ID of the country to filter states by.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sortorder\": {\"description\": \"The order in which to sort the results. Can be 'asc' for ascending or 'desc' for descending.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sortby\": {\"description\": \"The field by which to sort the results (e.g., 'name', 'code').\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"The maximum number of results to retrieve.\", \"type\": \"int, optional\", \"default\": \"\"}, \"country_code\": {\"description\": \"The code of the country to filter states by. Defaults to 'IN'.\", \"type\": \"str, optional\", \"default\": \"IN\"}, \"country_name\": {\"description\": \"The name of the country to filter states by.\", \"type\": \"str, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_57644
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"search\", \"description\": \"Search for E-Sports players, teams, and tournaments by providing a search term.\", \"parameters\": {\"term\": {\"description\": \"The search term used to find E-Sports entities.\", \"type\": \"str\", \"default\": \"ATK\"}}}, {\"name\": \"card\", \"description\": \"Draw a card from a regular 52-card playing deck using the RapidAPI card draw simulator.\", \"parameters\": {\"suit\": {\"description\": \"The suit of the card to draw (e.g., 'hearts', 'diamonds', 'clubs', 'spades'). Default is 'all' to allow any suit.\", \"type\": \"str\", \"default\": \"all\"}, \"value\": {\"description\": \"The value of the card to draw (e.g., 'A', '2', 'K'). Default is 'A'.\", \"type\": \"str\", \"default\": \"A\"}}}, {\"name\": \"get_player_info\", \"description\": \"Fetches and returns information about a Valorant esports player using the RapidAPI service.\", \"parameters\": {\"playerid\": {\"description\": \"The unique identifier of the player.\", \"type\": \"str\", \"default\": \"93\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_39655
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"title_get_sound_tracks\", \"description\": \"Fetches the sound tracks for a specific title from the online movie database.\", \"parameters\": {\"tconst\": {\"description\": \"The title identifier, which should start with 'tt' (e.g., 'tt0944947'), typically obtained from the /title/auto-complete or /title/find endpoints.\", \"type\": \"str\", \"default\": \"tt0944947\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_35153
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"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\": \"is_palindrome\", \"description\": \"Checks if a string is a palindrome.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"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\": \"is_armstrong_number\", \"description\": \"Checks if a number is an Armstrong number.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"find_majority_element\", \"description\": \"Finds the majority element in a list, which appears more than \\u230an / 2\\u230b times.\", \"parameters\": {\"nums\": {\"description\": \"The input list of integers.\", \"type\": \"List[int]\"}}}, {\"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\": \"is_anagram_phrase\", \"description\": \"Checks if two phrases are anagrams of each other, ignoring whitespace and punctuation.\", \"parameters\": {\"phrase1\": {\"description\": \"The first phrase.\", \"type\": \"str\"}, \"phrase2\": {\"description\": \"The second phrase.\", \"type\": \"str\"}}}, {\"name\": \"calculate_grade\", \"description\": \"Calculates the weighted average grade based on scores and their corresponding weights.\", \"parameters\": {\"scores\": {\"description\": \"A list of scores.\", \"type\": \"List[float]\"}, \"weights\": {\"description\": \"A list of weights corresponding to each score.\", \"type\": \"List[float]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_25903
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_an_answer_to_your_question\", \"description\": \"Fetches an answer to an Islamic question using the Islam&AI bot from the provided API.\", \"parameters\": {\"question\": {\"description\": \"The Islamic question to be answered.\", \"type\": \"str\", \"default\": \"What is Islam?\"}}}, {\"name\": \"getdownloadurl\", \"description\": \"Generates an mp3 download URL using a Text-to-Speech (TTS) engine for the provided text and voice.\", \"parameters\": {\"text\": {\"description\": \"The text to be converted to speech.\", \"type\": \"str\", \"default\": \"Are you alright?\"}, \"voice_name\": {\"description\": \"The voice and language for the speech synthesis. Default is 'en-US-AriaNeural'.\", \"type\": \"str, optional\", \"default\": \"en-US-AriaNeural\"}}}, {\"name\": \"get_products_in_category\", \"description\": \"Fetches products in a specified category from the demo project's catalog.\", \"parameters\": {\"skip\": {\"description\": \"The number of items to skip for pagination.\", \"type\": \"int\", \"default\": \"\"}, \"limit\": {\"description\": \"The maximum number of items to return for pagination.\", \"type\": \"int\", \"default\": \"\"}, \"category\": {\"description\": \"The category from which to retrieve products.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"get_products\", \"description\": \"Fetches a list of products from an external API.\", \"parameters\": {\"skip\": {\"description\": \"Number of items to skip in the product list.\", \"type\": \"int\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of items to retrieve in the product list.\", \"type\": \"int\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_49716
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"channel_details\", \"description\": \"Fetches all available details for a given YouTube channel ID.\", \"parameters\": {\"channel_id\": {\"description\": \"The ID of the YouTube channel to retrieve details for.\", \"type\": \"str\", \"default\": \"UCXuqSBlHAE6Xw-yeJA0Tunw\"}}}, {\"name\": \"avatar\", \"description\": \"Generates an avatar with the initials derived from the given name and various customization options.\", \"parameters\": {\"name\": {\"description\": \"The name from which to derive the initials. Default is 'john doe'.\", \"type\": \"str, optional\", \"default\": \"john doe\"}, \"rounded\": {\"description\": \"If True, the avatar will be rounded. Default is None.\", \"type\": \"bool, optional\", \"default\": true}, \"uppercase\": {\"description\": \"If True, the initials will be in uppercase. Default is None.\", \"type\": \"bool, optional\", \"default\": true}, \"font_size\": {\"description\": \"The font size of the initials, ranging from 0 to 1. Default is 0.\", \"type\": \"int, optional\", \"default\": \"0.5\"}, \"length\": {\"description\": \"The number of initials to display. Default is 2.\", \"type\": \"int, optional\", \"default\": \"2\"}, \"size\": {\"description\": \"The font size of the initials, ranging from 0 to 1. Default is 0.\", \"type\": \"int, optional\", \"default\": \"128\"}, \"background\": {\"description\": \"The background color of the avatar in RRGGBB hex format. Default is '000000'.\", \"type\": \"str, optional\", \"default\": \"000000\"}, \"color\": {\"description\": \"The color of the initials in RRGGBB hex format. Default is 'ffffff'.\", \"type\": \"str, optional\", \"default\": \"ffffff\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_22841
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"financial_income_statement\", \"description\": \"Fetches the financial income statement for a given company ticker symbol, formatted by the specified style and frequency.\", \"parameters\": {\"symbol\": {\"description\": \"The ticker symbol of the company to retrieve financial information for.\", \"type\": \"str\", \"default\": \"AAPL\"}, \"formstyle\": {\"description\": \"The format style of the returned data. Defaults to 'dataframe'.\", \"type\": \"str, optional\", \"default\": \"dataframe\"}, \"freq\": {\"description\": \"The frequency of the financial data, either 'A' for annual or 'Q' for quarterly. Defaults to 'Q'.\", \"type\": \"str, optional\", \"default\": \"Q\"}}}, {\"name\": \"stockprice\", \"description\": \"Fetches live stock price updates for a given stock symbol from the specified API.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol/ticker (e.g., TSLA, AAPL) for which to retrieve the live price.\", \"type\": \"str\", \"default\": \"TSLA\"}}}, {\"name\": \"maxindex\", \"description\": \"Fetches the index of the highest value over a specified period (MAXINDEX) using the Twelve Data API.\", \"parameters\": {\"interval\": {\"description\": \"Interval between two consecutive points in the time series. Supported values: `1min`, `5min`, `15min`, `30min`, `45min`, `1h`, `2h`, `4h`, `1day`, `1week`, `1month`.\", \"type\": \"str\", \"default\": \"1min\"}, \"symbol\": {\"description\": \"Instrument symbol, which can be any equity, index, ETF, forex, or cryptocurrency (e.g., `AAPL`, `EUR/USD`, `ETH/BTC`).\", \"type\": \"str\", \"default\": \"AAPL\"}, \"time_period\": {\"description\": \"The number of data points to consider. Defaults to 9.\", \"type\": \"int, optional\", \"default\": 9}, \"series_type\": {\"description\": \"Type of series data to retrieve. Supported values: `open`, `high`, `low`, `close`. Defaults to 'close'.\", \"type\": \"str, optional\", \"default\": \"close\"}, \"outputsize\": {\"description\": \"The amount of data to retrieve. Default is 30 if no date parameters are set, otherwise it is set to maximum.\", \"type\": \"int, optional\", \"default\": 30}, \"format\": {\"description\": \"The format to receive the data in. Supported values: `CSV`, `JSON`. Defaults to 'json'.\", \"type\": \"str, optional\", \"default\": \"json\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_6892
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"is_valid_sudoku\", \"description\": \"Checks if a 9x9 Sudoku board is valid.\", \"parameters\": {\"board\": {\"description\": \"The Sudoku board represented as a 2D list of strings.\", \"type\": \"List[List[str]]\"}}}, {\"name\": \"calculate_angle\", \"description\": \"Calculates the angle between the hour and minute hands of a clock.\", \"parameters\": {\"hour\": {\"description\": \"The hour value (1-12).\", \"type\": \"int\"}, \"minute\": {\"description\": \"The minute value (0-59).\", \"type\": \"int\"}}}, {\"name\": \"compound_interest\", \"description\": \"Calculates the compound interest of an investment.\", \"parameters\": {\"principal\": {\"description\": \"The initial investment amount.\", \"type\": \"float\", \"default\": 1}, \"rate\": {\"description\": \"The annual interest rate expressed as a decimal.\", \"type\": \"float\", \"default\": 1}, \"time\": {\"description\": \"The time in years for which the investment is held.\", \"type\": \"float\"}, \"n\": {\"description\": \"The number of times interest is compounded per year. Defaults to 1.\", \"type\": \"int, optional\"}}}, {\"name\": \"find_peak_element\", \"description\": \"Finds a peak element in a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_9071
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"balance_sheet_statement\", \"description\": \"Fetches the balance sheet statement of a specified company by its ticker symbol.\", \"parameters\": {\"ticker\": {\"description\": \"The ticker symbol of the company whose balance sheet statement is to be retrieved.\", \"type\": \"str\", \"default\": \"AAPL\"}}}, {\"name\": \"get_country_info\", \"description\": \"Fetches country information based on specified criteria.\", \"parameters\": {\"value\": {\"description\": \"The value to query by, such as an ISO code (e.g., 'DE') or a country name (e.g., 'Germany'). Defaults to 'DE'.\", \"type\": \"str, optional\", \"default\": \"DE\"}, \"param\": {\"description\": \"The parameter type for the query, such as 'ISO' for ISO codes or 'countryName' for country names. Defaults to 'ISO'.\", \"type\": \"str, optional\", \"default\": \"ISO\"}}}, {\"name\": \"all_coins_ticker\", \"description\": \"Fetches ticker information for a range of cryptocurrencies.\", \"parameters\": {\"start\": {\"description\": \"The starting index for fetching tickers.\", \"type\": \"int\", \"default\": \"0\"}, \"limit\": {\"description\": \"The number of tickers to fetch from the starting index.\", \"type\": \"int\", \"default\": \"100\"}}}, {\"name\": \"all_crypto\", \"description\": \"Fetches a datatable of cryptocurrency information from the RapidAPI endpoint.\", \"parameters\": {\"page\": {\"description\": \"The page number of the data to retrieve. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}, \"lang\": {\"description\": \"The language code for the data. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"getfscore\", \"description\": \"Fetches the Piotroski F-Score for a given stock ticker using the RapidAPI service.\", \"parameters\": {\"ticker\": {\"description\": \"The stock ticker symbol for which the F-Score is to be retrieved.\", \"type\": \"str\", \"default\": \"AAPL\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_1805
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}, {\"name\": \"note_duration\", \"description\": \"Calculates the duration between two musical notes based on their frequencies and the tempo.\", \"parameters\": {\"freq1\": {\"description\": \"The frequency of the first note in Hz.\", \"type\": \"int\", \"default\": 120}, \"freq2\": {\"description\": \"The frequency of the second note in Hz.\", \"type\": \"int\", \"default\": 120}, \"bpm\": {\"description\": \"The tempo of the music in beats per minute. Defaults to 120.\", \"type\": \"int, optional\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_23040
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"music_posts\", \"description\": \"Fetches posts related to a specific music ID from the TikTok API.\", \"parameters\": {\"music_id\": {\"description\": \"The ID of the music for which to fetch posts.\", \"type\": \"str\", \"default\": \"\"}, \"count\": {\"description\": \"Number of posts to fetch. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"offset\": {\"description\": \"Number of posts to skip before starting to collect the posts. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"0\"}, \"proxy\": {\"description\": \"Proxy server to use for the request. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"v1_sticker\", \"description\": \"Fetches information related to specific stickers given their IDs from the RapidAPI service.\", \"parameters\": {\"sticker_ids\": {\"description\": \"Comma-separated string of sticker IDs to fetch information for.\", \"type\": \"str\", \"default\": \"1108584,1108584\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_32931
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"listportfolios\", \"description\": \"Fetches a list of portfolios from the Trader Wagon API based on the given parameters.\", \"parameters\": {\"limit\": {\"description\": \"The number of results to return. Default is 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"portfoliotype\": {\"description\": \"The type of portfolio to filter by. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"available\": {\"description\": \"Specifies whether to list only available portfolios. Default is 0.\", \"type\": \"int, optional\", \"default\": \"0\"}}}, {\"name\": \"get_exchange_pairs\", \"description\": \"Retrieves the top 100 exchange pairs for a given exchange ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the exchange for which to retrieve pairs.\", \"type\": \"int\", \"default\": \"5\"}}}, {\"name\": \"spac_calendar\", \"description\": \"Fetch important SPAC dates from the calendar API based on the specified type.\", \"parameters\": {\"type\": {\"description\": \"The type of SPAC date information desired. Available options are 'merger', 'split', 'deadline', and 'redemption'.\", \"type\": \"str\", \"default\": \"redemption\"}}}, {\"name\": \"stock_v2_get_financials\", \"description\": \"Fetches financial data for a given stock based on performance ID, report type, and interval.\", \"parameters\": {\"performanceid\": {\"description\": \"Value of the performanceId field obtained from endpoints like /auto-complete, /get-summary, or /get-movers.\", \"type\": \"str\", \"default\": \"0P0000OQN8\"}, \"reporttype\": {\"description\": \"Type of report to retrieve. 'R' for Restated, 'A' for As originally reported. Defaults to 'A'.\", \"type\": \"str, optional\", \"default\": \"A\"}, \"interval\": {\"description\": \"Interval for the financial data. Choices are 'quarterly' or 'annual'. Defaults to 'annual'.\", \"type\": \"str, optional\", \"default\": \"annual\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_7225
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"query_horses\", \"description\": \"Queries horses by name using the Horse Racing API and returns the results.\", \"parameters\": {\"name\": {\"description\": \"The name of the horse to search for. Must be a minimum of 3 characters.\", \"type\": \"str\", \"default\": \"ZANAHIYR\"}}}, {\"name\": \"listofallconstructorswithinaraceinayear\", \"description\": \"Fetches a list of all constructors for a specific race (round) within a given season (year).\", \"parameters\": {\"year\": {\"description\": \"The year of the Formula 1 season.\", \"type\": \"str\", \"default\": \"year\"}, \"round\": {\"description\": \"The specific race (round) within the season.\", \"type\": \"str\", \"default\": \"round\"}}}, {\"name\": \"get_matches_on_a_specific_date\", \"description\": \"Fetches the matches scheduled on a specific date, considering the provided UTC offset.\", \"parameters\": {\"date\": {\"description\": \"The date for which to query the matches, in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2022-11-22\"}, \"utc_offset\": {\"description\": \"The UTC offset to cater to the required timezone. Default is 8. Must be between -12 to 14.\", \"type\": \"int, optional\", \"default\": \"8\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_46452
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"top_popular_posts\", \"description\": \"Fetches the top popular posts from Reddit based on the specified time frame.\", \"parameters\": {\"time\": {\"description\": \"The time frame for fetching popular posts. It can be one of the following: 'hour', 'day', 'week', 'month', 'year', or 'all'.\", \"type\": \"str\", \"default\": \"year\"}, \"cursor\": {\"description\": \"A cursor for pagination to fetch the next set of results. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_25168
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"product_offers\", \"description\": \"Fetch all offers available for a specific product, given its product ID, and optional country and language preferences.\", \"parameters\": {\"product_id\": {\"description\": \"The ID of the product for which to fetch offers.\", \"type\": \"str\", \"default\": \"11577822456427762145\"}, \"country\": {\"description\": \"Country code of the region/country to return offers for. Default is 'us'. Valid values can be found at https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.\", \"type\": \"str, optional\", \"default\": \"us\"}, \"language\": {\"description\": \"The language of the results. Default is 'en'. Valid values can be found at https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"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\": \"products_search_by_barcode\", \"description\": \"Search for a product in the Kohl's database using its UPC barcode.\", \"parameters\": {\"upc\": {\"description\": \"The Universal Product Code of the product to be searched.\", \"type\": \"str\", \"default\": \"194574942221\"}}}, {\"name\": \"get\", \"description\": \"Fetches and returns delivery status data from the e-commerce delivery status API.\", \"parameters\": {\"getdata\": {\"description\": \"An optional query string to include in the API request. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_21814
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"v1_qrcode\", \"description\": \"Generates a QR code image using the API Ninjas QR Code API, based on the specified input parameters.\", \"parameters\": {\"data\": {\"description\": \"Data to encode in the QR code.\", \"type\": \"str\", \"default\": \"https://api-ninjas.com\"}, \"format\": {\"description\": \"Image format to return. Must be one of the following: png, jpg, jpeg, eps, svg.\", \"type\": \"str\", \"default\": \"png\"}, \"size\": {\"description\": \"Size of the QR code image to generate. The output will be a square image with (size x size) dimensions. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}, \"fg_color\": {\"description\": \"Foreground color of the QR code. Must be a 6-digit hex color (e.g., 00ff00 for green). Defaults to None (black).\", \"type\": \"str, optional\", \"default\": \"\"}, \"bg_color\": {\"description\": \"Background color of the QR code. Must be a 6-digit hex color (e.g., 00ff00 for green). Defaults to None (white).\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"stickers_trending\", \"description\": \"Fetches trending stickers or creators from the Mojitok sticker store API.\", \"parameters\": {\"include\": {\"description\": \"Specifies whether to include 'STICKER_PACK' or 'CREATOR' information in the response. Defaults to 'STICKER_PACK'.\", \"type\": \"str\", \"default\": \"STICKER_PACK\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_56941
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_watches_by_brand_family_model\", \"description\": \"Fetches a list of watches based on brand name, family, and model using the provided RapidAPI key.\", \"parameters\": {\"brandname\": {\"description\": \"The brand name of the watch.\", \"type\": \"str\", \"default\": \"Omega\"}, \"model\": {\"description\": \"The model name of the watch.\", \"type\": \"str\", \"default\": \"2005.75.00\"}, \"family\": {\"description\": \"The family category of the watch.\", \"type\": \"str\", \"default\": \"Aqua Terra\"}}}, {\"name\": \"specifications_by_make_model\", \"description\": \"Fetches the specifications of a motorcycle given its make and model using the Motorcycle Specs Database API.\", \"parameters\": {\"make\": {\"description\": \"The manufacturer of the motorcycle.\", \"type\": \"str\", \"default\": \"Aprilia\"}, \"model\": {\"description\": \"The model of the motorcycle.\", \"type\": \"str\", \"default\": \"Dorsoduro 1200\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_19895
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"binary_addition\", \"description\": \"Adds two binary numbers and returns the result as a binary string.\", \"parameters\": {\"a\": {\"description\": \"The first binary number.\", \"type\": \"str\"}, \"b\": {\"description\": \"The second binary number.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_8066
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_dna_sequence\", \"description\": \"Retrieves the DNA sequence for a given sequence ID from the NCBI Nucleotide database.\", \"parameters\": {\"sequence_id\": {\"description\": \"The unique identifier for the DNA sequence.\", \"type\": \"str\", \"default\": \"fasta\"}, \"file_format\": {\"description\": \"The format of the returned sequence. Allowed values: \\\"fasta\\\" (default) or \\\"gb\\\".\", \"type\": \"str, optional\"}, \"upstream_bases\": {\"description\": \"The number of bases upstream of the sequence to include. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"fasta\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_48171
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"density\", \"description\": \"Calculates the density of an object given its mass and volume.\", \"parameters\": {\"mass\": {\"description\": \"The mass of the object.\", \"type\": \"float\"}, \"volume\": {\"description\": \"The volume of the object.\", \"type\": \"float\"}}}, {\"name\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\": \"List[float]\"}, \"point2\": {\"description\": \"The coordinates of the second point.\", \"type\": \"List[float]\"}}}, {\"name\": \"find_pairs_with_sum\", \"description\": \"Finds all pairs of integers in a list that sum up to a target value.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}, \"target\": {\"description\": \"The target sum value.\", \"type\": \"int\"}}}, {\"name\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_40169
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_status\", \"description\": \"Retrieve the delivery status report for a given message ID using the provided API key.\", \"parameters\": {\"msg_id\": {\"description\": \"The unique identifier of the SMS message. This can be obtained by setting the parameter `JSON`, `return_msg_id` or `details` to `1` when sending the SMS via the API. It can also be retrieved from the message journal in the user area.\", \"type\": \"int\", \"default\": \"\"}, \"p\": {\"description\": \"The API Key for authentication.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_13156
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"list_target_languages\", \"description\": \"Retrieves a paginated list of target languages from the API.\", \"parameters\": {\"page\": {\"description\": \"Return search results starting at a given page. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"per_page\": {\"description\": \"Number of entries to be returned per page. Only values between 1 and 100 (inclusive) are allowed. Defaults to 100.\", \"type\": \"int, optional\", \"default\": \"100\"}}}, {\"name\": \"get_device_asset_by_identifier_copy\", \"description\": \"Fetches device asset information by identifier using the provided RapidAPI key.\", \"parameters\": {\"identifier\": {\"description\": \"The unique identifier for the device asset.\", \"type\": \"str\", \"default\": \"71491234-A\"}}}, {\"name\": \"extract_info\", \"description\": \"Retrieve detailed information about a book using its ID from the Project Gutenberg API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the book to retrieve information for.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_59186
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"v1_cars\", \"description\": \"Fetches car details from the API Ninjas Cars API endpoint based on given search criteria.\", \"parameters\": {\"model\": {\"description\": \"Model of the vehicle. Default is 'corolla'.\", \"type\": \"str, optional\", \"default\": \"corolla\"}, \"max_city_mpg\": {\"description\": \"Maximum city fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_comb_mpg\": {\"description\": \"Minimum combined (city + highway) fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_hwy_mpg\": {\"description\": \"Maximum highway fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"fuel_type\": {\"description\": \"Type of fuel used. Possible values include 'gas', 'diesel', 'electricity'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Number of results to return. Must be between 1 and 30. Default value is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"drive\": {\"description\": \"Drive transmission. Possible values include 'fwd' (front-wheel drive), 'rwd' (rear-wheel drive), 'awd' (all-wheel drive), '4wd' (four-wheel drive).\", \"type\": \"str, optional\", \"default\": \"\"}, \"max_comb_mpg\": {\"description\": \"Maximum combined (city + highway) fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"make\": {\"description\": \"Vehicle manufacturer.\", \"type\": \"str, optional\", \"default\": \"\"}, \"transmission\": {\"description\": \"Type of transmission. Possible values include 'manual', 'automatic'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"year\": {\"description\": \"Vehicle model year.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_hwy_mpg\": {\"description\": \"Minimum highway fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_city_mpg\": {\"description\": \"Minimum city fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"cylinders\": {\"description\": \"Number of cylinders. Possible values include 2, 3, 4, 5, 6, 8, 10, 12, 16.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"getlearningresourcesbytopic\", \"description\": \"Fetch Azure learning resources by topic and page number.\", \"parameters\": {\"page\": {\"description\": \"The page number to retrieve learning resources from.\", \"type\": \"int\", \"default\": \"1\"}, \"topic\": {\"description\": \"The specific topic to search for learning resources.\", \"type\": \"str\", \"default\": \"compute\"}}}, {\"name\": \"property_details\", \"description\": \"Fetches property details from the Zillow API.\", \"parameters\": {\"zpid\": {\"description\": \"The Zillow Property ID. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}, \"property_url\": {\"description\": \"The URL of the property on Zillow. Defaults to 'https://www.zillow.com/homedetails/101-California-Ave-UNIT-303-Santa-Monica-CA-90403/20485700_zpid/'.\", \"type\": \"str, optional\", \"default\": \"https://www.zillow.com/homedetails/101-California-Ave-UNIT-303-Santa-Monica-CA-90403/20485700_zpid/\"}}}, {\"name\": \"search\", \"description\": \"Search for iOS applications using the provided parameters.\", \"parameters\": {\"country\": {\"description\": \"The country code for the search (e.g., 'us' for the United States).\", \"type\": \"str\", \"default\": \"us\"}, \"search\": {\"description\": \"The search term to query iOS applications.\", \"type\": \"str\", \"default\": \"angry birds\"}, \"page\": {\"description\": \"The page number of the search results.\", \"type\": \"str\", \"default\": \"1\"}, \"limit\": {\"description\": \"The number of search results to return per page.\", \"type\": \"str\", \"default\": \"50\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_33037
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"cell_density\", \"description\": \"Calculates the cell density based on the optical density (OD) and dilution factor.\", \"parameters\": {\"od\": {\"description\": \"The optical density of the sample.\", \"type\": \"float\", \"default\": 1000000000.0}, \"dilution\": {\"description\": \"The dilution factor applied to the sample.\", \"type\": \"int\", \"default\": 1000000000.0}, \"factor\": {\"description\": \"The calibration factor for converting OD to cell density. Defaults to 1e9.\", \"type\": \"float, optional\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_24024
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"word\", \"description\": \"Generates lorem ipsum text by requesting a specified number of words from the RapidAPI lorem ipsum service.\", \"parameters\": {\"amount\": {\"description\": \"The number of lorem ipsum words to generate.\", \"type\": \"int\", \"default\": \"5\"}}}, {\"name\": \"getproductbyid\", \"description\": \"Fetches specific product details by product ID from the RapidAPI endpoint.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the product to fetch.\", \"type\": \"str\", \"default\": \"1\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_45869
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"theme_detail\", \"description\": \"Fetches the details of a theme using its ID from the specified API.\", \"parameters\": {\"dtid\": {\"description\": \"The ID of the theme to be fetched.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"single_contest\", \"description\": \"Fetch details of a single pageant contest by its ID from the PageantDB API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the pageant contest to fetch details for.\", \"type\": \"int\", \"default\": \"35\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_58086
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"house_prices_get_points_of_interest\", \"description\": \"Fetches the nearest points of interest for a given property using the Zoopla API.\", \"parameters\": {\"property_id\": {\"description\": \"The ID of the property for which to retrieve points of interest. This is usually obtained from the `/house-prices/estimate` endpoint.\", \"type\": \"int\", \"default\": \"27175510\"}}}, {\"name\": \"search_by_company_name\", \"description\": \"Search for a company in the Uganda company register by its name.\", \"parameters\": {\"name\": {\"description\": \"The name of the company to search for.\", \"type\": \"str\", \"default\": \"Uganda Airlines\"}}}, {\"name\": \"business_slogan\", \"description\": \"Generates a business slogan for the given business name using the Toolbench RapidAPI.\", \"parameters\": {\"name\": {\"description\": \"The name of the business for which to generate the slogan.\", \"type\": \"str\", \"default\": \"MyBusiness\"}}}, {\"name\": \"schools_list\", \"description\": \"Fetches a list of schools around a specified geographical location.\", \"parameters\": {\"lat\": {\"description\": \"The latitude of the geographical location.\", \"type\": \"int\", \"default\": \"-37.79870933\"}, \"lon\": {\"description\": \"The longitude of the geographical location.\", \"type\": \"str\", \"default\": \"144.95324086\"}}}, {\"name\": \"ev\", \"description\": \"Fetch data from the EV API with optional pagination support by specifying the page number.\", \"parameters\": {\"page\": {\"description\": \"The page number for pagination, default is 2.\", \"type\": \"int, optional\", \"default\": \"2\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_38338
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"is_valid_palindrome\", \"description\": \"Checks if a string is a valid palindrome, considering only alphanumeric characters and ignoring case.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_14325
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"statistics\", \"description\": \"Fetch statistical data from the Immersive Roulette API.\", \"parameters\": {\"duration\": {\"description\": \"The number of hours for which to retrieve statistics. Defaults to 3 hours.\", \"type\": \"int\", \"default\": \"3\"}}}, {\"name\": \"search\", \"description\": \"Searches the Steam shop for a given term and returns the results.\", \"parameters\": {\"term\": {\"description\": \"The search term to query in the Steam shop.\", \"type\": \"str\", \"default\": \"Counter\"}, \"page\": {\"description\": \"The page number of search results to retrieve. Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_29002
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"search_autocomplete_api\", \"description\": \"Search or Autocomplete API returns matching cities and towns based on the query.\", \"parameters\": {\"q\": {\"description\": \"Query parameter used to obtain matching locations. Supported formats include:\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_29084
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"channel\", \"description\": \"Fetches details and videos of a YouTube channel using the RapidAPI YouTube V3 alternative.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the YouTube channel to fetch details for.\", \"type\": \"str\", \"default\": \"UCTwECeGqMZee77BjdoYtI2Q\"}, \"x_cachebypass\": {\"description\": \"Cache bypass parameter; must be passed as '1' if used.\", \"type\": \"str, optional\", \"default\": \"\"}, \"token\": {\"description\": \"Pagination token for fetching additional results beyond the first page.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sort_by\": {\"description\": \"Parameter to sort the channel videos. Available options are 'newest', 'oldest', and 'popular'. Defaults to 'newest'.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"property_details\", \"description\": \"Fetches property details from the Zillow API.\", \"parameters\": {\"zpid\": {\"description\": \"The Zillow Property ID. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}, \"property_url\": {\"description\": \"The URL of the property on Zillow. Defaults to 'https://www.zillow.com/homedetails/101-California-Ave-UNIT-303-Santa-Monica-CA-90403/20485700_zpid/'.\", \"type\": \"str, optional\", \"default\": \"https://www.zillow.com/homedetails/101-California-Ave-UNIT-303-Santa-Monica-CA-90403/20485700_zpid/\"}}}, {\"name\": \"image_to_text_ocr\", \"description\": \"Extracts text from an image using the Google Lens OCR API and provides detailed detections at the paragraph, sentence, and word levels.\", \"parameters\": {\"url\": {\"description\": \"The URL of the image from which to extract text.\", \"type\": \"str\", \"default\": \"https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1844/2017/06/15213029/images-textwrap-topbottom.png\"}, \"language\": {\"description\": \"The language of the results, specified as a 2-letter ISO 639-1 code (e.g., 'en' for English). Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_49476
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"events_detail\", \"description\": \"Fetches and returns all data related to a specific event identified by its UUID from the 'art-openings-italy' API.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the event, following the format of a universally unique identifier (UUID).\", \"type\": \"str\", \"default\": \"55daa408-d224-4b68-8b70-8800424d3e88\"}}}, {\"name\": \"live_events\", \"description\": \"Retrieves a list of ongoing live events from the specified endpoint, optionally filtered by city, genre, and location.\", \"parameters\": {\"city\": {\"description\": \"The city to filter the events by. Defaults to 'Firenze'.\", \"type\": \"str\", \"default\": \"Firenze\"}, \"genre\": {\"description\": \"The genre to filter the events by. Defaults to 'festival'.\", \"type\": \"str\", \"default\": \"festival\"}, \"location\": {\"description\": \"The location to filter the events by. Defaults to 'PIAZZA SANTA MARIA NOVELLA'.\", \"type\": \"str\", \"default\": \"PIAZZA SANTA MARIA NOVELLA\"}}}, {\"name\": \"get_specific_event_information\", \"description\": \"Fetch and return information for a specific event using the event identifier.\", \"parameters\": {\"eventidentifier\": {\"description\": \"Unique identifier for the event to retrieve booking information.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"feriados_dos_estados\", \"description\": \"Retrieves the holidays for a given Brazilian state and year.\", \"parameters\": {\"estado\": {\"description\": \"Abbreviation of the Brazilian state in uppercase letters.\", \"type\": \"str\", \"default\": \"MG\"}, \"ano\": {\"description\": \"Year for which to retrieve the holidays.\", \"type\": \"str\", \"default\": \"2023\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_15643
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"is_rotation\", \"description\": \"Checks if one string is a rotation of another string.\", \"parameters\": {\"str1\": {\"description\": \"The first string.\", \"type\": \"str\"}, \"str2\": {\"description\": \"The second string.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_30836
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_hourly_forecast\", \"description\": \"Retrieves the hourly weather forecast for a specified city using the RapidAPI Cloud Cast service.\", \"parameters\": {\"city\": {\"description\": \"The name of the city for which to retrieve the hourly weather forecast.\", \"type\": \"str\", \"default\": \"New York\"}}}, {\"name\": \"weather_report\", \"description\": \"Fetches the weather report of a specified city using the Toolbench RapidAPI.\", \"parameters\": {\"cityname\": {\"description\": \"Name of the city for which the weather report is to be fetched.\", \"type\": \"str\", \"default\": \"mumbai\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_42405
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"upcoming\", \"description\": \"Fetches upcoming CS:GO matches data from the specified API endpoint.\", \"parameters\": {\"content_type\": {\"description\": \"The content type for the request, default is 'application/json'.\", \"type\": \"str\", \"default\": \"application/json\"}, \"page\": {\"description\": \"The page number to retrieve, default is 1.\", \"type\": \"int\", \"default\": \"1\"}, \"limit\": {\"description\": \"The number of matches to retrieve per page, default is 10.\", \"type\": \"int\", \"default\": \"10\"}}}, {\"name\": \"gamesdata\", \"description\": \"Fetches data for a specific game using its APP_ID from the Steam Games Data API.\", \"parameters\": {\"app_id\": {\"description\": \"The unique identifier for the game whose data is to be fetched.\", \"type\": \"int\", \"default\": \"1581770\"}}}, {\"name\": \"range\", \"description\": \"Fetches random chess puzzles within a specified rating range.\", \"parameters\": {\"number_of_puzzles\": {\"description\": \"The number of puzzles to retrieve. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"max_deviation\": {\"description\": \"The maximum possible rating deviation. Defaults to 100.\", \"type\": \"int, optional\", \"default\": \"100\"}, \"min\": {\"description\": \"The minimum rating a puzzle can have. Defaults to 1200.\", \"type\": \"int, optional\", \"default\": \"1200\"}, \"max\": {\"description\": \"The maximum rating a puzzle can have. Defaults to 1600.\", \"type\": \"int, optional\", \"default\": \"1600\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_57390
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"treeequivalent\", \"description\": \"Calculate the number of trees required to create a given weight of paper.\", \"parameters\": {\"weight\": {\"description\": \"The weight of the paper.\", \"type\": \"str\", \"default\": \"200\"}, \"unit\": {\"description\": \"The unit of measurement for the weight (e.g., 'kg' or 'lb').\", \"type\": \"str\", \"default\": \"kg\"}}}, {\"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\": \"\"}}}, {\"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\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_14926
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"inplay\", \"description\": \"Fetches the in-play sports betting data from the RapidAPI service.\", \"parameters\": {\"lang\": {\"description\": \"The language code for the response data.\", \"type\": \"str\", \"default\": \"en\"}, \"sp\": {\"description\": \"The sport identifier for which to fetch in-play data.\", \"type\": \"int\", \"default\": \"1\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_42174
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_city_from_zipcode\", \"description\": \"Retrieves the city name for a given ZIP code using the Ziptastic API.\", \"parameters\": {\"zipcode\": {\"description\": \"The ZIP code to look up.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_51407
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"cell_density\", \"description\": \"Calculates the cell density based on the optical density (OD) and dilution factor.\", \"parameters\": {\"od\": {\"description\": \"The optical density of the sample.\", \"type\": \"float\", \"default\": 1000000000.0}, \"dilution\": {\"description\": \"The dilution factor applied to the sample.\", \"type\": \"int\", \"default\": 1000000000.0}, \"factor\": {\"description\": \"The calibration factor for converting OD to cell density. Defaults to 1e9.\", \"type\": \"float, optional\"}}}, {\"name\": \"batting_average\", \"description\": \"Calculates the batting average of a baseball player based on the number of hits and at-bats.\", \"parameters\": {\"num_hits\": {\"description\": \"The number of hits.\", \"type\": \"int\", \"default\": 3}, \"num_at_bats\": {\"description\": \"The number of at-bats.\", \"type\": \"int\", \"default\": 3}, \"precision\": {\"description\": \"The number of decimal places to round the batting average. Defaults to 3.\", \"type\": \"int, optional\"}}}, {\"name\": \"find_equilibrium_index\", \"description\": \"Finds the equilibrium index of a list, where the sum of elements on the left is equal to the sum of elements on the right.\", \"parameters\": {\"arr\": {\"description\": \"The input list of integers.\", \"type\": \"List[int]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_56555
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"etablissement_par_ridet\", \"description\": \"Fetches and returns information about an establishment in New Caledonia based on its Ridet number.\", \"parameters\": {\"ridet\": {\"description\": \"The Ridet number of the establishment.\", \"type\": \"str\", \"default\": \"0132720001\"}}}, {\"name\": \"image_convert\", \"description\": \"Convert an image to a specified format and resize it.\", \"parameters\": {\"accept\": {\"description\": \"The content type to accept in the response (default is 'image/png').\", \"type\": \"str\", \"default\": \"image/png\"}, \"format\": {\"description\": \"The format to convert the image to (default is 'jpeg').\", \"type\": \"str\", \"default\": \"jpeg\"}, \"source\": {\"description\": \"The URL of the source image to be converted.\", \"type\": \"str\", \"default\": \"\"}, \"height\": {\"description\": \"The desired height of the converted image (default is 300 pixels).\", \"type\": \"int\", \"default\": \"300\"}, \"width\": {\"description\": \"The desired width of the converted image (default is 300 pixels).\", \"type\": \"int\", \"default\": \"300\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_276
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"innings_cricket\", \"description\": \"Fetch innings data for a cricket event given the event ID.\", \"parameters\": {\"event_id\": {\"description\": \"The unique identifier of the cricket event.\", \"type\": \"int\", \"default\": \"10188874\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_37451
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"fibonacci_numbers\", \"description\": \"Generates the first n Fibonacci numbers.\", \"parameters\": {\"n\": {\"description\": \"The number of Fibonacci numbers to generate.\", \"type\": \"int\"}}}, {\"name\": \"matrix_multiply\", \"description\": \"Multiplies two matrices.\", \"parameters\": {\"matrix_a\": {\"description\": \"The first matrix.\", \"type\": \"List[List[float]]\"}, \"matrix_b\": {\"description\": \"The second matrix.\", \"type\": \"List[List[float]]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_26728
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"web_candles\", \"description\": \"Fetches candlestick data for a specific trading pair within a specified time range.\", \"parameters\": {\"time_bucket\": {\"description\": \"The time bucket to use for the candle size, e.g., '1m', '5m', '1h'.\", \"type\": \"str\", \"default\": \"1h\"}, \"pair_id\": {\"description\": \"The primary key for the trading pair. For tests and demos, use id `1` which corresponds to the ETH/USDC pair on Uniswap v2.\", \"type\": \"int\", \"default\": 1}, \"start\": {\"description\": \"The start of the candle fetch period as an ISO 8601 formatted string. Defaults to '2020-05-18 00:00'.\", \"type\": \"str, optional\", \"default\": \"2020-05-18 00:00\"}, \"end\": {\"description\": \"The end of the candle fetch period as an ISO 8601 formatted string. Defaults to '2020-05-19 00:00'.\", \"type\": \"str, optional\", \"default\": \"2020-05-19 00:00\"}}}, {\"name\": \"get_6_timeseries_endpoint\", \"description\": \"Fetches historical exchange rates for specified currencies over a given time period.\", \"parameters\": {\"end_date\": {\"description\": \"The end date for the timeseries data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2023-02-02\"}, \"start_date\": {\"description\": \"The start date for the timeseries data in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2023-01-01\"}, \"base\": {\"description\": \"The base currency code (default is 'usd').\", \"type\": \"str, optional\", \"default\": \"usd\"}, \"symbols\": {\"description\": \"The target currency code(s) (default is 'eur').\", \"type\": \"str, optional\", \"default\": \"eur\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_59258
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"search\", \"description\": \"Search for product offers on Amazon with support for multiple filters and options.\", \"parameters\": {\"query\": {\"description\": \"Search query. Supports both free-form text queries or a product ASIN.\", \"type\": \"str\", \"default\": \"Phone\"}, \"brand\": {\"description\": \"Find products with a specific brand. Multiple brands can be specified as a comma-separated list. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_price\": {\"description\": \"Only return product offers with a price greater than a specified minimum value. The value is in the currency of the selected country. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_price\": {\"description\": \"Only return product offers with a price lower than a specified maximum value. The value is in the currency of the selected country. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}, \"country\": {\"description\": \"Sets the marketplace country, language, and currency. Allowed values are 'US', 'AU', 'BR', 'CA', 'CN', 'FR', 'DE', 'IN', 'IT', 'MX', 'NL', 'SG', 'ES', 'TR', 'AE', 'GB', 'JP'. Defaults to 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}, \"category_id\": {\"description\": \"Find products in a specific category/department. Use the Product Category List endpoint to get a list of valid categories and their IDs for the specified country. Defaults to 'aps' (All Departments).\", \"type\": \"str, optional\", \"default\": \"aps\"}, \"sort_by\": {\"description\": \"Return the results in a specific sort order. Allowed values are 'RELEVANCE', 'LOWEST_PRICE', 'HIGHEST_PRICE', 'REVIEWS', 'NEWEST'. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Results page to return. Defaults to '1'.\", \"type\": \"str, optional\", \"default\": \"1\"}}}, {\"name\": \"stores_get_details\", \"description\": \"Fetch detailed information for a specific store location.\", \"parameters\": {\"location_id\": {\"description\": \"The identifier for the store location, often obtained from the stores list endpoint.\", \"type\": \"int\", \"default\": \"911\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_30396
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_crime_rates_by_zip\", \"description\": \"Retrieve crime statistics for a given ZIP code using the Crime Data by Zipcode API.\", \"parameters\": {\"zip\": {\"description\": \"ZIP code to retrieve crime data for.\", \"type\": \"int\", \"default\": \"94109\"}}}, {\"name\": \"get_scrabble_score\", \"description\": \"Fetches the Scrabble score for a given word using the Dicolink API.\", \"parameters\": {\"mot\": {\"description\": \"The word for which the Scrabble score is to be retrieved.\", \"type\": \"str\", \"default\": \"cheval\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_39581
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"whois\", \"description\": \"Queries a WhoIS lookup service to retrieve data about a specified domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain name for the WhoIS lookup.\", \"type\": \"str\", \"default\": \"peekdomain.com\"}}}, {\"name\": \"getstatsbyyear\", \"description\": \"Retrieves Trinidad & Tobago Covid-19 statistics by year.\", \"parameters\": {\"is_id\": {\"description\": \"The year for which the Covid-19 statistics are being requested. Must be between 2020 and the current year.\", \"type\": \"str\", \"default\": \"2020\"}}}, {\"name\": \"age_calculator\", \"description\": \"Calculates age based on the provided date and optional timezone.\", \"parameters\": {\"date\": {\"description\": \"The date of birth in one of the following formats: YYYYMMDD, YYYY-MM-DD, MMDDYYYY, MM-DD-YYYY.\", \"type\": \"str\", \"default\": \"19870630\"}, \"timezone\": {\"description\": \"The timezone to be considered for age calculation. Default is 'US/Eastern'. Format example: 'US/Eastern', 'US/Pacific', 'Europe/London'.\", \"type\": \"str, optional\", \"default\": \"US/Eastern\"}}}, {\"name\": \"v1_cars\", \"description\": \"Fetches car details from the API Ninjas Cars API endpoint based on given search criteria.\", \"parameters\": {\"model\": {\"description\": \"Model of the vehicle. Default is 'corolla'.\", \"type\": \"str, optional\", \"default\": \"corolla\"}, \"max_city_mpg\": {\"description\": \"Maximum city fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_comb_mpg\": {\"description\": \"Minimum combined (city + highway) fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max_hwy_mpg\": {\"description\": \"Maximum highway fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"fuel_type\": {\"description\": \"Type of fuel used. Possible values include 'gas', 'diesel', 'electricity'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Number of results to return. Must be between 1 and 30. Default value is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"drive\": {\"description\": \"Drive transmission. Possible values include 'fwd' (front-wheel drive), 'rwd' (rear-wheel drive), 'awd' (all-wheel drive), '4wd' (four-wheel drive).\", \"type\": \"str, optional\", \"default\": \"\"}, \"max_comb_mpg\": {\"description\": \"Maximum combined (city + highway) fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"make\": {\"description\": \"Vehicle manufacturer.\", \"type\": \"str, optional\", \"default\": \"\"}, \"transmission\": {\"description\": \"Type of transmission. Possible values include 'manual', 'automatic'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"year\": {\"description\": \"Vehicle model year.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_hwy_mpg\": {\"description\": \"Minimum highway fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_city_mpg\": {\"description\": \"Minimum city fuel efficiency in miles per gallon.\", \"type\": \"int, optional\", \"default\": \"\"}, \"cylinders\": {\"description\": \"Number of cylinders. Possible values include 2, 3, 4, 5, 6, 8, 10, 12, 16.\", \"type\": \"int, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_30216
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"shows_id_episodes\", \"description\": \"Retrieve a list of episodes for a specific show from the given platform.\", \"parameters\": {\"platform\": {\"description\": \"The platform from which to retrieve the episodes (e.g., 'ios', 'android', 'androidtv', 'web').\", \"type\": \"str\", \"default\": \"ios\"}, \"is_id\": {\"description\": \"The ID of the show.\", \"type\": \"int\", \"default\": \"82856\"}, \"offset\": {\"description\": \"The number of records to skip in the results. Default is 0.\", \"type\": \"int, optional\", \"default\": \"0\"}, \"region\": {\"description\": \"The region to filter the episodes by (e.g., 'US', 'FR'). Default is 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}, \"limit\": {\"description\": \"The number of records to return per request, with a maximum of 100. Default is 25.\", \"type\": \"int, optional\", \"default\": \"25\"}, \"sort\": {\"description\": \"The order to sort the records by. Use 'regular' for default order or 'reverse' for most recent episodes first. Default is 'regular'.\", \"type\": \"str, optional\", \"default\": \"regular\"}, \"season\": {\"description\": \"The specific season for which to retrieve episodes. If not specified, episodes from all seasons will be retrieved. Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"image_generation_endpoint\", \"description\": \"Generates an image using the Bruzu API with the specified width, height, and background image URL. The API key for the Toolbench RapidAPI is also required to authenticate the request.\", \"parameters\": {\"width\": {\"description\": \"The width of the generated image. Defaults to 500.\", \"type\": \"int, optional\", \"default\": \"500\"}, \"backgroundimage\": {\"description\": \"The URL of the background image. Defaults to 'https://source.unsplash.com/500x500/'.\", \"type\": \"str, optional\", \"default\": \"https://source.unsplash.com/500x500/\"}, \"height\": {\"description\": \"The height of the generated image. Defaults to 500.\", \"type\": \"int, optional\", \"default\": \"500\"}}}, {\"name\": \"go\", \"description\": \"Convert textual content to .mp3 using a text-to-speech API.\", \"parameters\": {\"t\": {\"description\": \"The text content to be converted to speech.\", \"type\": \"str\", \"default\": \"Here is a text to be converted.\"}, \"l\": {\"description\": \"The language code for the text-to-speech conversion. Supported languages include 'ru', 'en', 'de', 'es', 'pt', 'fr', 'nl', 'zh'.\", \"type\": \"str\", \"default\": \"en\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_28995
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"us_ga\", \"description\": \"Fetches current or historical gas price data for Georgia.\", \"parameters\": {\"date\": {\"description\": \"The date for which to fetch historical data in the format 'YYYY-MM-DD'. If not provided, the current gas price data is returned.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"get_airplane_details\", \"description\": \"Fetches details of an airplane using the provided code.\", \"parameters\": {\"code\": {\"description\": \"The unique identifier of the airplane to fetch details for.\", \"type\": \"str\", \"default\": \"777\"}}}, {\"name\": \"specs_v1_tier1\", \"description\": \"Fetch vehicle data based on specified query parameters using the RapidAPI Datamo endpoint.\", \"parameters\": {\"make\": {\"description\": \"The make of the vehicle. This parameter is required.\", \"type\": \"str\", \"default\": \"Tesla\"}, \"sortby\": {\"description\": \"The field to sort the results by.\", \"type\": \"str, optional\", \"default\": \"\"}, \"order\": {\"description\": \"The sort order of the specified field.\", \"type\": \"str, optional\", \"default\": \"\"}, \"model\": {\"description\": \"The model of the vehicle.\", \"type\": \"str, optional\", \"default\": \"Model 3\"}, \"page\": {\"description\": \"The page number of the results, starting with index 1.\", \"type\": \"int, optional\", \"default\": \"\"}, \"per_page\": {\"description\": \"The number of entries per page. Default is 10, with a maximum of 250.\", \"type\": \"int, optional\", \"default\": \"\"}, \"fields\": {\"description\": \"Specific fields to return in the results. Leave blank to return all fields.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"v1_vinlookup\", \"description\": \"Retrieves key vehicle information including manufacturer, country of origin, and model year for a given VIN using the API Ninjas VIN Lookup API.\", \"parameters\": {\"vin\": {\"description\": \"A valid Vehicle Identification Number (VIN), which must be a 17-character string.\", \"type\": \"str\", \"default\": \"JH4KA7561PC008269\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_19806
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"products_list\", \"description\": \"Fetches a list of products from the H&M API with options to sort, filter, and search for products by various criteria.\", \"parameters\": {\"lang\": {\"description\": \"Language code obtained from the /regions/list endpoint.\", \"type\": \"str\", \"default\": \"en\"}, \"currentpage\": {\"description\": \"Page index to fetch data from, starting at 0.\", \"type\": \"int\", \"default\": \"0\"}, \"country\": {\"description\": \"Country code obtained from the /regions/list endpoint.\", \"type\": \"str\", \"default\": \"us\"}, \"pagesize\": {\"description\": \"Number of records to return per page.\", \"type\": \"int\", \"default\": \"30\"}, \"qualities\": {\"description\": \"Filter by qualities; pass multiple times for multiple qualities.\", \"type\": \"str, optional\", \"default\": \"\"}, \"fits\": {\"description\": \"Filter by fits; pass multiple times for multiple fits.\", \"type\": \"str, optional\", \"default\": \"\"}, \"categories\": {\"description\": \"Tag codes obtained from the /categories/list endpoint; pass multiple times for multiple categories. Defaults to 'men_all'.\", \"type\": \"str, optional\", \"default\": \"men_all\"}, \"sortby\": {\"description\": \"Sort parameter, one of 'ascPrice', 'descPrice', 'stock', 'newProduct'. Defaults to 'stock'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"collection\": {\"description\": \"Filter by collections; pass multiple times for multiple collections.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sizes\": {\"description\": \"Filter by sizes; pass multiple times for multiple sizes.\", \"type\": \"str, optional\", \"default\": \"\"}, \"colorwithnames\": {\"description\": \"Filter by colors; pass multiple times for multiple color names.\", \"type\": \"str, optional\", \"default\": \"\"}, \"contexts\": {\"description\": \"Filter by contexts; pass multiple times for multiple contexts.\", \"type\": \"str, optional\", \"default\": \"\"}, \"functions\": {\"description\": \"Filter by functions; pass multiple times for multiple functions.\", \"type\": \"str, optional\", \"default\": \"\"}, \"concepts\": {\"description\": \"Filter by concepts; pass multiple times for multiple concepts. Defaults to 'H&M MAN'.\", \"type\": \"str, optional\", \"default\": \"H&M MAN\"}, \"descriptivelengths\": {\"description\": \"Filter by descriptive lengths; pass multiple times for multiple lengths.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"shopify_store_products\", \"description\": \"Retrieve all products from a Shopify store using the specified API.\", \"parameters\": {\"page\": {\"description\": \"The page number to retrieve products from.\", \"type\": \"int\", \"default\": \"1\"}, \"url\": {\"description\": \"The base URL of the Shopify store.\", \"type\": \"str\", \"default\": \"https://row.gymshark.com\"}}}, {\"name\": \"zappos_search_product\", \"description\": \"Searches for products on Zappos using the given keyword and various optional parameters for sorting and pagination.\", \"parameters\": {\"keyword\": {\"description\": \"The search term to use for finding products on Zappos.\", \"type\": \"str\", \"default\": \"crocs body\"}, \"sort\": {\"description\": \"The sorting criteria for the search results. Possible values are 'best_seller', 'relevance', 'low_to_high', 'high_to_low', 'customer_rating', 'new_arrivals', and 'brand_name'. Defaults to 'new_arrivals'.\", \"type\": \"str, optional\", \"default\": \"new_arrivals\"}, \"page\": {\"description\": \"The page number for pagination of search results. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_11225
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"eventgames\", \"description\": \"Fetches games associated with a specific E-Sports event using the event ID and RapidAPI key.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the E-Sports event for which to retrieve game details.\", \"type\": \"int\", \"default\": 10945127}}}, {\"name\": \"get_taboo_words_from_word\", \"description\": \"Fetches a list of taboo words associated with the given word using a specified API.\", \"parameters\": {\"word\": {\"description\": \"The word for which to retrieve taboo words.\", \"type\": \"str\", \"default\": \"laptop\"}, \"forbiddenwordlimit\": {\"description\": \"The number of taboo words to return, defaults to 5 and has a maximum of 10.\", \"type\": \"int, optional\", \"default\": \"5\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_3784
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"predict_evolution_rate\", \"description\": \"Predict the evolutionary rate for a specific species for a given timeframe.\", \"parameters\": {\"species\": {\"description\": \"The species that the evolution rate will be predicted for.\", \"type\": \"str\", \"default\": \"Darwin\"}, \"years\": {\"description\": \"Number of years for the prediction.\", \"type\": \"int\", \"default\": \"Darwin\"}, \"model\": {\"description\": \"The model used to make the prediction, options: 'Darwin', 'Lamarck', default is 'Darwin'.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_15891
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"find_first_non_repeating_char\", \"description\": \"Finds the first non-repeating character in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"reverse_string\", \"description\": \"Reverses the characters in a string.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_10812
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"product_id\", \"description\": \"Fetches product details from the AliExpress API using the provided product ID and optional parameters.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the product to fetch details for.\", \"type\": \"int\", \"default\": \"4000886597329\"}, \"locale\": {\"description\": \"The locale to be used for the request (e.g., 'en_US').\", \"type\": \"str, optional\", \"default\": \"\"}, \"currency\": {\"description\": \"The currency for price conversion (e.g., 'USD').\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"The country for regional adjustments (e.g., 'US').\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"getproductbycategory\", \"description\": \"Retrieves products from a given category using the Toolbench RapidAPI.\", \"parameters\": {\"category\": {\"description\": \"The category of the product to search for.\", \"type\": \"str\", \"default\": \"Phones\"}}}, {\"name\": \"search_product\", \"description\": \"This function searches for a product using the Tokopedia API based on the given query and act parameters.\", \"parameters\": {\"query\": {\"description\": \"The search query string for the product to be searched.\", \"type\": \"str\", \"default\": \"Celana Jeans\"}, \"act\": {\"description\": \"The action parameter to specify the type of search.\", \"type\": \"str\", \"default\": \"search\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_38104
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"sticker_roulette\", \"description\": \"Fetches a randomly selected sticker from Giphy's sticker collection. Optionally, it allows the selection to be limited to a specific tag. The function interacts with the Giphy API to retrieve the sticker.\", \"parameters\": {\"tag\": {\"description\": \"The tag to limit the scope of the sticker search. Should be URL encoded and can include phrases separated by hyphens.\", \"type\": \"str\", \"default\": \"oops\"}}}, {\"name\": \"get_random_named_color\", \"description\": \"Fetches a specified number of random named colors from the Colorful API.\", \"parameters\": {\"quantity\": {\"description\": \"The number of colors to return. Defaults to 2. Maximum is 50. Values below 1 will return an empty list. If not specified, returns 2 colors.\", \"type\": \"int, optional\", \"default\": \"2\"}}}, {\"name\": \"comments\", \"description\": \"Fetch comments from a YouTube video using the provided video ID.\", \"parameters\": {\"is_id\": {\"description\": \"The YouTube video ID to fetch comments for.\", \"type\": \"str\", \"default\": \"dQw4w9WgXcQ\"}, \"sort_by\": {\"description\": \"Criteria to sort comments by. Options are \\\"top\\\" or \\\"new\\\". Defaults to \\\"top\\\".\", \"type\": \"str, optional\", \"default\": \"top\"}}}, {\"name\": \"get_channel_goals\", \"description\": \"Fetches the goals for a specified Twitch channel using the provided RapidAPI key.\", \"parameters\": {\"channel\": {\"description\": \"The name of the Twitch channel for which to retrieve goals.\", \"type\": \"str\", \"default\": \"shadoune666\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_19931
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_user_highlights_tray_by_user_id\", \"description\": \"Fetches the highlight tray of a specific Instagram user identified by their user ID using the RapidAPI service.\", \"parameters\": {\"user_id\": {\"description\": \"The unique identifier of the Instagram user.\", \"type\": \"int\", \"default\": \"25025320\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_58413
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"ayah_recitations\", \"description\": \"Fetches the list of recitations for a specific Ayah by its key and recitation ID.\", \"parameters\": {\"recitation_id\": {\"description\": \"The ID of the recitation.\", \"type\": \"int\", \"default\": \"\"}, \"ayah_key\": {\"description\": \"The key of the Ayah, which is a combination of the Surah number and Ayah number (e.g., '1:1' for the first Ayah of the first Surah).\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"get_quotes_by_specific_category\", \"description\": \"Fetch a collection of quotes from a specific category using the World of Quotes API. It supports pagination and allows customizing the number of quotes returned per page.\", \"parameters\": {\"category\": {\"description\": \"The category of quotes to fetch.\", \"type\": \"str\", \"default\": \"age\"}, \"page\": {\"description\": \"The page number for pagination. Defaults to 2.\", \"type\": \"int, optional\", \"default\": \"2\"}, \"limit\": {\"description\": \"The maximum number of quotes to fetch per page. Defaults to 20.\", \"type\": \"int, optional\", \"default\": \"20\"}}}, {\"name\": \"get_qoute\", \"description\": \"Fetch a quote by its ID using the Quotsy API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the quote to be retrieved.\", \"type\": \"str\", \"default\": \"00667985-3375-4b1b-abb0-60bcfa70a80f\"}}}, {\"name\": \"mensajes_2\", \"description\": \"Fetches messages for student number 2 using the provided RapidAPI key and authorization details.\", \"parameters\": {\"authorization\": {\"description\": \"The authorization token required for API access.\", \"type\": \"str\", \"default\": \"1234567890\"}, \"authoriza\": {\"description\": \"An additional authorization token. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"daily_horoscope\", \"description\": \"Fetches the daily horoscope for a given zodiac sign and day using the RapidAPI Horoscope Astrology service.\", \"parameters\": {\"sunsign\": {\"description\": \"The zodiac sign for which to fetch the horoscope. Possible values include 'aries', 'taurus', 'gemini', 'cancer', 'leo', 'virgo', 'libra', 'scorpio', 'sagittarius', 'capricorn', 'aquarius', 'pisces'.\", \"type\": \"str\", \"default\": \"libra\"}, \"day\": {\"description\": \"The day for which to fetch the horoscope. Possible values include 'Today', 'Yesterday', 'Tomorrow', 'Week', 'Month', 'Year'.\", \"type\": \"str\", \"default\": \"today\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_50950
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_all_kfc_locations_by_state\", \"description\": \"Fetches all KFC locations in a specified state using the given RapidAPI key and returns the results.\", \"parameters\": {\"page\": {\"description\": \"The page number for paginated results.\", \"type\": \"int\", \"default\": \"0\"}, \"state\": {\"description\": \"The two-letter state code for which to fetch KFC locations.\", \"type\": \"str\", \"default\": \"AZ\"}}}, {\"name\": \"get_by_origin\", \"description\": \"Fetches plants by their origin using the specified RapidAPI key.\", \"parameters\": {\"origin\": {\"description\": \"The origin of the plants to retrieve. Default is 'Asia'.\", \"type\": \"str\", \"default\": \"Asia\"}}}, {\"name\": \"get_sample_userprofile\", \"description\": \"Generates fake user profile sample data using an external API.\", \"parameters\": {\"count\": {\"description\": \"The number of profiles to generate. Defaults to 2. Maximum value is 1000.\", \"type\": \"int, optional\", \"default\": \"2\"}, \"locale\": {\"description\": \"The locale to use for generating user profiles. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"historic_event_by_year\", \"description\": \"Fetches historical events for a given year using the World History Timeline API.\", \"parameters\": {\"year\": {\"description\": \"The year for which historical events are to be fetched.\", \"type\": \"str\", \"default\": \"400\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_5151
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"auto_complete_deprecating\", \"description\": \"Fetch auto-complete suggestions for a given query from the specified API.\", \"parameters\": {\"query\": {\"description\": \"The term or phrase for which to get suggestions.\", \"type\": \"str\", \"default\": \"bikini tops\"}}}, {\"name\": \"auto_complete\", \"description\": \"Fetch auto-complete suggestions for a given query using the Wayfair API.\", \"parameters\": {\"query\": {\"description\": \"The term or phrase for which auto-complete suggestions are needed.\", \"type\": \"str\", \"default\": \"red pillow\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_26385
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"average\", \"description\": \"Calculates the arithmetic mean of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[float]\"}}}, {\"name\": \"cagr\", \"description\": \"Calculates the Compound Annual Growth Rate (CAGR) of an investment.\", \"parameters\": {\"start_value\": {\"description\": \"The initial value of the investment.\", \"type\": \"float\"}, \"end_value\": {\"description\": \"The final value of the investment.\", \"type\": \"float\"}, \"years\": {\"description\": \"The number of years between the initial and final values.\", \"type\": \"int\"}}}, {\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"future_investment_value\", \"description\": \"Calculates the future value of an investment based on the present value, annual interest rate, and number of years.\", \"parameters\": {\"present_value\": {\"description\": \"The present value of the investment.\", \"type\": \"float\"}, \"annual_interest_rate\": {\"description\": \"The annual interest rate as a decimal (e.g., 0.05 for 5%).\", \"type\": \"float\"}, \"years\": {\"description\": \"The number of years the investment will grow.\", \"type\": \"int\"}}}, {\"name\": \"find_longest_palindromic_substring\", \"description\": \"Finds the longest palindromic substring in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"convert_cooking_measurements\", \"description\": \"Converts a quantity of a cooking ingredient from one measurement unit to another.\", \"parameters\": {\"quantity\": {\"description\": \"The quantity of the item to convert.\", \"type\": \"float\"}, \"from_unit\": {\"description\": \"The unit of the input quantity (e.g., 'cup', 'gram').\", \"type\": \"str\"}, \"to_unit\": {\"description\": \"The unit to which the quantity should be converted (e.g., 'ounce', 'kilogram').\", \"type\": \"str\"}, \"item\": {\"description\": \"The cooking ingredient being converted (e.g., 'flour', 'sugar').\", \"type\": \"str\"}}}, {\"name\": \"cosine_similarity\", \"description\": \"Calculates the cosine similarity between two vectors.\", \"parameters\": {\"vector_a\": {\"description\": \"The first vector.\", \"type\": \"List[float]\"}, \"vector_b\": {\"description\": \"The second vector.\", \"type\": \"List[float]\"}}}, {\"name\": \"euclidean_distance\", \"description\": \"Computes the Euclidean distance between two points in a 2D plane.\", \"parameters\": {\"point_a\": {\"description\": \"The coordinates of the first point (x, y).\", \"type\": \"Tuple[float, float]\"}, \"point_b\": {\"description\": \"The coordinates of the second point (x, y).\", \"type\": \"Tuple[float, float]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_52528
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_holidays_by_year\", \"description\": \"Retrieves the list of public holidays for a given year and country using the Nager.Date API.\", \"parameters\": {\"year\": {\"description\": \"The year for which to retrieve the holidays.\", \"type\": \"int\"}, \"country_code\": {\"description\": \"The two-letter ISO 3166-1 alpha-2 country code.\", \"type\": \"str\"}}}, {\"name\": \"get_ip_location\", \"description\": \"Retrieves the latitude and longitude coordinates of a given IP address using the ip-api.com API.\", \"parameters\": {\"ip\": {\"description\": \"The IP address to locate.\", \"type\": \"str\"}}}, {\"name\": \"analyze_social_group_dynamics\", \"description\": \"Analyzes the social dynamics within a group based on the personality traits and group size.\", \"parameters\": {\"total\": {\"description\": \"The total group size.\", \"type\": \"int\"}, \"extroverts\": {\"description\": \"The number of extroverted members in the group.\", \"type\": \"int\"}, \"introverts\": {\"description\": \"The number of introverted members in the group.\", \"type\": \"int\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_25352
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"getlatestbysecuritiescode\", \"description\": \"Fetches the latest securities report data for a given company based on its securities code.\", \"parameters\": {\"securities_code\": {\"description\": \"The securities code representing the company.\", \"type\": \"int\", \"default\": \"7203\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_50409
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"simulate_query_database\", \"description\": \"Simulates querying a database based on certain conditions.\", \"parameters\": {\"table\": {\"description\": \"Name of the table to query.\", \"type\": \"str\"}, \"conditions\": {\"description\": \"Conditions for the query, each condition is a dictionary.\", \"type\": \"list\"}}}, {\"name\": \"predict_forest_area\", \"description\": \"Predicts the change in forest area over a specified number of years.\", \"parameters\": {\"location\": {\"description\": \"The geographic location for the prediction.\", \"type\": \"str\"}, \"num_years\": {\"description\": \"The number of years into the future to make the prediction.\", \"type\": \"int\"}, \"include_humans\": {\"description\": \"Whether to include the impact of human activities in the prediction. Defaults to False.\", \"type\": \"bool, optional\"}}}, {\"name\": \"place_safeway_order\", \"description\": \"Order specified items from a Safeway location.\", \"parameters\": {\"location\": {\"description\": \"The location of the Safeway store, e.g., 'Palo Alto, CA'.\", \"type\": \"str\"}, \"items\": {\"description\": \"List of items to order.\", \"type\": \"list\"}, \"quantity\": {\"description\": \"Quantity of each item in the order list.\", \"type\": \"list\"}}}, {\"name\": \"get_holidays_by_year\", \"description\": \"Retrieves the list of public holidays for a given year and country using the Nager.Date API.\", \"parameters\": {\"year\": {\"description\": \"The year for which to retrieve the holidays.\", \"type\": \"int\"}, \"country_code\": {\"description\": \"The two-letter ISO 3166-1 alpha-2 country code.\", \"type\": \"str\"}}}, {\"name\": \"assess_diabetes_risk\", \"description\": \"Assesses the risk of developing type 2 diabetes based on body mass index (BMI) and physical activity level.\", \"parameters\": {\"weight_lbs\": {\"description\": \"Body weight in pounds.\", \"type\": \"int\"}, \"height_inches\": {\"description\": \"Height in inches.\", \"type\": \"int\"}, \"activity\": {\"description\": \"Physical activity level. Allowed values: \\\"sedentary\\\", \\\"lightly active\\\", \\\"moderately active\\\", or \\\"very active\\\".\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_38783
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_artist_s_albums\", \"description\": \"Fetches and returns basic details about the albums of an artist from a given Spotify URL.\", \"parameters\": {\"spotify_url\": {\"description\": \"The URL of the artist's Spotify page.\", \"type\": \"str\", \"default\": \"https://open.spotify.com/artist/1nIUhcKHnK6iyumRyoV68C\"}}}, {\"name\": \"artist_discography_overview\", \"description\": \"Fetches the discography overview of a specified artist using the Spotify API.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier of the artist.\", \"type\": \"str\", \"default\": \"2w9zwq3AktTeYYMuhMjju8\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_50934
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"calculate_order_total\", \"description\": \"Calculates the total cost of an order based on the items, quantities, and prices.\", \"parameters\": {\"items\": {\"description\": \"A list of item names.\", \"type\": \"List[str]\"}, \"quantities\": {\"description\": \"A list of corresponding quantities for each item.\", \"type\": \"List[int]\"}, \"prices\": {\"description\": \"A list of corresponding prices for each item.\", \"type\": \"List[float]\"}}}, {\"name\": \"get_city_from_zipcode\", \"description\": \"Retrieves the city name for a given ZIP code using the Ziptastic API.\", \"parameters\": {\"zipcode\": {\"description\": \"The ZIP code to look up.\", \"type\": \"str\"}}}, {\"name\": \"get_pokemon_move_info\", \"description\": \"Retrieves information about a Pok\\u00e9mon's move using the Pok\\u00e9API.\", \"parameters\": {\"pokemon_name\": {\"description\": \"The name of the Pok\\u00e9mon.\", \"type\": \"str\", \"default\": \"run\"}, \"move_name\": {\"description\": \"The name of the move to check. Defaults to \\\"run\\\".\", \"type\": \"str, optional\", \"default\": \"run\"}}}, {\"name\": \"whole_foods_order\", \"description\": \"Places an order at Whole Foods.\", \"parameters\": {\"store_location\": {\"description\": \"The location of the Whole Foods store.\", \"type\": \"str\"}, \"item_list\": {\"description\": \"A list of items to order.\", \"type\": \"list\"}, \"order_size\": {\"description\": \"The size of the order. Allowed values: \\\"small\\\", \\\"medium\\\", or \\\"large\\\".\", \"type\": \"str\"}}}, {\"name\": \"simulate_query_database\", \"description\": \"Simulates querying a database based on certain conditions.\", \"parameters\": {\"table\": {\"description\": \"Name of the table to query.\", \"type\": \"str\"}, \"conditions\": {\"description\": \"Conditions for the query, each condition is a dictionary.\", \"type\": \"list\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_18149
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"euclidean_distance\", \"description\": \"Computes the Euclidean distance between two points in a 2D plane.\", \"parameters\": {\"point_a\": {\"description\": \"The coordinates of the first point (x, y).\", \"type\": \"Tuple[float, float]\"}, \"point_b\": {\"description\": \"The coordinates of the second point (x, y).\", \"type\": \"Tuple[float, float]\"}}}, {\"name\": \"greatest_common_divisor\", \"description\": \"Computes the greatest common divisor (GCD) of two non-negative integers.\", \"parameters\": {\"a\": {\"description\": \"The first non-negative integer.\", \"type\": \"int\"}, \"b\": {\"description\": \"The second non-negative integer.\", \"type\": \"int\"}}}, {\"name\": \"calculate_quarterly_dividend\", \"description\": \"Calculates the quarterly dividend per share based on the total dividend payout and the number of outstanding shares.\", \"parameters\": {\"total_dividend\": {\"description\": \"The total dividend payout in USD.\", \"type\": \"int\"}, \"num_shares\": {\"description\": \"The number of outstanding shares.\", \"type\": \"int\"}}}, {\"name\": \"least_common_multiple\", \"description\": \"Computes the least common multiple (LCM) of two positive integers.\", \"parameters\": {\"a\": {\"description\": \"The first positive integer.\", \"type\": \"int\"}, \"b\": {\"description\": \"The second positive integer.\", \"type\": \"int\"}}}, {\"name\": \"polygon_area_shoelace\", \"description\": \"Calculates the area of a polygon using the shoelace formula.\", \"parameters\": {\"vertices\": {\"description\": \"A list of polygon vertices represented as tuples (x, y).\", \"type\": \"List[Tuple[float, float]]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_35393
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"tweets_by_userid\", \"description\": \"Fetches the most recent tweets of a specified user, with optional pagination and count control.\", \"parameters\": {\"userid\": {\"description\": \"The userId of the user whose tweets are to be fetched.\", \"type\": \"str\", \"default\": \"44196397\"}, \"cursor\": {\"description\": \"Cursor for pagination. Use to navigate to the next page of tweets. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"count\": {\"description\": \"Number of tweets to fetch. Default is '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}}}, {\"name\": \"post_details\", \"description\": \"Fetches the details of a Reddit post using the provided post ID and RapidAPI key.\", \"parameters\": {\"post_id\": {\"description\": \"The ID of the Reddit post to retrieve details for.\", \"type\": \"str\", \"default\": \"t3_t19inj\"}}}, {\"name\": \"genderify_v3\", \"description\": \"Predict and detect the gender (male or female) based on the given name or email address using the Genderify API. Names are supported in over 160 countries.\", \"parameters\": {\"text\": {\"description\": \"The name or email address to analyze for gender prediction.\", \"type\": \"str\", \"default\": \"[email protected]\"}}}, {\"name\": \"search\", \"description\": \"Searches for a profile on the specified API using the given username and API key.\", \"parameters\": {\"username\": {\"description\": \"The username to be searched. Defaults to 'kim'.\", \"type\": \"str\", \"default\": \"kim\"}}}, {\"name\": \"user_followings\", \"description\": \"Fetches the list of followings for a given TikTok user.\", \"parameters\": {\"user_id\": {\"description\": \"The unique ID of the TikTok user whose followings are to be fetched.\", \"type\": \"str\", \"default\": \"107955\"}, \"count\": {\"description\": \"The number of followings to retrieve. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"cursor\": {\"description\": \"The cursor for pagination. Use this to fetch the next set of followings. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_2620
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"earnings\", \"description\": \"Fetches the earnings data for a given company symbol using the Yahoo Finance API.\", \"parameters\": {\"symb\": {\"description\": \"The stock symbol representing the company whose earnings data is to be fetched.\", \"type\": \"str\", \"default\": \"tsla\"}}}, {\"name\": \"mini_chart\", \"description\": \"Generates a TradingView mini chart image based on the specified parameters and returns the image data or error message.\", \"parameters\": {\"width\": {\"description\": \"Width of the chart image. Must be within the valid range. Minimum: 320. Default is 800.\", \"type\": \"int, optional\", \"default\": \"800\"}, \"format\": {\"description\": \"Format of the chart image. Supported formats are 'png' and 'jpeg'. Default is 'png'.\", \"type\": \"str, optional\", \"default\": \"png\"}, \"symbol\": {\"description\": \"TradingView symbol for the chart. Examples include 'BINANCE:BTCUSDT' and 'BINANCE:BTCUSDTPERP'. Default is 'BINANCE:BTCUSDT'.\", \"type\": \"str, optional\", \"default\": \"BINANCE:BTCUSDT\"}, \"interval\": {\"description\": \"Time interval for the chart. Supported intervals are '1d', '1M', '3M', '1Y', '5Y', and 'all'. Default is '1M'.\", \"type\": \"str, optional\", \"default\": \"1M\"}, \"theme\": {\"description\": \"Color theme of the chart. Supported themes are 'light' and 'dark'. Default is 'dark'.\", \"type\": \"str, optional\", \"default\": \"dark\"}, \"height\": {\"description\": \"Height of the chart image. Must be within the valid range. Minimum: 220. Default is 400.\", \"type\": \"int, optional\", \"default\": \"400\"}}}, {\"name\": \"get_calculate_investment\", \"description\": \"Calculates various investment returns based on given parameters using an external API.\", \"parameters\": {\"rate\": {\"description\": \"The annual interest rate of the investment in percentage.\", \"type\": \"int\", \"default\": \"6.5\"}, \"principal\": {\"description\": \"The initial amount of money invested.\", \"type\": \"int\", \"default\": \"50000.00\"}, \"time\": {\"description\": \"The duration of the investment in months.\", \"type\": \"int\", \"default\": \"36\"}, \"compounding\": {\"description\": \"The frequency of compounding interest. Valid options are 'yearly', 'semi-annually', 'quarterly', and 'monthly'. Default is 'yearly'.\", \"type\": \"str, optional\", \"default\": \"yearly\"}, \"in_currency\": {\"description\": \"The currency of the investment. Default is 'USD'.\", \"type\": \"str, optional\", \"default\": \"USD\"}, \"format\": {\"description\": \"Whether to format the result. Valid options are 'yes' and 'no'. Default is 'yes'.\", \"type\": \"str, optional\", \"default\": \"yes\"}, \"to_currency\": {\"description\": \"The currency to convert the result into. Default is 'USD'.\", \"type\": \"str, optional\", \"default\": \"USD\"}}}, {\"name\": \"get_4_date_endpoint\", \"description\": \"Fetches the exchange rates for specified currencies on a given date.\", \"parameters\": {\"base\": {\"description\": \"The base currency for which to get the exchange rates.\", \"type\": \"str\", \"default\": \"eur\"}, \"symbols\": {\"description\": \"A comma-separated string of target currencies to get exchange rates for.\", \"type\": \"str\", \"default\": \"usd\"}, \"date\": {\"description\": \"The date for which to fetch the exchange rates in 'YYYY-MM-DD' format. Defaults to '2023-02-01'.\", \"type\": \"str, optional\", \"default\": \"2023-02-01\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_34728
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"recitations_by_page_number\", \"description\": \"Fetches a list of ayah recitations for a given Madani Mushaf page.\", \"parameters\": {\"recitation_id\": {\"description\": \"The identifier for the specific recitation.\", \"type\": \"int\", \"default\": \"\"}, \"page_number\": {\"description\": \"The page number in the Madani Mushaf for which ayah recitations are to be fetched.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"web_pdf\", \"description\": \"Takes a webpage URL and returns a snapshot based on the specified accept headers.\", \"parameters\": {\"accept\": {\"description\": \"The format in which the snapshot is to be returned (e.g., image/png, application/pdf).\", \"type\": \"str\", \"default\": \"image/pdf\"}, \"source\": {\"description\": \"The URL of the webpage to snapshot.\", \"type\": \"str\", \"default\": \"https://www.msn.com\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_3336
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"calculate_standard_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_44238
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"onyomi_reading\", \"description\": \"Fetches Kanji information based on the provided Onyomi (O-N) reading using the KanjiaLive API.\", \"parameters\": {\"on\": {\"description\": \"The Onyomi reading of the Kanji, provided in Katakana or romaji.\", \"type\": \"str\", \"default\": \"\\u30b7\\u30f3\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_36148
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"find_next_greater_element\", \"description\": \"Finds the next greater element for each element in a list.\", \"parameters\": {\"nums\": {\"description\": \"The list of numbers.\", \"type\": \"List[int]\"}}}, {\"name\": \"bacterial_growth\", \"description\": \"Calculates the bacterial population after a given time based on the initial population and growth rate.\", \"parameters\": {\"initial_population\": {\"description\": \"The initial bacterial population.\", \"type\": \"int\", \"default\": 20}, \"growth_rate\": {\"description\": \"The growth rate per unit time.\", \"type\": \"float\", \"default\": 20}, \"time\": {\"description\": \"The time elapsed.\", \"type\": \"float\"}, \"doubling_time\": {\"description\": \"The doubling time of the bacteria in minutes. Defaults to 20.\", \"type\": \"float, optional\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_44653
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"love_quote\", \"description\": \"Fetches and returns love quotes from the olato-quotes API.\", \"parameters\": {\"quotes\": {\"description\": \"Specific quotes to search for. Defaults to 'random quotes'.\", \"type\": \"str\", \"default\": \"random quotes\"}}}, {\"name\": \"get_session_info\", \"description\": \"Fetches session information using the provided session ID and RapidAPI key.\", \"parameters\": {\"session_id\": {\"description\": \"The unique identifier for the session.\", \"type\": \"str\", \"default\": \"1685369452715x643061726475037300\"}}}, {\"name\": \"list\", \"description\": \"Fetches a full list of expired user details from the OnlyFans API.\", \"parameters\": {\"sort\": {\"description\": \"Sorting order for the results.\", \"type\": \"str\", \"default\": \"\"}, \"signend\": {\"description\": \"End signature for authentication.\", \"type\": \"str\", \"default\": \"\"}, \"signstart\": {\"description\": \"Start signature for authentication.\", \"type\": \"str\", \"default\": \"\"}, \"apptoken\": {\"description\": \"Application token for API access.\", \"type\": \"str\", \"default\": \"\"}, \"xbc\": {\"description\": \"XBC token for API access.\", \"type\": \"str\", \"default\": \"\"}, \"timezone\": {\"description\": \"Timezone used for the query.\", \"type\": \"str\", \"default\": \"America/Los_Angeles\"}, \"useragent\": {\"description\": \"User agent string for the API request.\", \"type\": \"str\", \"default\": \"\"}, \"field\": {\"description\": \"Specific field to query for information.\", \"type\": \"str\", \"default\": \"\"}, \"offset\": {\"description\": \"Offset for pagination, must be divisible by 200.\", \"type\": \"str\", \"default\": \"\"}, \"sess\": {\"description\": \"Session identifier for the request.\", \"type\": \"str\", \"default\": \"\"}, \"auth_id\": {\"description\": \"Authentication ID for the user.\", \"type\": \"str\", \"default\": \"729369\"}}}, {\"name\": \"list_comments\", \"description\": \"Fetches comments for the specified TikTok post using the given parameters.\", \"parameters\": {\"aweme_id\": {\"description\": \"The ID of the TikTok post for which to retrieve comments.\", \"type\": \"str\", \"default\": \"\"}, \"count\": {\"description\": \"The number of comments to retrieve. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"cursor\": {\"description\": \"The position from where to start retrieving comments. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"0\"}, \"proxy\": {\"description\": \"The proxy server to use for the request. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_31802
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"neuronal_activity_rate\", \"description\": \"Calculates the neuronal activity rate based on the synaptic input rate, synaptic weight, and decay constant.\", \"parameters\": {\"synaptic_input_rate\": {\"description\": \"The rate of synaptic inputs per second.\", \"type\": \"int\", \"default\": 1.0}, \"synaptic_weight\": {\"description\": \"The weight of the synaptic input, denoting its influence. Defaults to 1.0.\", \"type\": \"float, optional\", \"default\": 0.1}, \"decay_constant\": {\"description\": \"The rate at which the neuron's potential decays. Defaults to 0.1.\", \"type\": \"float, optional\", \"default\": 1.0}}}, {\"name\": \"is_power\", \"description\": \"Checks if a number is a power of a given base.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}, \"base\": {\"description\": \"The base to check against.\", \"type\": \"int\"}}}, {\"name\": \"cagr\", \"description\": \"Calculates the Compound Annual Growth Rate (CAGR) of an investment.\", \"parameters\": {\"start_value\": {\"description\": \"The initial value of the investment.\", \"type\": \"float\"}, \"end_value\": {\"description\": \"The final value of the investment.\", \"type\": \"float\"}, \"years\": {\"description\": \"The number of years between the initial and final values.\", \"type\": \"int\"}}}, {\"name\": \"calculate_angle\", \"description\": \"Calculates the angle between the hour and minute hands of a clock.\", \"parameters\": {\"hour\": {\"description\": \"The hour value (1-12).\", \"type\": \"int\"}, \"minute\": {\"description\": \"The minute value (0-59).\", \"type\": \"int\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_30570
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_car_models\", \"description\": \"Fetches all car models for a specified car maker using the InfoCars API.\", \"parameters\": {\"maker\": {\"description\": \"The name of the car maker to fetch the models for.\", \"type\": \"str\", \"default\": \"Bugatti\"}}}, {\"name\": \"us_de\", \"description\": \"Fetches current or historical gas price data for Delaware.\", \"parameters\": {\"date\": {\"description\": \"A specific date for querying historical gas price data. If not provided, the current gas price data is returned.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"cities\", \"description\": \"Fetches the average price of gas for major cities in a specified province in Canada using the Toolbench RapidAPI service.\", \"parameters\": {\"province\": {\"description\": \"The name of the province in Canada for which to retrieve gas prices.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_36441
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"getqrcode\", \"description\": \"Generates a QR code URL based on the specified type and value.\", \"parameters\": {\"type\": {\"description\": \"The format of the QR code to generate. Valid options are 'url', 'text', 'telno', 'mailto', or 'smsto'.\", \"type\": \"str\", \"default\": \"url\"}, \"value\": {\"description\": \"The content to encode within the QR code. Example values are 'https://www.google.com' for 'url', 'Some text' for 'text', '9142545474' for 'telno', and '8542487542' for 'smsto'.\", \"type\": \"str\", \"default\": \"https://www.google.com\"}}}, {\"name\": \"obtain_a_new_datacenter_proxy\", \"description\": \"Obtain a new datacenter proxy using the provided API key. The proxy will only allow connections from a specified IP address or a list of countries.\", \"parameters\": {\"whitelist_ip\": {\"description\": \"The IP address to whitelist for using the proxy. Allows an additional IP address besides the one making the API call.\", \"type\": \"str, optional\", \"default\": \"\"}, \"countries\": {\"description\": \"A comma-separated list of country codes from which the proxy should be obtained. If not specified, the country is selected randomly.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"text_to_image\", \"description\": \"Generate an image based on the input text using the specified style through the Toolbench RapidAPI.\", \"parameters\": {\"text\": {\"description\": \"The text to convert into an image.\", \"type\": \"str\", \"default\": \"Daring treasure hunter, map and compass, standing in desolate desert, adventurous, detailed, high detail, portrait\"}, \"style\": {\"description\": \"The preset style for the image. Defaults to 'enhance'.\", \"type\": \"str, optional\", \"default\": \"enhance\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_44683
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\": \"List[float]\"}, \"point2\": {\"description\": \"The coordinates of the second point.\", \"type\": \"List[float]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_27334
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"main_endpoint\", \"description\": \"Fetches product information from the Amazon Pricing and Product Info API using the given ASIN and domain.\", \"parameters\": {\"asin\": {\"description\": \"The Amazon Standard Identification Number of the product.\", \"type\": \"str\", \"default\": \"B07GR5MSKD\"}, \"domain\": {\"description\": \"The domain from which to fetch the product information (e.g., 'com', 'co.uk').\", \"type\": \"str\", \"default\": \"de\"}}}, {\"name\": \"auto_complete\", \"description\": \"Fetches auto-complete suggestions for a given word using an external API.\", \"parameters\": {\"word\": {\"description\": \"The term or phrase for which to get auto-complete suggestions.\", \"type\": \"str\", \"default\": \"bikini top\"}, \"currency\": {\"description\": \"The 3-letter currency code. Defaults to 'USD'.\", \"type\": \"str, optional\", \"default\": \"USD\"}, \"country\": {\"description\": \"The 2-letter country code. Defaults to 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}, \"language\": {\"description\": \"The 2-letter language code. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_39317
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"find_n_largest_numbers\", \"description\": \"Finds the n largest numbers in a list.\", \"parameters\": {\"nums\": {\"description\": \"The list of numbers.\", \"type\": \"List[int]\"}, \"n\": {\"description\": \"The number of largest numbers to find.\", \"type\": \"int\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_21822
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"reverse_geocoding\", \"description\": \"Translates location coordinates into human-readable addresses using the Reverse Geocoding API.\", \"parameters\": {\"query\": {\"description\": \"The location coordinates to be translated into a readable address.\", \"type\": \"str\", \"default\": \"40.7624284 -73.973794\"}}}, {\"name\": \"facilities_lookup\", \"description\": \"Fetch a list of facilities in Senegal based on specific query parameters.\", \"parameters\": {\"region\": {\"description\": \"The region where the facility is located.\", \"type\": \"str\", \"default\": \"Dakar\"}, \"type\": {\"description\": \"The type of facility to search for (e.g., hospital, bank, college).\", \"type\": \"str\", \"default\": \"hospital\"}, \"city\": {\"description\": \"The city where the facility is located (default: 'Touba').\", \"type\": \"str, optional\", \"default\": \"Touba\"}, \"limit\": {\"description\": \"The maximum number of facilities to query (default: '10').\", \"type\": \"str, optional\", \"default\": \"10\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_9462
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_5_day_forecast\", \"description\": \"Fetches the 5-day weather forecast for a specified ski resort.\", \"parameters\": {\"resort\": {\"description\": \"The name of the ski resort for which to fetch the forecast.\", \"type\": \"str\", \"default\": \"Jackson Hole\"}, \"units\": {\"description\": \"The units for temperature and snow depth. Accepted values are 'i' for imperial and 'm' for metric. Defaults to 'i'.\", \"type\": \"str, optional\", \"default\": \"i\"}, \"el\": {\"description\": \"The elevation level of the mountain for which to fetch the forecast. Accepted values are 'top', 'mid', and 'bot'. Defaults to 'top'.\", \"type\": \"str, optional\", \"default\": \"top\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_11873
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"is_valid_sudoku\", \"description\": \"Checks if a 9x9 Sudoku board is valid.\", \"parameters\": {\"board\": {\"description\": \"The Sudoku board represented as a 2D list of strings.\", \"type\": \"List[List[str]]\"}}}, {\"name\": \"note_duration\", \"description\": \"Calculates the duration between two musical notes based on their frequencies and the tempo.\", \"parameters\": {\"freq1\": {\"description\": \"The frequency of the first note in Hz.\", \"type\": \"int\", \"default\": 120}, \"freq2\": {\"description\": \"The frequency of the second note in Hz.\", \"type\": \"int\", \"default\": 120}, \"bpm\": {\"description\": \"The tempo of the music in beats per minute. Defaults to 120.\", \"type\": \"int, optional\"}}}, {\"name\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\": \"List[float]\"}, \"point2\": {\"description\": \"The coordinates of the second point.\", \"type\": \"List[float]\"}}}, {\"name\": \"polygon_area_shoelace\", \"description\": \"Calculates the area of a polygon using the shoelace formula.\", \"parameters\": {\"vertices\": {\"description\": \"A list of polygon vertices represented as tuples (x, y).\", \"type\": \"List[Tuple[float, float]]\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_48617
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"imperial_pounds\", \"description\": \"Calculates the Body Mass Index (BMI) of an individual using the imperial measurement system through an API.\", \"parameters\": {\"weight\": {\"description\": \"The weight of the individual in pounds (lbs).\", \"type\": \"int\", \"default\": \"150\"}, \"height\": {\"description\": \"The height of the individual in inches (in).\", \"type\": \"int\", \"default\": \"68\"}}}, {\"name\": \"bmi\", \"description\": \"Calculates the Body Mass Index (BMI) using given weight and height, optionally specifying the measurement system.\", \"parameters\": {\"weight\": {\"description\": \"Weight of the individual.\", \"type\": \"int\", \"default\": \"86\"}, \"height\": {\"description\": \"Height of the individual.\", \"type\": \"int\", \"default\": \"184\"}, \"system\": {\"description\": \"Measurement system, either 'metric' (kg/m^2) or 'imperial' (lbs/in^2). Defaults to 'metric'.\", \"type\": \"str, optional\", \"default\": \"metric\"}}}, {\"name\": \"hoscoscope\", \"description\": \"Retrieves the horoscope for a specific sign and date using the Horostory API.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve the horoscope, formatted as 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"\"}, \"sign\": {\"description\": \"The astrological sign for which to retrieve the horoscope.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_48390
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"provider2_live_match_id\", \"description\": \"Fetches live match details from the provider2 API for a given match ID.\", \"parameters\": {\"is_id\": {\"description\": \"The match ID for which to fetch the live details.\", \"type\": \"str\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_25325
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"mfs_list\", \"description\": \"Fetch a list of mutual funds from the Twelve Data API with various filter options.\", \"parameters\": {\"apikey\": {\"description\": \"API key for authentication. Defaults to 'demo'.\", \"type\": \"str, optional\", \"default\": \"demo\"}, \"performance_rating\": {\"description\": \"Filter by performance rating. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"fund_type\": {\"description\": \"Filter by type of fund. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"outputsize\": {\"description\": \"Specifies the number of records to return. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"Filter funds by country. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"fund_family\": {\"description\": \"Filter by fund family. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"symbol\": {\"description\": \"Filter by specific symbol. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"risk_rating\": {\"description\": \"Filter by risk rating. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_47130
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"expand_around_center\", \"description\": \"Helper function to expand around a center for finding palindromic substrings.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}, \"left\": {\"description\": \"The left index of the center.\", \"type\": \"int\"}, \"right\": {\"description\": \"The right index of the center.\", \"type\": \"int\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_43454
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_user_info_by_user_id\", \"description\": \"Fetch Instagram user information by user ID using the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The Instagram user ID for which the information is to be fetched.\", \"type\": \"int\", \"default\": \"18527\"}}}, {\"name\": \"get_followers_by_username\", \"description\": \"Retrieves the information of 12 followers for a given Instagram username using the RapidAPI service.\", \"parameters\": {\"username\": {\"description\": \"The Instagram username for which to fetch followers information.\", \"type\": \"str\", \"default\": \"therock\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_28231
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"get_math_fact\", \"description\": \"Fetch a mathematical property or fact about a given number.\", \"parameters\": {\"number\": {\"description\": \"The number for which the mathematical fact is to be retrieved.\", \"type\": \"str\", \"default\": \"1729\"}, \"fragment\": {\"description\": \"If set to 'True', returns the fact as a sentence fragment that can be easily included in a larger sentence. Defaults to 'True'.\", \"type\": \"str, optional\", \"default\": true}, \"json\": {\"description\": \"If set to 'True', returns the result in JSON format instead of plaintext. Defaults to 'True'.\", \"type\": \"str, optional\", \"default\": true}}}, {\"name\": \"getrank\", \"description\": \"Fetches the contest rank of a LeetCode user.\", \"parameters\": {\"username\": {\"description\": \"The LeetCode username whose contest rank is to be fetched.\", \"type\": \"str\", \"default\": \"mujtabah258\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_12960
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"density\", \"description\": \"Calculates the density of an object given its mass and volume.\", \"parameters\": {\"mass\": {\"description\": \"The mass of the object.\", \"type\": \"float\"}, \"volume\": {\"description\": \"The volume of the object.\", \"type\": \"float\"}}}, {\"name\": \"find_longest_palindromic_substring\", \"description\": \"Finds the longest palindromic substring in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k
Salesforce/xlam-function-calling-60k_46608
[ { "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. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.", "function_calls": null, "functions": "[{\"name\": \"is_rotation\", \"description\": \"Checks if one string is a rotation of another string.\", \"parameters\": {\"str1\": {\"description\": \"The first string.\", \"type\": \"str\"}, \"str2\": {\"description\": \"The second string.\", \"type\": \"str\"}}}, {\"name\": \"is_sum_of_cubes\", \"description\": \"Checks if a number is the sum of the cubes of its digits.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"reverse_words\", \"description\": \"Reverses the order of words in a sentence.\", \"parameters\": {\"sentence\": {\"description\": \"The input sentence.\", \"type\": \"str\"}}}, {\"name\": \"generate_password\", \"description\": \"Generates a random password of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the password. Defaults to 12.\", \"type\": \"int, optional\", \"default\": 12}, \"include_special\": {\"description\": \"Whether to include special characters in the password. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}}}]", "role": "system" }, { "content": "", "function_calls": null, "functions": null, "role": "user" }, { "content": "", "function_calls": null, "functions": null, "role": "assistant" } ]
Salesforce/xlam-function-calling-60k