id
stringlengths 40
42
| messages
listlengths 3
3
| source
stringclasses 1
value |
---|---|---|
Salesforce/xlam-function-calling-60k_32542
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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]\"}}}, {\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"probability_of_consecutive_rolls\", \"description\": \"Calculates the probability of rolling a specific value on a die consecutively for a given number of rolls.\", \"parameters\": {\"target_value\": {\"description\": \"The desired value to be rolled.\", \"type\": \"int\", \"default\": 6}, \"num_rolls\": {\"description\": \"The number of consecutive rolls.\", \"type\": \"int\", \"default\": 6}, \"num_sides\": {\"description\": \"The number of sides on the die. Defaults to 6.\", \"type\": \"int, optional\"}}}, {\"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_53008
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getrandompassword\", \"description\": \"Generates a random password string of the specified length using the Random Chunk API on RapidAPI.\", \"parameters\": {\"length\": {\"description\": \"The desired length of the generated password. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}}}, {\"name\": \"qrcode\", \"description\": \"Generate a QR code based on the provided data string using the QR Code Generator API.\", \"parameters\": {\"data\": {\"description\": \"The input data to be converted into a QR code.\", \"type\": \"str\", \"default\": \"Hello World!\"}}}, {\"name\": \"keyword_search_with_ranking\", \"description\": \"Perform a keyword search at a specific coordinate (latitude/longitude) to find businesses and rank a specific business at that location. The ranking data can be determined by the business place ID or business name.\", \"parameters\": {\"query\": {\"description\": \"The Google Place ID of the business or the business name to match in results. Use the `match_type` parameter to specify the choice.\", \"type\": \"str\", \"default\": \"web design\"}, \"lng\": {\"description\": \"The longitude value of the grid center coordinate point.\", \"type\": \"int\", \"default\": \"-121.938314\"}, \"match_value\": {\"description\": \"The keyword or search query.\", \"type\": \"str\", \"default\": \"ChIJoejvAr3Mj4ARtHrbKxtAHXI\"}, \"lat\": {\"description\": \"The latitude value of the grid center coordinate point.\", \"type\": \"int\", \"default\": \"37.341759\"}, \"zoom\": {\"description\": \"The Google Maps zoom level to use for the search on each grid point. Allowed values are 0-18. Default is 13.\", \"type\": \"int, optional\", \"default\": \"13\"}, \"match_type\": {\"description\": \"The type of match to perform for ranking. Allowed values are 'place_id' or 'name'. Default is 'place_id'.\", \"type\": \"str, optional\", \"default\": \"place_id\"}}}]",
"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_43885
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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\": \"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\"}}}]",
"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_11534
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"longest_common_prefix\", \"description\": \"Finds the longest common prefix among a list of strings.\", \"parameters\": {\"strs\": {\"description\": \"The list of strings.\", \"type\": \"List[str]\"}}}, {\"name\": \"is_palindrome\", \"description\": \"Checks if a string is a palindrome.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"remove_duplicates\", \"description\": \"Removes duplicate elements from a list while preserving the order.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"find_first_non_repeating_char\", \"description\": \"Finds the first non-repeating character 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_47749
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_missing_ranges\", \"description\": \"Finds the missing ranges between lower and upper in a sorted list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The sorted list of integers.\", \"type\": \"List[int]\"}, \"lower\": {\"description\": \"The lower bound.\", \"type\": \"int\"}, \"upper\": {\"description\": \"The upper bound.\", \"type\": \"int\"}}}, {\"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_19113
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_19886
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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\"}}}]",
"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_5017
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"factorial\", \"description\": \"Computes the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer to compute the factorial of.\", \"type\": \"int\"}}}, {\"name\": \"prime_factorization\", \"description\": \"Computes the prime factorization of a positive integer.\", \"parameters\": {\"number\": {\"description\": \"The positive integer to factorize.\", \"type\": \"int\"}}}, {\"name\": \"find_peak_element\", \"description\": \"Finds a peak element in a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"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\"}}}]",
"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_7003
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_search\", \"description\": \"Performs binary search on a sorted list to find the index of a target value.\", \"parameters\": {\"arr\": {\"description\": \"The sorted list of integers.\", \"type\": \"List[int]\"}, \"target\": {\"description\": \"The target value to search for.\", \"type\": \"int\"}}}, {\"name\": \"merge_dictionaries\", \"description\": \"Merges two dictionaries into a single dictionary.\", \"parameters\": {\"dict1\": {\"description\": \"The first dictionary.\", \"type\": \"Dict\"}, \"dict2\": {\"description\": \"The second dictionary.\", \"type\": \"Dict\"}}}, {\"name\": \"count_vowels\", \"description\": \"Counts the number of vowels in a given text.\", \"parameters\": {\"text\": {\"description\": \"The input text.\", \"type\": \"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\": \"reverse_string\", \"description\": \"Reverses the characters in a string.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"is_armstrong_number\", \"description\": \"Checks if a number is an Armstrong number.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"is_valid_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"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_27142
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"capture_screenshot\", \"description\": \"Captures a screenshot of the specified website and returns the observation JSON or text from the API response.\", \"parameters\": {\"url\": {\"description\": \"The URL of the website to capture a screenshot of.\", \"type\": \"str\", \"default\": \"https://apple.com\"}}}, {\"name\": \"mlem_id\", \"description\": \"Fetches a mlem image by its ID in JSON format using the Mlem API.\", \"parameters\": {\"mlemid\": {\"description\": \"The ID of the mlem image to fetch.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"get_user\", \"description\": \"Retrieve information about an Instagram user.\", \"parameters\": {\"user\": {\"description\": \"The username of the Instagram user to retrieve information for.\", \"type\": \"str\", \"default\": \"cristiano\"}}}, {\"name\": \"search_for_any_category_or_star\", \"description\": \"Search for images using a category keyword or pornstar name via the RapidAPI service.\", \"parameters\": {\"search\": {\"description\": \"The category keyword or pornstar name to search for.\", \"type\": \"str\", \"default\": \"Natasha Nice\"}}}]",
"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_41092
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"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\"}}}, {\"name\": \"light_travel_time\", \"description\": \"Calculate the time taken for light to travel from one celestial body to another.\", \"parameters\": {\"distance_in_light_years\": {\"description\": \"The distance between the two celestial bodies in light years.\", \"type\": \"int\", \"default\": 299792458}, \"speed_of_light\": {\"description\": \"The speed of light in vacuum, in m/s. Default value is 299792458 m/s.\", \"type\": \"int\", \"default\": 299792458}}}]",
"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_36876
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_by_tvdb_id\", \"description\": \"Fetches TV Show information from the MDB List API using the given TVDB ID.\", \"parameters\": {\"tv\": {\"description\": \"The TVDB ID of the TV Show to fetch information for.\", \"type\": \"int\", \"default\": \"273181\"}}}]",
"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_11768
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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_38451
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_trivia_fact\", \"description\": \"Fetches a trivia fact about a given number from the Numbers API.\", \"parameters\": {\"number\": {\"description\": \"The number for which to retrieve the trivia fact.\", \"type\": \"str\", \"default\": \"42\"}, \"fragment\": {\"description\": \"Whether to return the fact as a sentence fragment. Defaults to 'True'.\", \"type\": \"str, optional\", \"default\": true}, \"notfound\": {\"description\": \"Determines the behavior when a fact is not found for the specified number. Options are 'default', 'floor', or 'ceil'. Defaults to 'floor'.\", \"type\": \"str, optional\", \"default\": \"floor\"}, \"json\": {\"description\": \"Whether to return the result as JSON. Defaults to 'True'.\", \"type\": \"str, optional\", \"default\": true}}}, {\"name\": \"gettotalsolved\", \"description\": \"Fetches the total number of questions solved by the given LeetCode user.\", \"parameters\": {\"username\": {\"description\": \"The LeetCode username of the user whose solved questions are to be retrieved.\", \"type\": \"str\", \"default\": \"mujtabah258\"}}}, {\"name\": \"kunyomi_reading\", \"description\": \"Searches for kanji characters using the provided kunyomi reading.\", \"parameters\": {\"kun\": {\"description\": \"The kunyomi reading of the kanji character, specified in Hiragana or romaji.\", \"type\": \"str\", \"default\": \"oya\"}}}]",
"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_55099
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"probability_of_consecutive_rolls\", \"description\": \"Calculates the probability of rolling a specific value on a die consecutively for a given number of rolls.\", \"parameters\": {\"target_value\": {\"description\": \"The desired value to be rolled.\", \"type\": \"int\", \"default\": 6}, \"num_rolls\": {\"description\": \"The number of consecutive rolls.\", \"type\": \"int\", \"default\": 6}, \"num_sides\": {\"description\": \"The number of sides on the die. Defaults to 6.\", \"type\": \"int, optional\"}}}, {\"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\"}}}, {\"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\": \"calculate_card_game_probability\", \"description\": \"Calculate the probability of drawing a certain number of desired cards from a deck.\", \"parameters\": {\"total_cards\": {\"description\": \"Total number of cards in the deck.\", \"type\": \"int\"}, \"desired_cards\": {\"description\": \"Number of cards in the deck that satisfy the conditions.\", \"type\": \"int\"}, \"cards_drawn\": {\"description\": \"Number of cards drawn from the deck.\", \"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_5922
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_range\", \"description\": \"Helper function to format the range string.\", \"parameters\": {\"start\": {\"description\": \"The start of the range.\", \"type\": \"int\"}, \"end\": {\"description\": \"The end of the range.\", \"type\": \"int\"}}}, {\"name\": \"is_armstrong_number\", \"description\": \"Checks if a number is an Armstrong number.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"find_duplicate_number\", \"description\": \"Finds the duplicate number in a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"is_valid_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"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_30711
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_a_conversation_turn\", \"description\": \"Fetch a specific conversation turn by its ID and return its details.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the conversation turn to fetch.\", \"type\": \"int\", \"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\": \"\"}}}, {\"name\": \"get_product\", \"description\": \"Fetches product details from the RapidAPI endpoint using the given product ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the product to fetch details for.\", \"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_5389
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"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\": \"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]]\"}}}, {\"name\": \"find_minimum_rotated_sorted_array\", \"description\": \"Finds the minimum element in a rotated sorted array.\", \"parameters\": {\"nums\": {\"description\": \"The rotated sorted array.\", \"type\": \"List[int]\"}}}, {\"name\": \"fibonacci_numbers\", \"description\": \"Generates the first n Fibonacci numbers.\", \"parameters\": {\"n\": {\"description\": \"The number of Fibonacci numbers to generate.\", \"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\": \"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\": \"can_attend_all_meetings\", \"description\": \"Determines if a person can attend all meetings given a list of meeting time intervals.\", \"parameters\": {\"intervals\": {\"description\": \"A list of meeting time intervals, where each interval is represented as [start_time, end_time].\", \"type\": \"List[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_52310
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"singleoffer\", \"description\": \"Fetches information for a single offer from the Avito API.\", \"parameters\": {\"singleav\": {\"description\": \"The identifier for the single offer to fetch information about.\", \"type\": \"str\", \"default\": \"https://www.avito.ma/fr/autre_secteur/maisons_et_villas/Villa_OCP_4_faces_sur_550_metre_de_terrain_49107436.htm\"}}}]",
"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_12026
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"alerts\", \"description\": \"Fetches severe weather alerts for a specified location using GPS coordinates or place ID.\", \"parameters\": {\"place_id\": {\"description\": \"Identifier of a place obtained from the 'Location' endpoints. If provided, it takes precedence over lat and lon.\", \"type\": \"str, optional\", \"default\": \"\"}, \"lat\": {\"description\": \"Latitude of the location, with defaults to '45.74846'. This can be in formats like 12N, 12.3N, -13.4. Ignored if place_id is provided.\", \"type\": \"str, optional\", \"default\": \"45.74846\"}, \"lon\": {\"description\": \"Longitude of the location, with defaults to '4.84671'. This can be in formats like 12E, 12.3E, -13.4. Ignored if place_id is provided.\", \"type\": \"str, optional\", \"default\": \"4.84671\"}, \"language\": {\"description\": \"Language of text summaries. Supported languages are:\", \"type\": \"str, optional\", \"default\": \"en\"}, \"timezone\": {\"description\": \"Timezone for date fields in the response. Default is 'auto', which uses the local timezone of the location. Format follows the tzinfo database (e.g., 'Europe/Prague', 'UTC').\", \"type\": \"str, optional\", \"default\": \"auto\"}}}, {\"name\": \"ocean_conditions_closest_to_latitude_longitude\", \"description\": \"Search for current and predicted ocean conditions closest to a specified latitude and longitude.\", \"parameters\": {\"latitude\": {\"description\": \"The latitude coordinate of the location.\", \"type\": \"int\", \"default\": \"52.8\"}, \"longitude\": {\"description\": \"The longitude coordinate of the location.\", \"type\": \"int\", \"default\": \"-4.07\"}}}, {\"name\": \"getforecastweather\", \"description\": \"Fetches weather forecast data for a specified city using the OpenWeatherMap API.\", \"parameters\": {\"q\": {\"description\": \"The city name for which the weather forecast is requested.\", \"type\": \"str\", \"default\": \"\"}, \"cnt\": {\"description\": \"The number of timestamps to return in the response. Defaults to None.\", \"type\": \"int, optional\", \"default\": \"\"}, \"units\": {\"description\": \"Units of measurement. Options are 'imperial' for Fahrenheit, 'metric' for Celsius, and 'standard' for Kelvin. Defaults to 'standard'.\", \"type\": \"str, optional\", \"default\": \"standard\"}, \"lang\": {\"description\": \"Language for the output. Translation applies to city name and description fields. 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_11770
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"super_lig_standings\", \"description\": \"Fetches the standings of the Super Lig for a specific season using the RapidAPI service.\", \"parameters\": {\"season\": {\"description\": \"The season for which standings are required. Example: '2022'. If not provided, the current season's standings will be fetched.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"teamdetails\", \"description\": \"Retrieves the details of a specific basketball team using the given team ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the team for which details are to be retrieved.\", \"type\": \"int\", \"default\": 3436}}}, {\"name\": \"tournaments\", \"description\": \"Retrieves a schedule of all tennis tournaments for a given tour code and season ID using the specified RapidAPI key.\", \"parameters\": {\"tour_code\": {\"description\": \"The code representing the tennis tour (e.g., 'atp', 'wta').\", \"type\": \"str\", \"default\": \"ATP\"}, \"season_id\": {\"description\": \"The year representing the season (e.g., 2023).\", \"type\": \"int\", \"default\": \"2020\"}}}, {\"name\": \"tournament_results_by_id_and_year_wta\", \"description\": \"Retrieves all the matches played in a selected WTA tournament for a given year.\", \"parameters\": {\"year\": {\"description\": \"The year of the tournament. Please note that not all tournaments are held every year.\", \"type\": \"int\", \"default\": \"2022\"}, \"tournament_id\": {\"description\": \"The ID of the tournament. You can retrieve this list from the WTA endpoint.\", \"type\": \"str\", \"default\": \"709\"}}}]",
"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_13569
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_parental_guide\", \"description\": \"Fetches parental guide information for a specific movie from the online movie database.\", \"parameters\": {\"tconst\": {\"description\": \"The unique identifier for the movie. It should start with 'tt' and can be obtained from the `/title/auto-complete` or `/title/find` endpoints. For example, 'tt0944947'.\", \"type\": \"str\", \"default\": \"tt0944947\"}}}, {\"name\": \"retrieve_data\", \"description\": \"Retrieve data from the Cameroon news API with optional query parameters.\", \"parameters\": {\"rank\": {\"description\": \"The ranking criteria for the news data. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"The page number to retrieve for the data. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"search\": {\"description\": \"A search key to filter the news data. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"politician_goverlytics_id\", \"description\": \"Retrieves information about a politician by their 'goverlytics_id' from the Goverlytics API.\", \"parameters\": {\"goverlytics_id\": {\"description\": \"The unique identifier for a politician in the Goverlytics system.\", \"type\": \"str\", \"default\": \"437c7e15-c66a-4b46-af9b-07e9b1317190\"}}}, {\"name\": \"get_news\", \"description\": \"Fetches a list of news articles based on the specified category and region.\", \"parameters\": {\"category\": {\"description\": \"The category of news to fetch.\", \"type\": \"str\", \"default\": \"\"}, \"region\": {\"description\": \"The region code for which to fetch news. Examples include 'us' for the United States and 'gb' for the United Kingdom.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"movies_get_upcoming\", \"description\": \"Fetches a list of upcoming movies based on the specified parameters.\", \"parameters\": {\"limit\": {\"description\": \"The number of items to return, with a maximum of 100. Defaults to 100.\", \"type\": \"int, optional\", \"default\": \"100\"}, \"countryid\": {\"description\": \"The country identifier to filter the upcoming movies list. Defaults to 'usa'. Example values include 'afg', 'alb', 'dza', etc.\", \"type\": \"str, optional\", \"default\": \"usa\"}}}, {\"name\": \"getfutureevents\", \"description\": \"Fetches future election events for a given page from the Election2020 Smartable API.\", \"parameters\": {\"page\": {\"description\": \"The page number or identifier to fetch specific events.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"getstats\", \"description\": \"Fetches the latest and historical coronavirus statistics data, including confirmed cases, deaths, and recovered cases, for a specified location.\", \"parameters\": {\"location\": {\"description\": \"ISO 3166-2 location code (e.g., \\\"FR\\\" for France, \\\"US\\\" for the United States, \\\"US-CA\\\" for California state, or \\\"global\\\" for worldwide statistics).\", \"type\": \"str\", \"default\": \"US\"}}}, {\"name\": \"title_get_technical\", \"description\": \"Fetches technical information for a movie or TV show using its tconst identifier and RapidAPI key.\", \"parameters\": {\"tconst\": {\"description\": \"The unique identifier for a title, typically starting with 'tt', obtained from endpoints like /title/auto-complete or /title/find.\", \"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_50061
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"recipes_by_author\", \"description\": \"Fetches recipes by a given author profile from the Worldwide Recipes API.\", \"parameters\": {\"profile_name\": {\"description\": \"The name of the author's profile to fetch recipes for.\", \"type\": \"str\", \"default\": \"gonna-want-seconds\"}, \"q\": {\"description\": \"An optional query string to filter recipes.\", \"type\": \"str, optional\", \"default\": \"\"}, \"start\": {\"description\": \"The starting index for pagination (e.g., Page 1 = start: 0, Page 2 = start: 20).\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"keto_recipes_by_difficulty\", \"description\": \"Fetches all keto recipes filtered by difficulty level.\", \"parameters\": {\"difficulty\": {\"description\": \"The difficulty level of the recipes to retrieve (Easy, Medium, or Difficult).\", \"type\": \"str\", \"default\": \"Medium\"}}}]",
"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_9154
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"specifications_by_year_make_model\", \"description\": \"Retrieves motorcycle specifications for a given make, model, and year from the Motorcycle Specs Database.\", \"parameters\": {\"make\": {\"description\": \"The manufacturer of the motorcycle.\", \"type\": \"str\", \"default\": \"BMW\"}, \"model\": {\"description\": \"The model of the motorcycle.\", \"type\": \"str\", \"default\": \"F 800 GS Trophy\"}, \"year\": {\"description\": \"The production year of the motorcycle.\", \"type\": \"str\", \"default\": \"2012\"}}}, {\"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_53843
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"hourly_forecast_48_hours\", \"description\": \"Fetches a 48-hour weather forecast for the specified latitude and longitude coordinates.\", \"parameters\": {\"latitude\": {\"description\": \"The latitude coordinate for the forecast location.\", \"type\": \"str\", \"default\": \"-22.95\"}, \"longitude\": {\"description\": \"The longitude coordinate for the forecast location.\", \"type\": \"str\", \"default\": \"-43.21\"}}}, {\"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\": \"search_api\", \"description\": \"Searches for location information using the World Weather Online API.\", \"parameters\": {\"q\": {\"description\": \"The query value for the location search.\", \"type\": \"str\", \"default\": \"london\"}, \"format\": {\"description\": \"The format of the response. 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_18520
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_of_room_types\", \"description\": \"Returns data related to room types from the Booking.com API. This function optionally takes a room type ID and an API key to fetch specific room type details.\", \"parameters\": {\"room_type_id\": {\"description\": \"The ID of the room type to be retrieved. 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_46871
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getlearningresources\", \"description\": \"Fetches artificial intelligence learning resources from the specified page using the given RapidAPI key.\", \"parameters\": {\"page\": {\"description\": \"The page number of learning resources to fetch.\", \"type\": \"int\", \"default\": \"1\"}}}, {\"name\": \"get_individual_news_from_source_news\", \"description\": \"Fetches news about climate change from a specified news source.\", \"parameters\": {\"newspaperid\": {\"description\": \"The ID of the newspaper from which to fetch news.\", \"type\": \"str\", \"default\": \"guardian\"}}}, {\"name\": \"v1_search\", \"description\": \"Performs a customizable search through a news database with various filtering and sorting options.\", \"parameters\": {\"q\": {\"description\": \"The search query string. This must be URL-encoded.\", \"type\": \"str\", \"default\": \"Elon Musk\"}, \"not_sources\": {\"description\": \"Comma-separated list of sources to exclude from the search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"lang\": {\"description\": \"Language of the articles. Supported values include various language codes such as 'en', 'es', 'fr', etc. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"search_in\": {\"description\": \"Scope of the search within articles. Options are 'title', 'summary', or both.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sort_by\": {\"description\": \"Criteria for sorting the search results. Options include 'relevancy', 'date', and 'rank'. Defaults to 'relevancy'.\", \"type\": \"str, optional\", \"default\": \"relevancy\"}, \"sources\": {\"description\": \"Comma-separated list of sources to exclude from the search results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"to\": {\"description\": \"Date until which to search for articles.\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"Country to narrow the search. Supports ISO 3166-1 alpha-2 codes.\", \"type\": \"str, optional\", \"default\": \"\"}, \"media\": {\"description\": \"Whether to include media information in the results. Defaults to 'True'.\", \"type\": \"str, optional\", \"default\": \"True\"}, \"topic\": {\"description\": \"Topic to restrict the search. Options include 'news', 'sport', 'tech', etc.\", \"type\": \"str, optional\", \"default\": \"\"}, \"from_rank\": {\"description\": \"Lower boundary of the source rank.\", \"type\": \"int, optional\", \"default\": \"\"}, \"to_rank\": {\"description\": \"Upper boundary of the source rank.\", \"type\": \"int, optional\", \"default\": \"\"}, \"page_size\": {\"description\": \"Number of articles to return per page. Maximum is 100.\", \"type\": \"int, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number for paginated results. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"ranked_only\": {\"description\": \"Limit to top-ranked sources only. Defaults to 'True'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"is_from\": {\"description\": \"Date from which to start the search.\", \"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_47107
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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]\"}}}]",
"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_2664
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\", \"description\": \"Fetch all information about a specific user on Likee using the provided username.\", \"parameters\": {\"username\": {\"description\": \"The Likee username to fetch information for. Example: 'MariamHany'.\", \"type\": \"str\", \"default\": \"MariamHany\"}}}, {\"name\": \"search_user\", \"description\": \"Search for Instagram users based on a given keyword using the RapidAPI service.\", \"parameters\": {\"keyword\": {\"description\": \"The keyword to search for Instagram users.\", \"type\": \"str\", \"default\": \"insta\"}}}]",
"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_39010
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_searchterm\", \"description\": \"Search for a term using the Uncovered Treasure API and return the results.\", \"parameters\": {\"searchterm\": {\"description\": \"The term to search for, e.g., \\\"God's plan\\\".\", \"type\": \"str\", \"default\": \"\"}, \"callback\": {\"description\": \"An optional JSONP callback parameter for the API request.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"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}}}]",
"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_45254
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_recipe_by_id\", \"description\": \"Fetches a specific recipe by its ID from the Ghana Food Recipe API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the recipe to fetch.\", \"type\": \"str\", \"default\": \"63c2e83b09852be5facb894a\"}}}, {\"name\": \"generate_recipe\", \"description\": \"This function generates a recipe using an ingredient and a provided RapidAPI key.\", \"parameters\": {\"ingredient\": {\"description\": \"The main ingredient to be used in the recipe. Default is 'chicken'.\", \"type\": \"str\", \"default\": \"chicken\"}}}, {\"name\": \"get_desserts_by_there_id\", \"description\": \"Fetch dessert information from an API using a given dessert ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the dessert to look up.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"detailed_food_recipe_by_id\", \"description\": \"Fetch a detailed Mexican food recipe by its unique ID using the specified RapidAPI key.\", \"parameters\": {\"is_id\": {\"description\": \"Unique identifier for the Mexican food recipe.\", \"type\": \"str\", \"default\": \"4\"}}}]",
"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_34570
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"wnba_standings\", \"description\": \"Fetches the WNBA team standings for a given year, with optional grouping.\", \"parameters\": {\"year\": {\"description\": \"The year for which the standings are to be fetched.\", \"type\": \"str\", \"default\": \"2022\"}, \"group\": {\"description\": \"The group name for standings, either 'league' or 'conference'. Defaults to 'league'.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"seasonal_goal_analysis_conceding_first\", \"description\": \"Retrieves statistics on the first goal conceded by teams in a specified match during different minute intervals throughout the match.\", \"parameters\": {\"matchid\": {\"description\": \"The ID of the match for which to retrieve conceding-first goal statistics.\", \"type\": \"int\", \"default\": \"1452254\"}}}]",
"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_50505
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"domain_reputation\", \"description\": \"Evaluate the reputation of a given domain using the Toolbench RapidAPI service.\", \"parameters\": {\"domainname\": {\"description\": \"The domain name to be evaluated.\", \"type\": \"str\", \"default\": \"whoisxmlapi.com\"}, \"outputformat\": {\"description\": \"The response output format. Acceptable values are 'XML' or 'JSON'. Defaults to 'JSON'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"mode\": {\"description\": \"The mode for the API check. Acceptable values are 'fast' (some heavy tests and data collectors will be disabled) or 'full' (all data and tests will be processed). Defaults to 'fast'.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"order_by_ascending\", \"description\": \"Fetches a list of all cats sorted in ascending order by a specified attribute.\", \"parameters\": {\"ordering\": {\"description\": \"The attribute by which to order the list of cats, e.g., 'name'.\", \"type\": \"str\", \"default\": \"breedName\"}}}, {\"name\": \"single_cat_breed\", \"description\": \"Fetches details of a single cat breed using the provided breed ID from the Cat Breed Database API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the cat breed to fetch details for.\", \"type\": \"int\", \"default\": \"34\"}}}, {\"name\": \"mouldinformation\", \"description\": \"Retrieves mould information for a given tenant ID using the specified RapidAPI key.\", \"parameters\": {\"tenantid\": {\"description\": \"The ID of the tenant for which mould information is to be retrieved.\", \"type\": \"str\", \"default\": \"TNTgielleplast\"}}}]",
"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_13790
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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\"}}}]",
"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_15714
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_liquidity_value\", \"description\": \"Retrieves the liquidity value of a specified cryptocurrency in US Dollars.\", \"parameters\": {\"symbol\": {\"description\": \"The ticker symbol of the cryptocurrency.\", \"type\": \"str\", \"default\": \"BTC\"}}}, {\"name\": \"latest_rates\", \"description\": \"Fetches the latest exchange rates for the specified base currency.\", \"parameters\": {\"base\": {\"description\": \"The base currency code for which to retrieve exchange rates.\", \"type\": \"str\", \"default\": \"USD\"}, \"currencies\": {\"description\": \"Comma-separated string of target currency codes for which to retrieve exchange rates. If not provided, rates for all available currencies are returned.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"streams_symbol\", \"description\": \"Fetches the most recent messages for a specified stock symbol from the StockTwits API.\", \"parameters\": {\"is_id\": {\"description\": \"Ticker symbol, Stock ID, or RIC code of the symbol.\", \"type\": \"str\", \"default\": \"AAPL\"}, \"since\": {\"description\": \"Returns results with an ID greater than (more recent than) the specified ID.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max\": {\"description\": \"Returns results with an ID less than (older than) or equal to the specified ID.\", \"type\": \"int, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"The number of messages to retrieve, with a default of 20. The maximum allowed value is 30.\", \"type\": \"int, optional\", \"default\": \"20\"}, \"callback\": {\"description\": \"Custom callback function name for the request.\", \"type\": \"str, optional\", \"default\": \"\"}, \"filter\": {\"description\": \"Filter messages by links, charts, videos, or top.\", \"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_2675
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_median\", \"description\": \"Calculates the median of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}, {\"name\": \"displacement\", \"description\": \"Calculates the displacement 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\"}}}, {\"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\": \"permutation_count\", \"description\": \"Calculates the number of permutations of k elements from a set of n elements.\", \"parameters\": {\"n\": {\"description\": \"The total number of elements in the set.\", \"type\": \"int\"}, \"k\": {\"description\": \"The number of elements to choose for the permutation.\", \"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_35860
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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]\"}}}, {\"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_14433
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_13601
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"playlist_posts\", \"description\": \"Fetch posts from TikTok for a specific user and playlist.\", \"parameters\": {\"user_id\": {\"description\": \"The ID or secret UID of the user.\", \"type\": \"str\", \"default\": \"6896921279983977474\"}, \"playlist_id\": {\"description\": \"The ID of the playlist.\", \"type\": \"str\", \"default\": \"6974449062670027522\"}, \"offset\": {\"description\": \"The offset for pagination. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"0\"}}}]",
"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_51947
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"multi_search\", \"description\": \"Performs a multi-search on Genius based on the given query, returning paginated results.\", \"parameters\": {\"q\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"\"}, \"per_page\": {\"description\": \"The number of results to return per request. Defaults to 3.\", \"type\": \"int, optional\", \"default\": \"3\"}, \"page\": {\"description\": \"The number of results to return per request. Defaults to 3.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"text_format\": {\"description\": \"The format for text bodies related to the document. Can be one or more of `dom`, `plain`, `markdown`, and `html`, separated by commas. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"billboard_global_200\", \"description\": \"Fetch Billboard Global 200 chart information for a specific date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to retrieve the chart information, in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2020-09-19\"}}}, {\"name\": \"greatest_of_all_time_songs_of_the_summer\", \"description\": \"Fetches the Greatest of All Time Songs of the Summer chart from the Billboard API.\", \"parameters\": {\"range\": {\"description\": \"The range of songs to retrieve. Default is '1-10'.\", \"type\": \"str, optional\", \"default\": \"1-10\"}}}, {\"name\": \"catalog_albums\", \"description\": \"Fetch catalog album data from the Billboard API for a specified week.\", \"parameters\": {\"week\": {\"description\": \"The week for which to fetch the catalog albums chart in the format 'YYYY-MM-DD'. Defaults to '2022-10-08'.\", \"type\": \"str\", \"default\": \"2022-10-08\"}}}, {\"name\": \"artist_singles\", \"description\": \"Fetches the list of singles for a given artist from the Spotify API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the artist whose singles are to be fetched.\", \"type\": \"str\", \"default\": \"2w9zwq3AktTeYYMuhMjju8\"}, \"offset\": {\"description\": \"The starting point in the list of artist's singles to fetch. Defaults to '0'.\", \"type\": \"str, optional\", \"default\": \"0\"}, \"limit\": {\"description\": \"The maximum number of singles to fetch. Defaults to '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}}}, {\"name\": \"get_album_metadata\", \"description\": \"Fetches full metadata details of a specified album using the Spotify Scraper API.\", \"parameters\": {\"albumid\": {\"description\": \"The unique ID of the album for which metadata is to be retrieved.\", \"type\": \"str\", \"default\": \"5Otajf16kZ0zkVZWhu7LtO\"}}}, {\"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\"}}}]",
"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_37849
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_id_by_username\", \"description\": \"Fetch the Instagram user ID associated with a given username.\", \"parameters\": {\"username\": {\"description\": \"The Instagram username for which the user ID needs to be retrieved.\", \"type\": \"str\", \"default\": \"abdallhdev\"}}}, {\"name\": \"api_userinfo\", \"description\": \"Fetches the avatar, followers count, likes count, and videos count of a TikTok user by user ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the TikTok user.\", \"type\": \"str\", \"default\": \"6867450947363636225\"}}}, {\"name\": \"search_pins\", \"description\": \"Search for Pinterest pins based on a given keyword using the specified RapidAPI key.\", \"parameters\": {\"keyword\": {\"description\": \"The search term used to find relevant Pinterest pins.\", \"type\": \"str\", \"default\": \"nasa\"}}}, {\"name\": \"tweet_detail_conversation\", \"description\": \"Retrieves the detail and conversation about a specified tweet using the RapidAPI Twitter API.\", \"parameters\": {\"tweet_id\": {\"description\": \"The ID of the tweet to retrieve details and conversation for.\", \"type\": \"str\", \"default\": \"1299530165463199747\"}, \"cursor\": {\"description\": \"A parameter for pagination to fetch additional results in the conversation thread. 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_58817
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_role_ids\", \"description\": \"Retrieves details for a specific document from the signNow API.\", \"parameters\": {\"document_id\": {\"description\": \"The unique identifier for the document.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"getuserbyname\", \"description\": \"Fetches user details by username from the specified API endpoint using the provided RapidAPI key.\", \"parameters\": {\"username\": {\"description\": \"The username of the user to fetch details for.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"companies_id_financials\", \"description\": \"Retrieves the financial key figures (balance sheet total, revenue, profit, number of employees) for a company with the given identifier.\", \"parameters\": {\"is_id\": {\"description\": \"The identifier of the company for which financial data is to be retrieved.\", \"type\": \"str\", \"default\": \"DEVFCLQFW054\"}}}]",
"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_12622
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getrandommovie\", \"description\": \"Returns a list of random movies from a database by calling an external API.\", \"parameters\": {\"count\": {\"description\": \"The number of random movies to return. Defaults to 2.\", \"type\": \"int, optional\", \"default\": \"2\"}}}, {\"name\": \"most_expensive\", \"description\": \"Retrieves the list of most expensive artworks.\", \"parameters\": {\"sort\": {\"description\": \"The criterion by which to sort the artworks. Defaults to 'usd_price'.\", \"type\": \"str\", \"default\": \"usd_price\"}, \"page\": {\"description\": \"The page number of the results to retrieve. Defaults to '1'.\", \"type\": \"str\", \"default\": \"1\"}, \"gallery\": {\"description\": \"The gallery to filter results by. Possible values include:\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"search\", \"description\": \"Fetches search results from the YouTube V3 Lite API based on specified criteria.\", \"parameters\": {\"part\": {\"description\": \"The part parameter specifies a comma-separated list of one or more search resource properties.\", \"type\": \"str\", \"default\": \"id,snippet\"}, \"q\": {\"description\": \"The search query term.\", \"type\": \"str\", \"default\": \"cat\"}, \"x_cachebypass\": {\"description\": \"Bypasses the cache if set to '1'. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"videoduration\": {\"description\": \"The video duration. Options are 'any', 'short', 'medium', 'long'. Defaults to 'any'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"videodefinition\": {\"description\": \"The video quality definition. Options are 'any', 'high'. Defaults to 'any'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"videocaption\": {\"description\": \"The video captions. Options are 'any', 'closedCaption'. Defaults to 'any'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"videolicense\": {\"description\": \"The video license. Options are 'any', 'creativeCommon'. Defaults to 'any'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"eventtype\": {\"description\": \"The event type. Options are 'any', 'live'. Defaults to 'any'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"type\": {\"description\": \"The event type. Options are 'any', 'live'. Defaults to 'any'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"order\": {\"description\": \"The sorting order of the results. Options are 'relevance', 'date', 'viewCount', 'rating'. Defaults to 'relevance'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"videotype\": {\"description\": \"The type of video. Options are 'any', 'episode', 'movie'. Defaults to 'any'.\", \"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_38854
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"email_id\", \"description\": \"Validates an email address using the Toolbench API and returns the validation result.\", \"parameters\": {\"email\": {\"description\": \"The email address to validate.\", \"type\": \"str\", \"default\": \"[email protected]\"}}}, {\"name\": \"basic_phone_number_validation\", \"description\": \"Validates and formats a phone number using the Toolbench RapidAPI service.\", \"parameters\": {\"dialcode\": {\"description\": \"The phone number to be validated and formatted.\", \"type\": \"str\", \"default\": \"+12125551234\"}, \"country_code\": {\"description\": \"The ISO 3166-1 alpha-2 country code. Defaults to 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"get_2_mensagens_do_chat_chat_message\", \"description\": \"Fetches chat messages from the \\\"compras-net\\\" API based on the given chat code.\", \"parameters\": {\"cod\": {\"description\": \"The chat code to fetch messages for.\", \"type\": \"int\", \"default\": \"1104281\"}}}, {\"name\": \"get_1_obter_c_digo_do_chat_code_to_chat\", \"description\": \"This function retrieves the chat code by querying the \\\"compras-net\\\" API using the provided UASG code and process number.\", \"parameters\": {\"co_uasg\": {\"description\": \"Code of the UASG (Unified System of General Services Code) of the organization.\", \"type\": \"int\", \"default\": \"980369\"}, \"numprp\": {\"description\": \"Number of the process to be consulted.\", \"type\": \"int\", \"default\": \"632021\"}}}]",
"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_9049
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\"}}}, {\"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\": \"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\": \"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]\"}}}]",
"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_23657
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"is_leap_year\", \"description\": \"Checks if a year is a leap year.\", \"parameters\": {\"year\": {\"description\": \"The year to check.\", \"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_56797
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\"}}}]",
"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_41834
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_26196
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"straddle\", \"description\": \"This function retrieves the straddle data for a given stock ticker from the RapidAPI stock and options trading data provider.\", \"parameters\": {\"ticker\": {\"description\": \"The stock ticker symbol for which to retrieve straddle data.\", \"type\": \"str\", \"default\": \"intc\"}}}]",
"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_46808
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"detailed_cake_recipe_by_id\", \"description\": \"This function retrieves a detailed cake recipe based on a given recipe ID from the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the cake recipe to retrieve.\", \"type\": \"str\", \"default\": \"5\"}}}, {\"name\": \"generate_recipe\", \"description\": \"This function generates a recipe using an ingredient and a provided RapidAPI key.\", \"parameters\": {\"ingredient\": {\"description\": \"The main ingredient to be used in the recipe. Default is 'chicken'.\", \"type\": \"str\", \"default\": \"chicken\"}}}]",
"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_49667
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_anagram\", \"description\": \"Checks if two words are anagrams of each other.\", \"parameters\": {\"word1\": {\"description\": \"The first word.\", \"type\": \"str\"}, \"word2\": {\"description\": \"The second word.\", \"type\": \"str\"}}}, {\"name\": \"find_missing_ranges\", \"description\": \"Finds the missing ranges between lower and upper in a sorted list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The sorted list of integers.\", \"type\": \"List[int]\"}, \"lower\": {\"description\": \"The lower bound.\", \"type\": \"int\"}, \"upper\": {\"description\": \"The upper bound.\", \"type\": \"int\"}}}, {\"name\": \"is_palindrome\", \"description\": \"Checks if a string is a palindrome.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"calculate_factorial\", \"description\": \"Calculates the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer.\", \"type\": \"int\"}}}, {\"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\"}}}]",
"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_59972
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_armstrong_number\", \"description\": \"Checks if a number is an Armstrong number.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"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_4668
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"triangle_area\", \"description\": \"Computes the area of a triangle given its base and height.\", \"parameters\": {\"base\": {\"description\": \"The length of the base of the triangle.\", \"type\": \"float\"}, \"height\": {\"description\": \"The height of the triangle.\", \"type\": \"float\"}}}, {\"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\": \"numerical_derivative\", \"description\": \"Estimates the derivative of a function at a given point using the central difference formula.\", \"parameters\": {\"function\": {\"description\": \"The function to calculate the derivative of.\", \"type\": \"Callable[[float], float]\"}, \"x\": {\"description\": \"The point at which to estimate the derivative.\", \"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_20543
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"tz_lookup_by_location\", \"description\": \"Fetches time zone information for a given geographic location using Stadia Maps Time Zone API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude component of a geographic location.\", \"type\": \"int\", \"default\": \"37.4666405\"}, \"lng\": {\"description\": \"The longitude component of a geographic location.\", \"type\": \"int\", \"default\": \"-85.89465\"}, \"timestamp\": {\"description\": \"The UNIX timestamp for which the time zone data is to be fetched. Defaults to 1589932800.\", \"type\": \"int, optional\", \"default\": \"1589932800\"}}}]",
"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_59220
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getlearningresources\", \"description\": \"Fetches Power BI learning resources from a specified page using the RapidAPI key.\", \"parameters\": {\"page\": {\"description\": \"The page number of the learning resources to fetch.\", \"type\": \"int\", \"default\": \"1\"}}}, {\"name\": \"onpage_seo_analyze\", \"description\": \"Analyzes on-page SEO for a given website using the Toolbench RapidAPI service.\", \"parameters\": {\"website\": {\"description\": \"The URL of the website to be analyzed.\", \"type\": \"str\", \"default\": \"getecz.com\"}}}, {\"name\": \"search_patent\", \"description\": \"Searches for patents using a keyword and data source, and returns a list of patents.\", \"parameters\": {\"q\": {\"description\": \"Keyword used for searching patents.\", \"type\": \"str\", \"default\": \"kettle\"}, \"ds\": {\"description\": \"Data source to search for patents.\", \"type\": \"str\", \"default\": \"all\"}}}]",
"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_56338
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"team_squad\", \"description\": \"Fetch the list of players in a specified basketball team. Optionally, provide a tournament ID for national teams.\", \"parameters\": {\"teamid\": {\"description\": \"The ID of the basketball team.\", \"type\": \"int\", \"default\": \"1442\"}, \"tournamentid\": {\"description\": \"The ID of the tournament. Required for national teams but optional for club teams.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"game_odds_by_category_schedule\", \"description\": \"Fetches the schedule of game odds for a given sport and category from the sportsbook-odds API.\", \"parameters\": {\"category\": {\"description\": \"The category of the odds. For example, 0 for moneylines, 1 for spreads, 2 for over/under, etc.\", \"type\": \"str\", \"default\": \"0\"}, \"sport\": {\"description\": \"The sport for which to fetch the game odds schedule.\", \"type\": \"str\", \"default\": \"Baseball\"}}}, {\"name\": \"constructors\", \"description\": \"Fetches the list of constructors for a given Formula 1 season using the specified API key.\", \"parameters\": {\"season_id\": {\"description\": \"The ID of the season for which to list constructors.\", \"type\": \"int\", \"default\": \"2020\"}}}]",
"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_687
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"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}}}, {\"name\": \"fibonacci\", \"description\": \"Calculates the nth Fibonacci number.\", \"parameters\": {\"n\": {\"description\": \"The position of the Fibonacci number.\", \"type\": \"int\"}}}, {\"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\"}}}]",
"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_3100
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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]\"}}}]",
"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_22320
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"single_strain\", \"description\": \"Fetches detailed information for a single strain by its ID using the Weed Strain API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the strain for which details are to be fetched.\", \"type\": \"int\", \"default\": \"45\"}}}]",
"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_18027
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"crypto_exchanges\", \"description\": \"Fetches the list of cryptocurrency exchanges available at Twelve Data API.\", \"parameters\": {\"format\": {\"description\": \"The desired response format. Acceptable values are 'json' (default) and 'csv'.\", \"type\": \"str\", \"default\": \"json\"}}}, {\"name\": \"v2_auto_complete\", \"description\": \"Fetches auto-complete suggestions for a given text or phrase from the Trading View API.\", \"parameters\": {\"text\": {\"description\": \"The term or phrase for which to get suggestions.\", \"type\": \"str\", \"default\": \"tesla\"}, \"start\": {\"description\": \"The offset of records to ignore for pagination purposes. Default is '0'.\", \"type\": \"str, optional\", \"default\": \"0\"}, \"search_type\": {\"description\": \"The type of search to perform. Options include 'stock', 'futures', 'forex', 'index', 'bond', 'economic', 'bitcoin', and 'crypto'. Multiple options can be separated by commas.\", \"type\": \"str, optional\", \"default\": \"\"}, \"lang\": {\"description\": \"The language code for the results. Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"exchange\": {\"description\": \"The exchange value from the `/exchanges/list` endpoint value field.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"analyst_ratings_us_equities\", \"description\": \"Fetches analyst ratings for US equities using the Twelve Data API.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol for the US equity.\", \"type\": \"str\", \"default\": \"\"}, \"exchange\": {\"description\": \"Filter by exchange name or MIC code.\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"Filter by country name or alpha code.\", \"type\": \"str, optional\", \"default\": \"\"}, \"rating_change\": {\"description\": \"Filter by rating change action: `Maintains`, `Upgrade`, `Downgrade`, `Initiates`, or `Reiterates`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"outputsize\": {\"description\": \"Number of records in the response; default is `30`.\", \"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_19583
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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]\"}}}]",
"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_5339
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"transactions_feed\", \"description\": \"Fetches the latest large whale transactions for popular blockchains with optional filtering.\", \"parameters\": {\"s_amount_usd\": {\"description\": \"Filters transactions by value in USD. Use 'desc' for descending order.\", \"type\": \"str\", \"default\": \"desc\"}, \"size\": {\"description\": \"Number of transactions to fetch. Defaults to '20'.\", \"type\": \"str\", \"default\": \"20\"}, \"t_blockchain\": {\"description\": \"Specifies the blockchain to filter transactions. Defaults to 'ethereum'.\", \"type\": \"str\", \"default\": \"ethereum\"}}}, {\"name\": \"historical\", \"description\": \"Fetches historical exchange rates for a given date.\", \"parameters\": {\"yyyy_mm_dd\": {\"description\": \"The date for which historical rates are to be fetched, formatted as 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-03-24\"}, \"to\": {\"description\": \"Comma-separated list of target currencies for which exchange rates are desired. The default is 'EUR,USD'.\", \"type\": \"str\", \"default\": \"EUR,USD\"}, \"is_from\": {\"description\": \"The base currency from which to get the exchange rates. The default is 'CHF'.\", \"type\": \"str\", \"default\": \"CHF\"}}}, {\"name\": \"streams_investor_relations\", \"description\": \"Fetches the most recent messages posted by verified Investor Relations customers from the StockTwits API.\", \"parameters\": {\"since\": {\"description\": \"Returns results with an ID greater than (more recent than) the specified ID.\", \"type\": \"int, optional\", \"default\": \"\"}, \"max\": {\"description\": \"Returns results with an ID less than (older than) or equal to the specified ID.\", \"type\": \"int, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"The number of results to return, default and max limit is 30. This limit must be a number under 30. Defaults to '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}, \"callback\": {\"description\": \"Defines your own callback function name for JSONP support, add this parameter as the value. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"daily_sentiment\", \"description\": \"Gets the daily sentiment score for a given asset symbol and date using the SentiTrade API.\", \"parameters\": {\"symbol\": {\"description\": \"The asset ticker symbol to query.\", \"type\": \"str\", \"default\": \"BTC\"}, \"date\": {\"description\": \"The date for which to retrieve the sentiment score in 'YYYY-MM-DD' format.\", \"type\": \"str\", \"default\": \"2023-01-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_45206
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_26564
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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_first_non_repeating_char\", \"description\": \"Finds the first non-repeating character in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"find_missing_ranges\", \"description\": \"Finds the missing ranges between lower and upper in a sorted list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The sorted list of integers.\", \"type\": \"List[int]\"}, \"lower\": {\"description\": \"The lower bound.\", \"type\": \"int\"}, \"upper\": {\"description\": \"The upper bound.\", \"type\": \"int\"}}}, {\"name\": \"is_valid_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"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_7269
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_order\", \"description\": \"Retrieves the details of an order by making a GET request to the RapidAPI store.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the order to retrieve.\", \"type\": \"str\", \"default\": \"\"}}}, {\"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\": \"headphones\", \"description\": \"This function retrieves information about headphones from the Amazon API using optional brand filtering.\", \"parameters\": {\"name_brand\": {\"description\": \"The brand name to filter headphones by. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"get_product_detail\", \"description\": \"Fetches product details from the Tokopedia API using the provided action and slug.\", \"parameters\": {\"act\": {\"description\": \"The action to be performed by the API.\", \"type\": \"str\", \"default\": \"detail\"}, \"slug\": {\"description\": \"The unique identifier for the product.\", \"type\": \"str\", \"default\": \"/8jayafurniture/rak-lemari-sepatu-lunar-huga-425-pintu-kaca-sliding-kayu-jati-tua-white-wenge-non-rakit\"}, \"pretty\": {\"description\": \"If set to True, formats the API response to be more readable. Defaults to None.\", \"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
|
Salesforce/xlam-function-calling-60k_14862
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"game_lookup\", \"description\": \"Fetches detailed information for a specific game from the CheapShark API, including a list of all deals associated with the game.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the game to look up.\", \"type\": \"int\", \"default\": \"612\"}}}]",
"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_7546
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_loremipsum\", \"description\": \"Fetches lorem ipsum placeholder text from the API Ninjas Lorem Ipsum API.\", \"parameters\": {\"max_length\": {\"description\": \"Maximum character length for the returned text.\", \"type\": \"int, optional\", \"default\": \"\"}, \"start_with_lorem_ipsum\": {\"description\": \"Whether to begin the text with \\\"Lorem ipsum\\\". Accepts 'true' or 'false'. Defaults to 'true' if unset.\", \"type\": \"str, optional\", \"default\": \"\"}, \"random\": {\"description\": \"Whether to randomly generate paragraphs. Accepts 'true' or 'false'. Defaults to 'true' if unset.\", \"type\": \"str, optional\", \"default\": \"\"}, \"paragraphs\": {\"description\": \"Number of paragraphs to generate. Defaults to 1 if unset.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"get_verse_by_bookname\", \"description\": \"Fetches a specific verse from the Bible given the verse ID, book name, and chapter ID using the Toolbench RapidAPI.\", \"parameters\": {\"verseid\": {\"description\": \"The ID of the verse to retrieve.\", \"type\": \"int\", \"default\": \"1\"}, \"bookname\": {\"description\": \"The name of the book in the Bible.\", \"type\": \"str\", \"default\": \"Revelation\"}, \"chapterid\": {\"description\": \"The chapter number within the specified book.\", \"type\": \"int\", \"default\": \"12\"}}}, {\"name\": \"search_by_weight\", \"description\": \"Performs a search for player data based on the given weight using the toolbench RapidAPI.\", \"parameters\": {\"input_weight\": {\"description\": \"The weight to search for. 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_30917
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"email_validate_regex\", \"description\": \"Validates an email address using the Email Validator API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated.\", \"type\": \"str\", \"default\": \"[email protected]\"}}}]",
"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_27351
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_leap_year\", \"description\": \"Checks if a year is a leap year.\", \"parameters\": {\"year\": {\"description\": \"The year to check.\", \"type\": \"int\"}}}, {\"name\": \"reserve_hotel_room\", \"description\": \"Reserves a hotel room with the specified details.\", \"parameters\": {\"room_type\": {\"description\": \"The type of room to reserve.\", \"type\": \"str\"}, \"nightly_rate\": {\"description\": \"The nightly rate for the room.\", \"type\": \"float\"}, \"checkin_date\": {\"description\": \"The check-in date in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}, \"checkout_date\": {\"description\": \"The check-out date in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}, \"guest_id\": {\"description\": \"The unique identifier for the guest.\", \"type\": \"str\"}, \"promo_code\": {\"description\": \"A promotional code for a discount. Defaults to None.\", \"type\": \"str, optional\"}}}, {\"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\": \"is_hotel_available\", \"description\": \"Checks the availability of a hotel for a given date range.\", \"parameters\": {\"hotel\": {\"description\": \"The name of the hotel.\", \"type\": \"str\"}, \"city\": {\"description\": \"The city where the hotel is located.\", \"type\": \"str\"}, \"checkin\": {\"description\": \"The check-in date in the format \\\"YYYY-MM-DD\\\".\", \"type\": \"str\"}, \"checkout\": {\"description\": \"The check-out date in the format \\\"YYYY-MM-DD\\\".\", \"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_43209
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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 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\"}}}, {\"name\": \"top_paid_ios_apps\", \"description\": \"Fetches a list of the top paid iOS apps from the App Store.\", \"parameters\": {\"lang\": {\"description\": \"Language code for the results. Defaults to 'en'.\", \"type\": \"str\", \"default\": \"en\"}, \"category\": {\"description\": \"Category ID to filter results by. Defaults to '6016'.\", \"type\": \"str\", \"default\": \"6016\"}, \"country\": {\"description\": \"Country code for the App Store to search in. Defaults to 'us'.\", \"type\": \"str\", \"default\": \"us\"}, \"num\": {\"description\": \"Number of results to return. Defaults to 100. Maximum is 200.\", \"type\": \"int\", \"default\": \"100\"}}}, {\"name\": \"videocategories\", \"description\": \"Fetches video categories from the YouTube API based on provided parameters.\", \"parameters\": {\"part\": {\"description\": \"Specifies the videoCategory resource properties that the API response will include. Typically set to 'snippet'.\", \"type\": \"str\", \"default\": \"snippet\"}, \"is_id\": {\"description\": \"A comma-separated list of video category IDs to retrieve. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"regioncode\": {\"description\": \"Instructs the API to return the list of video categories available in the specified country, given by an ISO 3166-1 alpha-2 country code. Default is 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}, \"hl\": {\"description\": \"Specifies the language that should be used for text values in the API response. Default is 'en_US'.\", \"type\": \"str, optional\", \"default\": \"en_US\"}}}]",
"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_37165
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"searchcnit\", \"description\": \"Fetches information related to a French vehicle identification number (CNIT) using the specified license plate and function.\", \"parameters\": {\"plate\": {\"description\": \"The vehicle license plate number to search for. Defaults to '021A13'.\", \"type\": \"str\", \"default\": \"021A13\"}, \"function\": {\"description\": \"The specific API function to call. Defaults to 'getktypefornumplatefrancemineplate'.\", \"type\": \"str\", \"default\": \"getktypefornumplatefrancemineplate\"}}}]",
"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_48707
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getbookbyid\", \"description\": \"Retrieve details of a specific book using its unique ID.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the book to retrieve.\", \"type\": \"str\", \"default\": \"1\"}}}, {\"name\": \"getcommunities\", \"description\": \"Fetches Power BI communities data for a given page using the RapidAPI service.\", \"parameters\": {\"page\": {\"description\": \"The page number of communities to retrieve.\", \"type\": \"int\", \"default\": \"1\"}}}, {\"name\": \"get_related_questions\", \"description\": \"Fetches related questions from Google SERP \\\"People Also Ask\\\" boxes based on a provided query.\", \"parameters\": {\"query\": {\"description\": \"The search query for which to find related questions.\", \"type\": \"str\", \"default\": \"prenatal vitamins\"}, \"location\": {\"description\": \"Specify the proxy location for the search. Defaults to 'us'. Supported countries include 'US', 'CA', 'IE', 'GB', 'FR', 'DE', 'SE', 'IN', 'JP', 'KR', 'SG', 'AU', 'BR'.\", \"type\": \"str, optional\", \"default\": \"us\"}, \"max_results\": {\"description\": \"The maximum number of related questions to fetch. Defaults to 10.\", \"type\": \"int, 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_3217
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\"}}}]",
"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_33786
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"reserve_hotel_room\", \"description\": \"Reserves a hotel room with the specified details.\", \"parameters\": {\"room_type\": {\"description\": \"The type of room to reserve.\", \"type\": \"str\"}, \"nightly_rate\": {\"description\": \"The nightly rate for the room.\", \"type\": \"float\"}, \"checkin_date\": {\"description\": \"The check-in date in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}, \"checkout_date\": {\"description\": \"The check-out date in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}, \"guest_id\": {\"description\": \"The unique identifier for the guest.\", \"type\": \"str\"}, \"promo_code\": {\"description\": \"A promotional code for a discount. Defaults to None.\", \"type\": \"str, optional\"}}}, {\"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\": \"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_32911
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"take_image_screenshot\", \"description\": \"Takes a screenshot of a specified website using given dimensions.\", \"parameters\": {\"width\": {\"description\": \"The width of the screenshot in pixels. Defaults to 1024.\", \"type\": \"int, optional\", \"default\": \"1024\"}, \"url\": {\"description\": \"The URL of the website to be captured. Defaults to 'https://google.com'.\", \"type\": \"str, optional\", \"default\": \"https://google.com\"}, \"height\": {\"description\": \"The height of the screenshot in pixels. Defaults to 780.\", \"type\": \"int, optional\", \"default\": \"780\"}}}, {\"name\": \"test_app_deepfry_get\", \"description\": \"Sends a GET request to the deepfry endpoint of the RapidAPI Image Processing service with the specified URL and API key.\", \"parameters\": {\"url\": {\"description\": \"The URL of the image that you want to deepfry. Defaults to 'https://dagbot-is.the-be.st/logo.png'.\", \"type\": \"str\", \"default\": \"https://dagbot-is.the-be.st/logo.png\"}}}, {\"name\": \"getresult\", \"description\": \"Retrieves the result of a previously requested video rendering job using the given job ID.\", \"parameters\": {\"job_id\": {\"description\": \"The ID of the previously requested rendering job.\", \"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_49668
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_searchterm\", \"description\": \"Search for a term using the Uncovered Treasure API and return the results.\", \"parameters\": {\"searchterm\": {\"description\": \"The term to search for, e.g., \\\"God's plan\\\".\", \"type\": \"str\", \"default\": \"\"}, \"callback\": {\"description\": \"An optional JSONP callback parameter for the API request.\", \"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_27102
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"project_investment_growth\", \"description\": \"Projects the growth of an investment over a specified number of years.\", \"parameters\": {\"principal\": {\"description\": \"The initial investment amount.\", \"type\": \"float\", \"default\": true}, \"annual_addition\": {\"description\": \"The amount added to the investment annually.\", \"type\": \"float\", \"default\": true}, \"years\": {\"description\": \"The number of years to project the investment growth.\", \"type\": \"int\"}, \"return_rate\": {\"description\": \"The annual return rate as a decimal (e.g., 0.07 for 7%).\", \"type\": \"float\"}, \"inflation\": {\"description\": \"A list of annual inflation rates as decimals.\", \"type\": \"List[float]\"}, \"inflation_adjusted\": {\"description\": \"Whether to adjust the final value for inflation. Defaults to True.\", \"type\": \"bool, optional\"}}}, {\"name\": \"geocode_city\", \"description\": \"Retrieves the latitude and longitude coordinates of a given city using the Maps.co Geocoding API.\", \"parameters\": {\"city\": {\"description\": \"The name of the city.\", \"type\": \"str\"}}}, {\"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\": \"is_valid_ip_address\", \"description\": \"Checks if a string is a valid IP address (IPv4).\", \"parameters\": {\"ip\": {\"description\": \"The string to check.\", \"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_20817
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"hex_to_hsv\", \"description\": \"Converts a hex color code to an HSV color code using the Convexity API.\", \"parameters\": {\"hex\": {\"description\": \"The hex color code to be converted.\", \"type\": \"str\", \"default\": \"ffffff\"}}}, {\"name\": \"check_a_url\", \"description\": \"Check if the provided URL is a known phishing or scam attempt using the FraudFreeze API.\", \"parameters\": {\"url\": {\"description\": \"The URL to be checked for phishing or scam activities.\", \"type\": \"str\", \"default\": \"google.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_38018
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"check_if_text_contains_profanity\", \"description\": \"Check if a given text contains profanity using the Purgomalum API.\", \"parameters\": {\"text\": {\"description\": \"The text to be checked for profanity.\", \"type\": \"str\", \"default\": \"This is some test input\"}}}]",
"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_48472
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"potential_energy\", \"description\": \"Calculates the electrostatic potential energy given the charge and voltage.\", \"parameters\": {\"charge\": {\"description\": \"The electric charge.\", \"type\": \"float\"}, \"voltage\": {\"description\": \"The electric potential difference (voltage).\", \"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_45435
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"factorial\", \"description\": \"Computes the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer to compute the factorial of.\", \"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\": \"is_power_of_two\", \"description\": \"Checks if a number is a power of two.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"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_15768
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_images_by_productid_siteid_zappos_1_6pm_2\", \"description\": \"Fetch images for a given product ID and site ID from the Zappos API.\", \"parameters\": {\"siteid\": {\"description\": \"The site ID (1 for Zappos, 2 for 6pm).\", \"type\": \"int\", \"default\": \"1\"}, \"productid\": {\"description\": \"The product ID for which images are to be fetched.\", \"type\": \"int\", \"default\": \"8609549\"}}}, {\"name\": \"get_comments_from_product_id\", \"description\": \"Retrieve comments for a given product ID from the Trendyol API.\", \"parameters\": {\"product_id\": {\"description\": \"The unique identifier for the product whose comments are to be retrieved.\", \"type\": \"str\", \"default\": \"685539438\"}}}, {\"name\": \"product_categorization\", \"description\": \"Categorizes a product based on its title and optional price using the Toolbench RapidAPI service.\", \"parameters\": {\"title\": {\"description\": \"The title of the product to be categorized.\", \"type\": \"str\", \"default\": \"Abstract Egghead Plus Size Female Mannequin - Matte White Item \"}, \"price\": {\"description\": \"The price of the product. Default is 200.\", \"type\": \"int, optional\", \"default\": \"200\"}}}, {\"name\": \"tmall_search_by_keyword\", \"description\": \"Searches for products on Tmall by keyword.\", \"parameters\": {\"page\": {\"description\": \"The page number of the search results to retrieve.\", \"type\": \"int\", \"default\": \"1\"}, \"keyword\": {\"description\": \"The keyword to search for products.\", \"type\": \"str\", \"default\": \"\\u6d77\\u4e45\\u6c34\\u74f6\"}}}]",
"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_53088
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"zipcode_by_city\", \"description\": \"Retrieves the zip code(s) of a given city using the GeoSource API.\", \"parameters\": {\"city\": {\"description\": \"The name of the city for which to retrieve zip code(s). The city must be in the supported countries list (44 countries).\", \"type\": \"str\", \"default\": \"Brussels\"}}}, {\"name\": \"getpostcode\", \"description\": \"Retrieve details for a given UK postcode using the RapidAPI service.\", \"parameters\": {\"postcode\": {\"description\": \"The UK postcode to be queried.\", \"type\": \"str\", \"default\": \"SW1A2AA\"}}}]",
"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_53715
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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]\"}}}]",
"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_54523
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"matchodds\", \"description\": \"Fetch the betting odds for a specific American Football match by providing the match ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the match for which to retrieve the betting odds.\", \"type\": \"int\", \"default\": 10075539}}}]",
"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_28019
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_search\", \"description\": \"Search for products by a specified keyword and optional filters, with support for pagination and sorting.\", \"parameters\": {\"keyword\": {\"description\": \"The term or phrase to search for related products.\", \"type\": \"str\", \"default\": \"light shaded room\"}, \"filters\": {\"description\": \"Filters to apply to the product search results. Multiple filters can be specified using the format `key~value`. For example, 'colorList~White&masterClID~180'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"curpage\": {\"description\": \"The current page number for paginated results. Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"itemsperpage\": {\"description\": \"The number of items to display per page. Default is 48.\", \"type\": \"int, optional\", \"default\": \"48\"}, \"sortby\": {\"description\": \"The field by which to sort the results. Default is 0.\", \"type\": \"int, optional\", \"default\": \"0\"}}}, {\"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_55830
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_chapter\", \"description\": \"Fetches and returns a specific chapter from the Bible given the book name and various optional parameters.\", \"parameters\": {\"book_name\": {\"description\": \"The name of the book from the Bible (e.g., 'Genesis', 'Job').\", \"type\": \"str\", \"default\": \"genesis\"}, \"uppercase_mode\": {\"description\": \"If True, the text will be returned in uppercase. Defaults to None.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"text_mode\": {\"description\": \"The mode of text to return. Defaults to 'vowels'.\", \"type\": \"str, optional\", \"default\": \"vowels\"}, \"chapter\": {\"description\": \"The specific chapter number to fetch. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"getmeaning\", \"description\": \"Retrieves the meaning of a given word using the Toolbench RapidAPI service.\", \"parameters\": {\"word\": {\"description\": \"The word for which to find the meaning.\", \"type\": \"str\", \"default\": \"apple\"}}}]",
"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_58210
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\", \"description\": \"Fetches show information from the TVMaze API using a given show ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the show to retrieve information for.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"drawing_by_date\", \"description\": \"Fetches the winning Cash4Life number set from a specific drawing date using the Toolbench RapidAPI.\", \"parameters\": {\"date\": {\"description\": \"The specific drawing date in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2023-01-05\"}}}, {\"name\": \"youtube_emb_link\", \"description\": \"Fetches YouTube embed link information using the given URL and RapidAPI key.\", \"parameters\": {\"url\": {\"description\": \"The URL of the YouTube video to fetch information for. Defaults to 'https://www.youtube.com/embed/OA9zy0BLm9g'.\", \"type\": \"str\", \"default\": \"https://www.youtube.com/embed/OA9zy0BLm9g\"}}}, {\"name\": \"originals_titles_get_recommend\", \"description\": \"Fetches recommended comics similar to a given comic title number.\", \"parameters\": {\"titleno\": {\"description\": \"The title number for which recommendations are to be fetched. This corresponds to the `titleNo` field returned by the `/originals/titles/list` or `/originals/titles/list-by-rank` endpoints of the Webtoon API.\", \"type\": \"int\", \"default\": \"3211\"}, \"language\": {\"description\": \"The language preference for the recommendations. Defaults to 'en'. Accepted values include 'en', 'zh-hant', 'de', 'fr', 'es', 'th', and 'id'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"lines_line_abs\", \"description\": \"Fetches poems that contain a specific line using the Thundercomb Poetry DB API.\", \"parameters\": {\"line\": {\"description\": \"The exact line to search for in poems.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"get_random_question\", \"description\": \"Fetches a random question from the API, with an optional parameter to specify the type of the challenge.\", \"parameters\": {\"type\": {\"description\": \"The type of question to fetch. Options include 'funny' and 'dirty'. Defaults to 'dirty'.\", \"type\": \"str\", \"default\": \"dirty\"}}}, {\"name\": \"search\", \"description\": \"Performs a search on YouTube using the specified parameters and returns the search results.\", \"parameters\": {\"cursor\": {\"description\": \"The cursor for pagination to continue fetching results. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"hl\": {\"description\": \"The language code for the response (e.g., 'en' for English). Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"q\": {\"description\": \"The search query term. Defaults to 'movie'.\", \"type\": \"str, optional\", \"default\": \"movie\"}, \"gl\": {\"description\": \"The country code for the response (e.g., 'US' for the United States). Defaults to 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}}}]",
"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_3271
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"provider\", \"description\": \"Fetches data from a specified provider using the RapidAPI service.\", \"parameters\": {\"provider\": {\"description\": \"The name of the data provider.\", \"type\": \"str\", \"default\": \"name\"}, \"amount\": {\"description\": \"The quantity of data to fetch from the provider.\", \"type\": \"int\", \"default\": \"3\"}}}, {\"name\": \"by_location\", \"description\": \"Searches for homeless shelters based on provided geographical coordinates and radius.\", \"parameters\": {\"lat\": {\"description\": \"The latitude of the location to search nearby shelters.\", \"type\": \"str\", \"default\": \"47.630703\"}, \"radius\": {\"description\": \"The search radius in miles (maximum 10 miles).\", \"type\": \"str\", \"default\": \"1.4\"}, \"lng\": {\"description\": \"The longitude of the location to search nearby shelters.\", \"type\": \"str\", \"default\": \"-122.186370\"}}}, {\"name\": \"getsearchresults\", \"description\": \"Fetches the results from a specific YouTube influencer search using the provided search ID.\", \"parameters\": {\"is_id\": {\"description\": \"Unique identifier of the search.\", \"type\": \"str\", \"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_39205
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"categories_list\", \"description\": \"Retrieves a list of categories from the ASOS API.\", \"parameters\": {\"lang\": {\"description\": \"The language code, defaults to 'en-US'.\", \"type\": \"str, optional\", \"default\": \"en-US\"}, \"country\": {\"description\": \"The two-letter country code, defaults to 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"product_reviews\", \"description\": \"Fetches and paginates through product reviews on Amazon for a given product.\", \"parameters\": {\"asin\": {\"description\": \"Product ASIN for which to get reviews.\", \"type\": \"str\", \"default\": \"B07ZPKN6YR\"}, \"query\": {\"description\": \"Search query to filter reviews.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sort_by\": {\"description\": \"Sort order for reviews. Default is `TOP_REVIEWS`. Allowed values are `TOP_REVIEWS`, `MOST_RECENT`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"verified_purchases_only\": {\"description\": \"Only return reviews by reviewers who made a verified purchase.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"page_size\": {\"description\": \"Number of reviews to return per page. Allowed values range from `1` to `20`. Default is `10`.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"page\": {\"description\": \"Page number of results to return. Default is `1`.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"star_rating\": {\"description\": \"Filter reviews by star rating. Default is `ALL`. Allowed values are `ALL`, `5_STARS`, `4_STARS`, `3_STARS`, `2_STARS`, `1_STARS`, `POSITIVE`, `CRITICAL`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"images_or_videos_only\": {\"description\": \"Only return reviews containing images and/or videos.\", \"type\": \"bool, optional\", \"default\": \"false\"}, \"country\": {\"description\": \"Marketplace country, language, and currency. Default is `US`. Allowed values are `US`, `AU`, `BR`, `CA`, `CN`, `FR`, `DE`, `IN`, `IT`, `MX`, `NL`, `SG`, `ES`, `TR`, `AE`, `GB`, `JP`.\", \"type\": \"str, optional\", \"default\": \"US\"}}}]",
"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_5703
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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\": \"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\"}}}, {\"name\": \"reserve_hotel_room\", \"description\": \"Reserves a hotel room with the specified details.\", \"parameters\": {\"room_type\": {\"description\": \"The type of room to reserve.\", \"type\": \"str\"}, \"nightly_rate\": {\"description\": \"The nightly rate for the room.\", \"type\": \"float\"}, \"checkin_date\": {\"description\": \"The check-in date in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}, \"checkout_date\": {\"description\": \"The check-out date in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}, \"guest_id\": {\"description\": \"The unique identifier for the guest.\", \"type\": \"str\"}, \"promo_code\": {\"description\": \"A promotional code for a discount. Defaults to None.\", \"type\": \"str, 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_35606
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_juz_number\", \"description\": \"Fetches a list of ayah recitations for a specified juz number.\", \"parameters\": {\"recitation_id\": {\"description\": \"The ID of the recitation.\", \"type\": \"int\", \"default\": \"\"}, \"juz_number\": {\"description\": \"The number of the juz for which to fetch ayah recitations.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"recitations_by_chapter_number\", \"description\": \"Fetches a list of ayah recitations for a specific Surah (chapter) based on the given chapter number and recitation ID.\", \"parameters\": {\"chapter_number\": {\"description\": \"The chapter (Surah) number for which to fetch the ayah recitations.\", \"type\": \"int\", \"default\": \"\"}, \"recitation_id\": {\"description\": \"The recitation ID to specify the reciter.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"getuserbyname\", \"description\": \"Retrieves user information from the RapidAPI service based on the provided username.\", \"parameters\": {\"username\": {\"description\": \"The name of the user to fetch. Use 'user1' for testing.\", \"type\": \"str\", \"default\": \"string\"}}}, {\"name\": \"numerology\", \"description\": \"Calculates the numerology information of a given name by making a request to the horoscope-astrology API using RapidAPI.\", \"parameters\": {\"n\": {\"description\": \"The name for which numerology information is to be calculated.\", \"type\": \"str\", \"default\": \"7\"}}}]",
"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_23787
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_host_language_filters\", \"description\": \"Fetches host language filters from the Airbnb API.\", \"parameters\": {\"languageid\": {\"description\": \"The LanguageId for the desired response language. To obtain a LanguageId, call the getLanguages API and use the Id.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"list_of_districts\", \"description\": \"Fetches a list of districts from Booking.com where hotels are available, based on various optional filters.\", \"parameters\": {\"name\": {\"description\": \"The name of the district.\", \"type\": \"str, optional\", \"default\": \"\"}, \"country\": {\"description\": \"The country associated with the district.\", \"type\": \"str, optional\", \"default\": \"\"}, \"city_id\": {\"description\": \"The city ID associated with the district.\", \"type\": \"str, optional\", \"default\": \"\"}, \"district_id\": {\"description\": \"The district ID.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"The page number for pagination purposes.\", \"type\": \"int, optional\", \"default\": \"0\"}}}, {\"name\": \"get_city_by_filter\", \"description\": \"Fetches city data based on the given city ID through the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The city ID used to filter and retrieve city data.\", \"type\": \"int\", \"default\": \"1\"}}}, {\"name\": \"trip_details\", \"description\": \"Fetches the details of a trip using the given trip UID from the Flixbus API.\", \"parameters\": {\"trip_uid\": {\"description\": \"Unique identifier for the trip.\", \"type\": \"str\", \"default\": \"direct:110725991:2015:4188\"}}}]",
"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_8172
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getplatformlist\", \"description\": \"Fetches the list of platforms with their IDs and names from the API endpoint as JSON.\", \"parameters\": {\"page\": {\"description\": \"Page number to retrieve the platform list from the API.\", \"type\": \"int\", \"default\": \"0\"}}}]",
"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_44462
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"business_units_get_web_links\", \"description\": \"Fetches web links of a business unit using the TrustPilot API.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier of the business unit, obtained from the /business-units/search or /business-units/search-by-domain endpoint.\", \"type\": \"str\", \"default\": \"46a7e93b000064000500918b\"}, \"locale\": {\"description\": \"The locale code for the response. Defaults to 'en-US'.\", \"type\": \"str, optional\", \"default\": \"en-US\"}}}]",
"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_56775
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_bits\", \"description\": \"Counts the number of set bits (1's) in the binary representation of a number.\", \"parameters\": {\"num\": {\"description\": \"The input number.\", \"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_15472
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"loginuser\", \"description\": \"Logs in a user to the specified toolbench API by making a GET request to the login endpoint with the provided username and password.\", \"parameters\": {\"username\": {\"description\": \"The username for login.\", \"type\": \"str\", \"default\": \"\"}, \"password\": {\"description\": \"The password for login in clear text.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"get_case_by_id\", \"description\": \"Fetch the case payload from the Yardillo API using the given case ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the case to fetch.\", \"type\": \"str\", \"default\": \"611c0765e9308692195b8538\"}}}, {\"name\": \"read_user\", \"description\": \"Fetch user details from the IronWifi API using the provided user ID.\", \"parameters\": {\"user_id\": {\"description\": \"The ID of the user to be fetched.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"recommend\", \"description\": \"Fetches a recommendation for a given experiment ID using the Toolbench RapidAPI service.\", \"parameters\": {\"experiment_id\": {\"description\": \"The ID of the experiment for which to fetch recommendations.\", \"type\": \"int\", \"default\": \"12234\"}}}]",
"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_7729
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_expressions\", \"description\": \"Fetch expressions that include a specified word from the Dicolink API.\", \"parameters\": {\"mot\": {\"description\": \"The word for which to retrieve expressions.\", \"type\": \"str\", \"default\": \"cheval\"}, \"limite\": {\"description\": \"The maximum number of expressions to retrieve. Defaults to '10'.\", \"type\": \"str, optional\", \"default\": \"10\"}}}, {\"name\": \"user_profile\", \"description\": \"Fetches and returns the user profile data from the Spotify API.\", \"parameters\": {\"is_id\": {\"description\": \"The user's unique Spotify ID.\", \"type\": \"str\", \"default\": \"nocopyrightsounds\"}, \"playlistlimit\": {\"description\": \"The maximum number of playlists to retrieve. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"artistlimit\": {\"description\": \"The maximum number of artists to retrieve. Defaults to 10.\", \"type\": \"int, optional\", \"default\": \"10\"}}}, {\"name\": \"validate_cpf_number\", \"description\": \"Validates a given CPF number using the RapidAPI CPF Validator service.\", \"parameters\": {\"n\": {\"description\": \"The CPF number to be validated.\", \"type\": \"str\", \"default\": \"123.456.789-09\"}}}]",
"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_45665
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"video_data\", \"description\": \"Retrieves video data for a given video ID from YouTube using the RapidAPI service.\", \"parameters\": {\"video_id\": {\"description\": \"The ID of the YouTube video for which to retrieve data.\", \"type\": \"str\", \"default\": \"hs1W2KQluWA\"}}}, {\"name\": \"get_post_comments\", \"description\": \"Fetch comments for a given Twitter post using its post ID.\", \"parameters\": {\"pid\": {\"description\": \"The post ID for which to retrieve comments.\", \"type\": \"str\", \"default\": \"1552735248026411010\"}, \"count\": {\"description\": \"The number of comments to retrieve.\", \"type\": \"str\", \"default\": \"40\"}, \"cursor\": {\"description\": \"Cursor for pagination to retrieve the next set of comments. 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_48124
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"domain_detail\", \"description\": \"Fetches the domain detail for a given domain ID using the RapidAPI service.\", \"parameters\": {\"did\": {\"description\": \"The domain ID for which the details are to be fetched.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"domain_reputation\", \"description\": \"Evaluate the reputation of a given domain using the Toolbench RapidAPI service.\", \"parameters\": {\"domainname\": {\"description\": \"The domain name to be evaluated.\", \"type\": \"str\", \"default\": \"whoisxmlapi.com\"}, \"outputformat\": {\"description\": \"The response output format. Acceptable values are 'XML' or 'JSON'. Defaults to 'JSON'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"mode\": {\"description\": \"The mode for the API check. Acceptable values are 'fast' (some heavy tests and data collectors will be disabled) or 'full' (all data and tests will be processed). Defaults to 'fast'.\", \"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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.