id
stringlengths 40
42
| messages
listlengths 3
3
| source
stringclasses 1
value |
---|---|---|
Salesforce/xlam-function-calling-60k_13063
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_item_by_id\", \"description\": \"Fetches an RPG item by its ID using the Toolbench RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the RPG item to retrieve.\", \"type\": \"str\", \"default\": \"6383989636a233ea35d1e566\"}}}]",
"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_49642
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"std_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[float]\"}}}, {\"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}}}]",
"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_2183
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"airport_search\", \"description\": \"Search for airports using the RapidAPI Flight Fare Search API.\", \"parameters\": {\"query\": {\"description\": \"The search term to use for finding airports.\", \"type\": \"str\", \"default\": \"LHR\"}}}]",
"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_50999
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"user_by_rest_id\", \"description\": \"Fetches user information from Twitter using a REST API by user ID.\", \"parameters\": {\"is_id\": {\"description\": \"The user ID to fetch information for.\", \"type\": \"str\", \"default\": \"44196397\"}}}, {\"name\": \"user_likes_by_userid\", \"description\": \"Fetches all likes of a user from Twitter using the provided user ID.\", \"parameters\": {\"userid\": {\"description\": \"The userId of the Twitter user. This can be obtained by converting a username to a userId or by searching for a user and extracting the restId.\", \"type\": \"str\", \"default\": \"44196397\"}, \"cursor\": {\"description\": \"A cursor value for pagination. Use this to navigate to the next or previous page of results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"count\": {\"description\": \"The number of results to return per request. Defaults to '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}}}, {\"name\": \"search_music\", \"description\": \"Searches for music based on the provided keywords using the TikTok API.\", \"parameters\": {\"keywords\": {\"description\": \"The search terms to look for in the music database.\", \"type\": \"str\", \"default\": \"thuyen quyen remix\"}, \"count\": {\"description\": \"The number of results to return, with a maximum of 30. Defaults to 5.\", \"type\": \"int, optional\", \"default\": \"5\"}, \"cursor\": {\"description\": \"The cursor for pagination to get the next set of results. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_55980
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"This function searches for a book by its name using the RapidAPI service.\", \"parameters\": {\"s\": {\"description\": \"The name of the book to search for.\", \"type\": \"str\", \"default\": \"\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_41617
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"shotmap\", \"description\": \"Fetches the shot map data for a given event using the SofaScores API.\", \"parameters\": {\"event_id\": {\"description\": \"The ID of the event for which the shot map is to be retrieved.\", \"type\": \"int\", \"default\": \"10230638\"}}}, {\"name\": \"event_details\", \"description\": \"Fetch the details and history odds of a specified event using the Pinnacle Odds API.\", \"parameters\": {\"event_id\": {\"description\": \"The unique identifier for the event.\", \"type\": \"int\", \"default\": 1419211461}}}, {\"name\": \"fan_rating\", \"description\": \"Retrieve the fan rating for a given event using the event ID and an optional RapidAPI key.\", \"parameters\": {\"event_id\": {\"description\": \"The unique identifier for the event whose fan rating is to be retrieved.\", \"type\": \"int\", \"default\": \"10253769\"}}}, {\"name\": \"fixtures\", \"description\": \"Retrieves upcoming soccer fixtures for the next 7 days from the sports API.\", \"parameters\": {\"page\": {\"description\": \"The page of results to retrieve. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"day\": {\"description\": \"The specific day of fixtures to retrieve. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_25952
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"density\", \"description\": \"Calculates the density of an object given its mass and volume.\", \"parameters\": {\"mass\": {\"description\": \"The mass of the object.\", \"type\": \"float\"}, \"volume\": {\"description\": \"The volume of the object.\", \"type\": \"float\"}}}, {\"name\": \"find_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\": \"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]]\"}}}, {\"name\": \"convert_cooking_measurements\", \"description\": \"Converts a quantity of a cooking ingredient from one measurement unit to another.\", \"parameters\": {\"quantity\": {\"description\": \"The quantity of the item to convert.\", \"type\": \"float\"}, \"from_unit\": {\"description\": \"The unit of the input quantity (e.g., 'cup', 'gram').\", \"type\": \"str\"}, \"to_unit\": {\"description\": \"The unit to which the quantity should be converted (e.g., 'ounce', 'kilogram').\", \"type\": \"str\"}, \"item\": {\"description\": \"The cooking ingredient being converted (e.g., 'flour', 'sugar').\", \"type\": \"str\"}}}]",
"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_45921
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"theme_detail\", \"description\": \"Fetches the details of a theme using its ID from the specified API.\", \"parameters\": {\"dtid\": {\"description\": \"The ID of the theme to be fetched.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"single_contest\", \"description\": \"Fetch details of a single pageant contest by its ID from the PageantDB API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the pageant contest to fetch details for.\", \"type\": \"int\", \"default\": \"35\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_31211
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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]]\"}}}, {\"name\": \"independent_samples_t_test\", \"description\": \"Conducts a two-sample independent t-test and returns the t-statistic, p-value, and conclusion.\", \"parameters\": {\"sample1\": {\"description\": \"The first sample of observations.\", \"type\": \"List[float]\", \"default\": 0.05}, \"sample2\": {\"description\": \"The second sample of observations.\", \"type\": \"List[float]\", \"default\": 0.05}, \"alpha\": {\"description\": \"The significance level of the test. Defaults to 0.05.\", \"type\": \"float, 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\": \"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\"}}}, {\"name\": \"calculate_investment_return\", \"description\": \"Calculates the return on investment based on the initial deposit amount, annual interest rate, and investment period.\", \"parameters\": {\"initial_amount\": {\"description\": \"The initial deposit amount.\", \"type\": \"int\"}, \"interest_rate\": {\"description\": \"The annual interest rate provided by the bank.\", \"type\": \"float\"}, \"num_years\": {\"description\": \"The number of years the money is invested.\", \"type\": \"int\"}}}, {\"name\": \"find_pairs_with_sum\", \"description\": \"Finds all pairs of integers in a list that sum up to a target value.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}, \"target\": {\"description\": \"The target sum value.\", \"type\": \"int\"}}}, {\"name\": \"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\"}}}]",
"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_10024
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_coupons_endpoint\", \"description\": \"Fetches daily AI-analyzed betting coupons with a high win rate from the specified endpoint.\", \"parameters\": {\"content_type\": {\"description\": \"The content type for the request header. Defaults to 'application/json'.\", \"type\": \"str\", \"default\": \"application/json\"}, \"connection\": {\"description\": \"The connection type for the request header. Defaults to 'keep-alive'.\", \"type\": \"str\", \"default\": \"keep-alive\"}, \"sort\": {\"description\": \"The sorting order for the betting coupons; use '-id' for ascending order. Defaults to '-id'.\", \"type\": \"str\", \"default\": \"-id\"}}}, {\"name\": \"matchh2hduel\", \"description\": \"Retrieves head-to-head duel information for a specific basketball match.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the basketball match for which to retrieve head-to-head duel information.\", \"type\": \"int\", \"default\": 10066290}}}, {\"name\": \"result\", \"description\": \"This function retrieves the result of a sports event using the specified language and event ID, by querying the Sports Betting API.\", \"parameters\": {\"lang\": {\"description\": \"Language code for the results (e.g., 'en' for English).\", \"type\": \"str\", \"default\": \"en\"}, \"evt\": {\"description\": \"Event ID for which the result is to be fetched.\", \"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_5701
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"find_longest_palindromic_substring\", \"description\": \"Finds the longest palindromic substring in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"calculate_standard_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}, {\"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\": \"min_meeting_rooms\", \"description\": \"Finds the minimum number of meeting rooms required to accommodate all meetings.\", \"parameters\": {\"intervals\": {\"description\": \"A list of meeting time intervals, where each interval is represented as [start_time, end_time].\", \"type\": \"List[List[int]]\"}}}, {\"name\": \"std_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[float]\"}}}, {\"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\": \"euclidean_distance\", \"description\": \"Computes the Euclidean distance between two points in a 2D plane.\", \"parameters\": {\"point_a\": {\"description\": \"The coordinates of the first point (x, y).\", \"type\": \"Tuple[float, float]\"}, \"point_b\": {\"description\": \"The coordinates of the second point (x, y).\", \"type\": \"Tuple[float, float]\"}}}, {\"name\": \"chi_square_independence_test\", \"description\": \"Performs a Chi-Square test for independence on a 2x2 contingency table.\", \"parameters\": {\"contingency_table\": {\"description\": \"A 2x2 contingency table represented as a list of lists.\", \"type\": \"List[List[int]]\", \"default\": 0.05}, \"significance_level\": {\"description\": \"The significance level for the Chi-Square test. Defaults to 0.05.\", \"type\": \"float, optional\", \"default\": 0.05}}}]",
"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_51316
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_periods\", \"description\": \"Retrieve a list of periods for a given sport ID from the Pinnacle Odds API.\", \"parameters\": {\"sport_id\": {\"description\": \"The ID of the sport for which to retrieve the periods.\", \"type\": \"int\", \"default\": 1}}}, {\"name\": \"wnba_play_by_play\", \"description\": \"Retrieves the WNBA game play-by-play data for a specific game using the provided game ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the game for which play-by-play data is to be retrieved.\", \"type\": \"str\", \"default\": \"401244185\"}}}]",
"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_31194
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"currency_news\", \"description\": \"Fetch the latest news related to a specific currency, forex, or cryptocurrency pair.\", \"parameters\": {\"from_symbol\": {\"description\": \"A 3-letter currency code or symbol (ISO 4217) representing the base currency (e.g., 'USD').\", \"type\": \"str\", \"default\": \"USD\"}, \"to_symbol\": {\"description\": \"A 3-letter currency code or symbol (ISO 4217) representing the target currency (e.g., 'EUR').\", \"type\": \"str\", \"default\": \"EUR\"}, \"language\": {\"description\": \"The language of the news results, specified as a 2-letter language code (ISO 639-1). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"news_search\", \"description\": \"Search for news articles that match a given keyword.\", \"parameters\": {\"keyword\": {\"description\": \"The term or phrase to search for in news articles.\", \"type\": \"str\", \"default\": \"apple\"}, \"pageindex\": {\"description\": \"The index of the page to retrieve. Default is 1.\", \"type\": \"int, optional\", \"default\": \"1\"}, \"pagesize\": {\"description\": \"The number of results per page. Maximum is 20. Default is 20.\", \"type\": \"int, optional\", \"default\": \"20\"}}}]",
"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_48281
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getteam\", \"description\": \"Fetches the details of an NHL team based on the provided team ID, with optional query parameters to expand the response and specify the season.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the team.\", \"type\": \"int\", \"default\": 28}, \"expand\": {\"description\": \"Additional data to expand in the response. Defaults to 'team.roster'.\", \"type\": \"str, optional\", \"default\": \"team.roster\"}, \"season\": {\"description\": \"The specific season for which to return team data. Defaults to 20172018.\", \"type\": \"int, optional\", \"default\": 20172018}}}]",
"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_40734
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"binomial_probability\", \"description\": \"Calculates the probability of getting exactly k successes in n independent trials,\", \"parameters\": {\"n\": {\"description\": \"The total number of trials.\", \"type\": \"int\"}, \"k\": {\"description\": \"The number of successes.\", \"type\": \"int\"}, \"p\": {\"description\": \"The probability of success in each trial.\", \"type\": \"float\"}}}, {\"name\": \"dice_roll_probability\", \"description\": \"Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.\", \"parameters\": {\"target_sum\": {\"description\": \"The target sum to calculate the probability for.\", \"type\": \"int\", \"default\": 6}, \"num_dice\": {\"description\": \"The number of dice being rolled.\", \"type\": \"int\", \"default\": 6}, \"num_faces\": {\"description\": \"The number of faces on each die. Defaults to 6.\", \"type\": \"int, optional\"}}}, {\"name\": \"calculate_electric_field\", \"description\": \"Calculate the electric field produced by a charge at a certain distance.\", \"parameters\": {\"charge\": {\"description\": \"Charge in coulombs producing the electric field.\", \"type\": \"int\", \"default\": 8.854e-12}, \"distance\": {\"description\": \"Distance from the charge in meters where the field is being measured.\", \"type\": \"int\", \"default\": 8.854e-12}, \"permitivity\": {\"description\": \"Permitivity of the space where field is being calculated, default is 8.854e-12.\", \"type\": \"float\"}}}, {\"name\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\": \"List[float]\"}, \"point2\": {\"description\": \"The coordinates of the second point.\", \"type\": \"List[float]\"}}}]",
"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_38836
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"product_groups_list\", \"description\": \"Fetches a list of product groups based on specified categories and types with optional pagination.\", \"parameters\": {\"size\": {\"description\": \"The number of items per response. Maximum is 500. Defaults to 100.\", \"type\": \"int, optional\", \"default\": \"100\"}, \"productgrouptypeid\": {\"description\": \"The ID representing the type of product group.\", \"type\": \"int, optional\", \"default\": \"\"}, \"page\": {\"description\": \"The page index starting from 0 for pagination purposes.\", \"type\": \"int, optional\", \"default\": \"\"}, \"parentproductgroupid\": {\"description\": \"The ID of the parent product group to filter the results.\", \"type\": \"int, optional\", \"default\": \"\"}}}, {\"name\": \"get_random_user\", \"description\": \"Fetch a random user profile based on specified criteria using the ai-random-user-generator API.\", \"parameters\": {\"results\": {\"description\": \"Number of user profiles to fetch. Default is '7'.\", \"type\": \"str\", \"default\": \"7\"}, \"nation\": {\"description\": \"Nationality of the users. Default is 'en_US'.\", \"type\": \"str\", \"default\": \"en_US\"}, \"gender\": {\"description\": \"Gender of the users. Default is 'female'.\", \"type\": \"str\", \"default\": \"female\"}}}, {\"name\": \"retrieve_aggregated_loan_offers\", \"description\": \"Retrieves the aggregated loan offers for a specified collection using the Blur API.\", \"parameters\": {\"collection\": {\"description\": \"The name or identifier of the collection for which to retrieve aggregated loan offers.\", \"type\": \"str\", \"default\": \"0x5af0d9827e0c53e4799bb226655a1de152a425a\"}}}, {\"name\": \"getnews\", \"description\": \"Fetches Power BI news from the specified page using the given RapidAPI key.\", \"parameters\": {\"page\": {\"description\": \"The page number of the news to retrieve.\", \"type\": \"int\", \"default\": \"1\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_36108
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"companies_id_financials_exists\", \"description\": \"Checks if financial key figures for a company with the given identifier are available and returns the list of years for which these figures are available.\", \"parameters\": {\"is_id\": {\"description\": \"The identifier of the company to check for financial data.\", \"type\": \"str\", \"default\": \"DEVFCLQFW054\"}}}, {\"name\": \"loginuser\", \"description\": \"Logs a user into the Pet Store API using the provided credentials.\", \"parameters\": {\"password\": {\"description\": \"The password for logging in.\", \"type\": \"str\", \"default\": \"\"}, \"username\": {\"description\": \"The username for logging in.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"house_prices_get_sales_history\", \"description\": \"Retrieve the sales history for a given property using the Zoopla API.\", \"parameters\": {\"property_id\": {\"description\": \"The identifier for the property for which to retrieve the sales history.\", \"type\": \"int\", \"default\": \"27175510\"}}}, {\"name\": \"properties_get_broadband\", \"description\": \"Fetch broadband information for a given property listing.\", \"parameters\": {\"listing_id\": {\"description\": \"The ID of the property listing for which broadband information is to be retrieved. This value is typically obtained from the `/properties/list` endpoint.\", \"type\": \"int\", \"default\": \"56354192\"}}}]",
"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_642
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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 pet store service using the provided credentials and returns the server's response.\", \"parameters\": {\"username\": {\"description\": \"The username for login.\", \"type\": \"str\", \"default\": \"\"}, \"password\": {\"description\": \"The password for login in clear text.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"latest_sold\", \"description\": \"Fetches a list of recently sold artworks, with optional filtering by gallery and sorting options.\", \"parameters\": {\"page\": {\"description\": \"The page number of the results to return. Defaults to '1'.\", \"type\": \"str\", \"default\": \"1\"}, \"gallery\": {\"description\": \"The name of the gallery to filter results by. Possible values include 'Art Blocks', 'Async Art', 'Auction Houses', 'Foundation', 'hic et nunc', 'KnownOrigin', 'MakersPlace', 'Nifty Gateway', and 'SuperRare'.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sort\": {\"description\": \"The parameter by which to sort the results. Defaults to 'date_sold'.\", \"type\": \"str\", \"default\": \"date_sold\"}}}, {\"name\": \"get_synonyms\", \"description\": \"Fetches synonyms of a specific word using the Dicolink API.\", \"parameters\": {\"mot\": {\"description\": \"The word for which to fetch synonyms.\", \"type\": \"str\", \"default\": \"cheval\"}, \"limite\": {\"description\": \"The maximum number of synonyms to return. Defaults to '10'.\", \"type\": \"str, optional\", \"default\": \"10\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_19781
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"details\", \"description\": \"Gets the details and general information of a creator using their `creator_id`.\", \"parameters\": {\"creator_id\": {\"description\": \"The unique identifier of the creator. This can be obtained using the `/search` endpoint.\", \"type\": \"int\", \"default\": \"2416483\"}}}]",
"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_47475
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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]]\"}}}, {\"name\": \"future_investment_value\", \"description\": \"Calculates the future value of an investment based on the present value, annual interest rate, and number of years.\", \"parameters\": {\"present_value\": {\"description\": \"The present value of the investment.\", \"type\": \"float\"}, \"annual_interest_rate\": {\"description\": \"The annual interest rate as a decimal (e.g., 0.05 for 5%).\", \"type\": \"float\"}, \"years\": {\"description\": \"The number of years the investment will grow.\", \"type\": \"int\"}}}, {\"name\": \"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_26664
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_zip_codes_by_city_and_street\", \"description\": \"Fetch zip codes for a given city and street using the Polish Zip Codes API.\", \"parameters\": {\"accept\": {\"description\": \"Requested content type.\", \"type\": \"str\", \"default\": \"application/json\"}, \"city\": {\"description\": \"Name of the city to search for zip codes.\", \"type\": \"str\", \"default\": \"Wroc\\u0142aw\"}, \"street\": {\"description\": \"Name of the street to search for zip codes.\", \"type\": \"str\", \"default\": \"Komuny paryskiej\"}, \"x_traceid\": {\"description\": \"A traceId that is copied to the API response header. Default is 'optional_abc123'.\", \"type\": \"str, optional\", \"default\": \"optional_abc123\"}}}, {\"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\"}}}]",
"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_51899
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"datum_conversion\", \"description\": \"Converts latitude and longitude from one geodetic system to another using the Navitime Geocoding API.\", \"parameters\": {\"coord\": {\"description\": \"Latitude and longitude before conversion. Supports millisecond and degree notation.\", \"type\": \"str\", \"default\": \"35.624822,139.742121\"}, \"after_datum\": {\"description\": \"The target geodetic system for conversion. Options are 'wgs84' for World Geodetic System (default) and 'tokyo' for Old Japan Geodetic System.\", \"type\": \"str\", \"default\": \"wgs84\"}}}, {\"name\": \"is_a_coordinate_water\", \"description\": \"Determines if a given coordinate on Earth is water based on the provided longitude and latitude.\", \"parameters\": {\"longitude\": {\"description\": \"The longitude of the coordinate to check.\", \"type\": \"int\", \"default\": \"-70.2652276\"}, \"latitude\": {\"description\": \"The latitude of the coordinate to check.\", \"type\": \"int\", \"default\": \"41.9029192\"}}}, {\"name\": \"measure_distance\", \"description\": \"Calculates the distance between two geographic locations based on their latitude and longitude coordinates, with optional specification of the unit of measurement.\", \"parameters\": {\"lat1\": {\"description\": \"Latitude of the first location.\", \"type\": \"int\", \"default\": \"0.365816\"}, \"lat2\": {\"description\": \"Latitude of the second location.\", \"type\": \"int\", \"default\": \"0.32493795000000003\"}, \"lon2\": {\"description\": \"Longitude of the second location.\", \"type\": \"int\", \"default\": \"32.57523607707668\"}, \"lon1\": {\"description\": \"Longitude of the first location.\", \"type\": \"int\", \"default\": \"32.529226\"}, \"unit\": {\"description\": \"Unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.\", \"type\": \"str, optional\", \"default\": \"km\"}}}]",
"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_41030
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"description\": \"The format of the input date string.\", \"type\": \"str\"}, \"output_format\": {\"description\": \"The desired format of the output date string.\", \"type\": \"str\"}}}, {\"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\": \"find_missing_number\", \"description\": \"Finds the missing number in a list of integers from 0 to n.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}]",
"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_17843
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"symbols_suggested\", \"description\": \"Fetch suggested tickers based on a given ticker slug.\", \"parameters\": {\"ticker_slug\": {\"description\": \"The ticker slug to base the suggestions on.\", \"type\": \"str\", \"default\": \"NVDA\"}}}, {\"name\": \"market_trends\", \"description\": \"Fetch the latest market trends and relevant news based on the specified trend type.\", \"parameters\": {\"trend_type\": {\"description\": \"The type of trend to retrieve. Supported trend types include:\", \"type\": \"str\", \"default\": \"\"}, \"country\": {\"description\": \"The country for which to fetch trends, specified as a 2-letter country code (ISO 3166). Default is 'us'.\", \"type\": \"str, optional\", \"default\": \"us\"}, \"language\": {\"description\": \"The language to use for the results, specified as a 2-letter language code (ISO 639-1). Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"stock_sec_filings\", \"description\": \"Fetch the SEC filings for a given stock symbol from the Yahoo Finance API.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol for which to fetch SEC filings.\", \"type\": \"str\", \"default\": \"AAPL\"}}}, {\"name\": \"key_metrics\", \"description\": \"Fetches either annual or quarterly key metrics for a single stock company.\", \"parameters\": {\"symbol\": {\"description\": \"The ticker symbol of the stock company.\", \"type\": \"str\", \"default\": \"AAPL\"}, \"period\": {\"description\": \"The period for which to fetch metrics, either 'annual' or 'quarterly'.\", \"type\": \"str\", \"default\": \"annual\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_9402
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"primeira_liga_standings\", \"description\": \"Fetches the standings for the Primeira Liga for a specified season.\", \"parameters\": {\"season\": {\"description\": \"The season for which the standings are to be fetched, e.g., '2022'. If not provided, the current season is assumed.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"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\"}}}, {\"name\": \"matchmanagers\", \"description\": \"Retrieve the managers for a specific Ice Hockey match using the match ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the match for which to retrieve managers.\", \"type\": \"int\", \"default\": 10745761}}}, {\"name\": \"innings_cricket\", \"description\": \"Fetch innings data for a cricket event given the event ID.\", \"parameters\": {\"event_id\": {\"description\": \"The unique identifier of the cricket event.\", \"type\": \"int\", \"default\": \"10188874\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_45174
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"wire_resistance\", \"description\": \"Calculates the resistance of a wire based on its length, cross-sectional area, and material resistivity.\", \"parameters\": {\"length_m\": {\"description\": \"The length of the wire in meters.\", \"type\": \"int\", \"default\": \"copper\"}, \"area_sq_m\": {\"description\": \"The cross-sectional area of the wire in square meters.\", \"type\": \"float\", \"default\": \"copper\"}, \"material\": {\"description\": \"The material of the wire. Allowed values: \\\"copper\\\" (default) or \\\"aluminum\\\".\", \"type\": \"str, optional\"}}}, {\"name\": \"find_equilibrium_index\", \"description\": \"Finds the equilibrium index of a list, where the sum of elements on the left is equal to the sum of elements on the right.\", \"parameters\": {\"arr\": {\"description\": \"The input list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"calculate_median\", \"description\": \"Calculates the median of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_12786
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\"}}}]",
"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_12921
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"place_safeway_order\", \"description\": \"Order specified items from a Safeway location.\", \"parameters\": {\"location\": {\"description\": \"The location of the Safeway store, e.g., 'Palo Alto, CA'.\", \"type\": \"str\"}, \"items\": {\"description\": \"List of items to order.\", \"type\": \"list\"}, \"quantity\": {\"description\": \"Quantity of each item in the order list.\", \"type\": \"list\"}}}, {\"name\": \"get_city_from_zipcode\", \"description\": \"Retrieves the city name for a given ZIP code using the Ziptastic API.\", \"parameters\": {\"zipcode\": {\"description\": \"The ZIP code to look up.\", \"type\": \"str\"}}}, {\"name\": \"is_leap_year\", \"description\": \"Checks if a year is a leap year.\", \"parameters\": {\"year\": {\"description\": \"The year to check.\", \"type\": \"int\"}}}, {\"name\": \"calculate_order_total\", \"description\": \"Calculates the total cost of an order based on the items, quantities, and prices.\", \"parameters\": {\"items\": {\"description\": \"A list of item names.\", \"type\": \"List[str]\"}, \"quantities\": {\"description\": \"A list of corresponding quantities for each item.\", \"type\": \"List[int]\"}, \"prices\": {\"description\": \"A list of corresponding prices for each item.\", \"type\": \"List[float]\"}}}, {\"name\": \"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\": \"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\"}}}]",
"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_15637
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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\": \"find_longest_palindromic_substring\", \"description\": \"Finds the longest palindromic substring in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"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\": \"dice_roll_probability\", \"description\": \"Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.\", \"parameters\": {\"target_sum\": {\"description\": \"The target sum to calculate the probability for.\", \"type\": \"int\", \"default\": 6}, \"num_dice\": {\"description\": \"The number of dice being rolled.\", \"type\": \"int\", \"default\": 6}, \"num_faces\": {\"description\": \"The number of faces on each die. Defaults to 6.\", \"type\": \"int, optional\"}}}, {\"name\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_24213
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"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\"}}}, {\"name\": \"remove_duplicates\", \"description\": \"Removes duplicate elements from a list while preserving the order.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_33977
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_score_by_id\", \"description\": \"Fetches a score by `score_id` from the FluentMe API, optionally scaling the score based on the given `scale` parameter.\", \"parameters\": {\"score_id\": {\"description\": \"The unique identifier of the score to fetch.\", \"type\": \"str\", \"default\": \"S38392182\"}, \"scale\": {\"description\": \"The maximum number of points for the recording and each word. Defaults to 90.\", \"type\": \"int, optional\", \"default\": \"90\"}}}, {\"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_35555
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"chi_square_independence_test\", \"description\": \"Performs a Chi-Square test for independence on a 2x2 contingency table.\", \"parameters\": {\"contingency_table\": {\"description\": \"A 2x2 contingency table represented as a list of lists.\", \"type\": \"List[List[int]]\", \"default\": 0.05}, \"significance_level\": {\"description\": \"The significance level for the Chi-Square test. Defaults to 0.05.\", \"type\": \"float, optional\", \"default\": 0.05}}}, {\"name\": \"convert_cooking_measurements\", \"description\": \"Converts a quantity of a cooking ingredient from one measurement unit to another.\", \"parameters\": {\"quantity\": {\"description\": \"The quantity of the item to convert.\", \"type\": \"float\"}, \"from_unit\": {\"description\": \"The unit of the input quantity (e.g., 'cup', 'gram').\", \"type\": \"str\"}, \"to_unit\": {\"description\": \"The unit to which the quantity should be converted (e.g., 'ounce', 'kilogram').\", \"type\": \"str\"}, \"item\": {\"description\": \"The cooking ingredient being converted (e.g., 'flour', 'sugar').\", \"type\": \"str\"}}}]",
"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_50418
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_for_channels\", \"description\": \"Searches for YouTube channels based on the provided keyword and other optional parameters. Supports pagination for retrieving multiple pages of results.\", \"parameters\": {\"keyword\": {\"description\": \"Keyword for the channel search. Default is 'Rick Astley'.\", \"type\": \"str\", \"default\": \"Rick Astley\"}, \"lang\": {\"description\": \"ISO-639 language code for localized results. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"sortby\": {\"description\": \"Criteria for sorting the results. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"nexttoken\": {\"description\": \"Token for fetching the next page of results. If not specified, the first page of results is returned. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"retreive_collections\", \"description\": \"Retrieves information about collections, including real-time statistics such as floor price.\", \"parameters\": {\"filters\": {\"description\": \"A JSON string representing the filters to apply when retrieving collections. Default is '{\\\"sort\\\":\\\"VOLUME_ONE_DAY\\\",\\\"order\\\":\\\"DESC\\\"}'.\", \"type\": \"str\", \"default\": \"{\\\"sort\\\":\\\"VOLUME_ONE_DAY\\\",\\\"order\\\":\\\"DESC\\\"}\"}}}, {\"name\": \"get_information_of_a_particular_post\", \"description\": \"Fetch information about a specific post using its post ID.\", \"parameters\": {\"postid\": {\"description\": \"The unique identifier of the post for which information is to be retrieved.\", \"type\": \"str\", \"default\": \"2796025\"}}}, {\"name\": \"brands_detail\", \"description\": \"Fetch detailed information about a brand using the provided brand ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the brand to fetch details for. This value should be obtained from the brands `id` field returned in the `/search` endpoint or the `brandId` field returned in the `/products/list` or `/products/detail` endpoints.\", \"type\": \"int\", \"default\": \"158155\"}}}, {\"name\": \"trending\", \"description\": \"Fetches a list of trending coins from the Crypto Gem Finder API.\", \"parameters\": {\"page\": {\"description\": \"The page number to retrieve. Defaults to '1'.\", \"type\": \"str\", \"default\": \"1\"}, \"limit\": {\"description\": \"The number of results to return per page. Defaults to '10'.\", \"type\": \"str\", \"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_29714
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"dice_roll_probability\", \"description\": \"Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.\", \"parameters\": {\"target_sum\": {\"description\": \"The target sum to calculate the probability for.\", \"type\": \"int\", \"default\": 6}, \"num_dice\": {\"description\": \"The number of dice being rolled.\", \"type\": \"int\", \"default\": 6}, \"num_faces\": {\"description\": \"The number of faces on each die. Defaults to 6.\", \"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\": \"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\": \"draw_cards\", \"description\": \"Shuffles a standard deck of 52 cards and draws a specified number of cards from the top.\", \"parameters\": {\"num_draw\": {\"description\": \"The number of cards to be drawn. Defaults to 1.\", \"type\": \"int, optional\", \"default\": 1}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_31944
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_age\", \"description\": \"Calculates the age based on the birthdate.\", \"parameters\": {\"birthdate\": {\"description\": \"The birthdate in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}}}, {\"name\": \"fibonacci\", \"description\": \"Calculates the nth Fibonacci number.\", \"parameters\": {\"n\": {\"description\": \"The position of the Fibonacci number.\", \"type\": \"int\"}}}, {\"name\": \"calculate_factorial\", \"description\": \"Calculates the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer.\", \"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_52282
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"stock_get_daily_dividend_data\", \"description\": \"Fetch and return the daily dividend data for a given stock symbol within a specified date range.\", \"parameters\": {\"symbol\": {\"description\": \"The stock ticker symbol (e.g., 'AAPL' for Apple Inc.).\", \"type\": \"str\", \"default\": \"AAPL\"}, \"end_date\": {\"description\": \"The end date for the data in 'YYYY-MM-DD' format, representing the last day data will be pulled.\", \"type\": \"str\", \"default\": \"2022-03-03\"}, \"start_date\": {\"description\": \"The start date for the data in 'YYYY-MM-DD' format, representing the first day data will be pulled.\", \"type\": \"str\", \"default\": \"2022-03-02\"}, \"region\": {\"description\": \"The market region (e.g., 'US', 'BR', 'AU'). Default is 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}}}, {\"name\": \"gas_price\", \"description\": \"Fetches the current gas price for a specified blockchain using a single API call.\", \"parameters\": {\"chain\": {\"description\": \"The blockchain to get the current gas price for. Supported values are listed above. If not specified, the default value is None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"market_trends\", \"description\": \"Fetch market trends based on the specified tab and subtab.\", \"parameters\": {\"t\": {\"description\": \"Tab name. One of these:\", \"type\": \"str\", \"default\": \"losers\"}, \"gl\": {\"description\": \"Geographic location. Default is 'US'.\", \"type\": \"str, optional\", \"default\": \"US\"}, \"s\": {\"description\": \"Subtab name. If 'indexes' is selected for tab `t`, you can choose one of the following, otherwise leave empty to get all:\", \"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_38590
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"polygon_area_shoelace\", \"description\": \"Calculates the area of a polygon using the shoelace formula.\", \"parameters\": {\"vertices\": {\"description\": \"A list of polygon vertices represented as tuples (x, y).\", \"type\": \"List[Tuple[float, float]]\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_38225
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"actors_get_interesting_jobs\", \"description\": \"Retrieves interesting jobs for a specified actor or actress using the RapidAPI service.\", \"parameters\": {\"nconst\": {\"description\": \"The unique identifier for the actor/actress, which should start with \\\"nm\\\" (e.g., \\\"nm0001667\\\"). This can typically be found using the /actors/list-born-today or /actors/list-most-popular-celebs endpoints.\", \"type\": \"str\", \"default\": \"nm0001667\"}}}]",
"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_40543
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"\"}}}]",
"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_43048
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"get_all_teams\", \"description\": \"Retrieves all NBA teams for the current season from the free-nba API, with optional pagination.\", \"parameters\": {\"page\": {\"description\": \"The page number for pagination. Defaults to '0'.\", \"type\": \"str\", \"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_23719
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_specific_item_by_id\", \"description\": \"Fetches a specific item from an API using its id.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier of the item to fetch.\", \"type\": \"str\", \"default\": \"99020\"}}}, {\"name\": \"get_all_servers\", \"description\": \"Fetches a list of Minecraft servers with an optional limit on the number of servers returned.\", \"parameters\": {\"limit\": {\"description\": \"A string representing the maximum number of servers to return.\", \"type\": \"str\", \"default\": \"2000\"}}}, {\"name\": \"gamebans\", \"description\": \"Fetches game bans for a specified E-Sports game using the provided game ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the E-Sports game for which you want to retrieve the ban details.\", \"type\": \"int\", \"default\": 359554}}}]",
"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_763
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"suggestqueries\", \"description\": \"Fetches suggestions based on the given query using the specified RapidAPI key.\", \"parameters\": {\"query\": {\"description\": \"The search query for which suggestions are to be fetched.\", \"type\": \"str\", \"default\": \"How to\"}}}]",
"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_56949
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"user_info\", \"description\": \"Retrieve TikTok user information by username using the Toolbench RapidAPI.\", \"parameters\": {\"username\": {\"description\": \"The TikTok username of the user whose information is to be retrieved.\", \"type\": \"str\", \"default\": \"therock\"}}}, {\"name\": \"channel_videos\", \"description\": \"Fetch the latest videos published by a YouTube channel using the provided RapidAPI key.\", \"parameters\": {\"channel_id\": {\"description\": \"The ID of the YouTube channel for which to fetch the latest videos.\", \"type\": \"str\", \"default\": \"UCg6gPGh8HU2U01vaFCAsvmQ\"}}}]",
"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_30350
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"getteam\", \"description\": \"Fetches the details of an NHL team based on the provided team ID, with optional query parameters to expand the response and specify the season.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the team.\", \"type\": \"int\", \"default\": 28}, \"expand\": {\"description\": \"Additional data to expand in the response. Defaults to 'team.roster'.\", \"type\": \"str, optional\", \"default\": \"team.roster\"}, \"season\": {\"description\": \"The specific season for which to return team data. Defaults to 20172018.\", \"type\": \"int, optional\", \"default\": 20172018}}}, {\"name\": \"pitstopdataforarace\", \"description\": \"Retrieves pit stop data for a specific Formula 1 race using the provided year and round.\", \"parameters\": {\"year\": {\"description\": \"The season year of the Formula 1 race.\", \"type\": \"str\", \"default\": \"year\"}, \"round\": {\"description\": \"The round number of the Formula 1 race.\", \"type\": \"str\", \"default\": \"round\"}}}, {\"name\": \"drivers\", \"description\": \"Fetches a list of all drivers for a given season using the F1 Live Motorsport Data API.\", \"parameters\": {\"season_id\": {\"description\": \"The ID of the season for which to list the drivers.\", \"type\": \"int\", \"default\": \"2020\"}}}, {\"name\": \"playerimage\", \"description\": \"Fetches the PNG image of an American Football player using their player ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the American Football player for which the image is to be retrieved.\", \"type\": \"int\", \"default\": 853680}}}]",
"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_35387
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_4368
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"translate\", \"description\": \"Translates the given text to a specified target language using the Google Translate API and RapidAPI.\", \"parameters\": {\"text\": {\"description\": \"The text to be translated.\", \"type\": \"str\", \"default\": \"How are You\"}, \"target_lang\": {\"description\": \"The language code of the target language.\", \"type\": \"str\", \"default\": \"es\"}}}, {\"name\": \"generate\", \"description\": \"Generate a rewritten version of a given article using the Article Rewriter Pro API.\", \"parameters\": {\"lang\": {\"description\": \"Language code of the article to be rewritten.\", \"type\": \"str\", \"default\": \"en\"}, \"article\": {\"description\": \"The article text to be rewritten.\", \"type\": \"str\", \"default\": \"Dedicated servers or bare metal servers are a server in itself with no server resources sharing with other hosting account users. These servers offer a higher power and flexibility, but usually comes at a premium cost. In such cases, you must have to research well about the dedicated hosting service providers.\"}}}, {\"name\": \"v1_sentiment\", \"description\": \"Performs sentiment analysis on the provided block of text using the API Ninjas sentiment analysis service.\", \"parameters\": {\"text\": {\"description\": \"The input text for sentiment analysis, with a maximum length of 2000 characters.\", \"type\": \"str\", \"default\": \"It's a wonderful day!\"}}}, {\"name\": \"detect_offensive_message\", \"description\": \"Detects hate speech and offensive language in the provided message using the specified API key.\", \"parameters\": {\"q\": {\"description\": \"The message to be checked for offensive language.\", \"type\": \"str\", \"default\": \"son of a ***\"}}}]",
"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_39031
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"hotel_photos\", \"description\": \"Fetches a list of photos for given hotels based on their IDs from the RapidAPI Priceline provider.\", \"parameters\": {\"hotel_ids\": {\"description\": \"Comma-separated string of PPN hotel IDs (Semi Opaque Only).\", \"type\": \"str\", \"default\": \"700000000,700000001,700000002,700000003\"}, \"image_size\": {\"description\": \"The size of the images to be returned. Valid options are 'small' (60px), 'medium' (300 to 312px), or 'large' (500 to 800px). Defaults to 'medium'.\", \"type\": \"str, optional\", \"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_40005
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_specific_champion_s_base_stats\", \"description\": \"Fetches the base stats of a specified League of Legends champion using the provided RapidAPI key.\", \"parameters\": {\"name\": {\"description\": \"The name of the champion whose base stats are to be retrieved.\", \"type\": \"str\", \"default\": \"ekko\"}}}, {\"name\": \"custom_dice\", \"description\": \"Roll a specified number of dice with a specified number of sides using the RapidAPI Dice Roll Simulator.\", \"parameters\": {\"dice\": {\"description\": \"The number of dice to roll. Defaults to 3.\", \"type\": \"int, optional\", \"default\": \"3\"}, \"sides\": {\"description\": \"The number of sides on each die. Defaults to 8.\", \"type\": \"int, optional\", \"default\": \"8\"}}}, {\"name\": \"filter_group_giveaways\", \"description\": \"Filters and groups giveaways based on the provided platform and type, using the provided API key to make the request.\", \"parameters\": {\"platform\": {\"description\": \"The platform for which to filter the giveaways (e.g., 'pc', 'ps4', 'xbox').\", \"type\": \"str\", \"default\": \"epic-games-store.steam.android\"}, \"type\": {\"description\": \"The type of giveaway to filter (default is 'game.loot').\", \"type\": \"str, optional\", \"default\": \"game.loot\"}}}, {\"name\": \"live_giveaways_by_type\", \"description\": \"Retrieve live giveaways from the GamerPower API based on the specified type.\", \"parameters\": {\"type\": {\"description\": \"The type of giveaways to retrieve (e.g., game, loot, beta).\", \"type\": \"str\", \"default\": \"game\"}}}]",
"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_6787
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_play_by_play\", \"description\": \"Retrieves the WNBA game play-by-play data for a specific game using the provided game ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the game for which play-by-play data is to be retrieved.\", \"type\": \"str\", \"default\": \"401244185\"}}}]",
"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_7272
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"reverse_words\", \"description\": \"Reverses the order of words in a sentence.\", \"parameters\": {\"sentence\": {\"description\": \"The input sentence.\", \"type\": \"str\"}}}, {\"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\": \"find_first_non_repeating_char\", \"description\": \"Finds the first non-repeating character in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"word_frequency\", \"description\": \"Calculates the frequency of each word in a text.\", \"parameters\": {\"text\": {\"description\": \"The input text.\", \"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_20271
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"get_all_bodies_positions\", \"description\": \"Fetches the positions of celestial bodies for a given location and date range using the Astronomy API.\", \"parameters\": {\"latitude\": {\"description\": \"The latitude of the location for which to get the positions.\", \"type\": \"int\", \"default\": \"33.775867\"}, \"longitude\": {\"description\": \"The longitude of the location for which to get the positions.\", \"type\": \"int\", \"default\": \"-84.39733\"}, \"from_date\": {\"description\": \"The start date for the observation period in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2017-12-20\"}, \"to_date\": {\"description\": \"The end date for the observation period in the format 'YYYY-MM-DD'.\", \"type\": \"str\", \"default\": \"2017-12-21\"}, \"elevation\": {\"description\": \"The elevation of the location in meters. Defaults to 166.\", \"type\": \"int, optional\", \"default\": \"166\"}, \"time\": {\"description\": \"The specific time of day for the observation in the format 'HH:MM:SS'. Defaults to '12:00:00'.\", \"type\": \"str, optional\", \"default\": \"12:00:00\"}}}]",
"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_10049
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"activities\", \"description\": \"Fetches MET (Metabolic Equivalent of Task) values for various activities based on the given intensity level.\", \"parameters\": {\"intensitylevel\": {\"description\": \"Level of intensity for the activity.\", \"type\": \"int\", \"default\": \"1\"}}}, {\"name\": \"race_detail_info\", \"description\": \"Fetch detailed race information and odds comparator using the Race ID and RapidAPI key.\", \"parameters\": {\"id_race\": {\"description\": \"The unique identifier of the race to get details for.\", \"type\": \"str\", \"default\": \"207660\"}}}, {\"name\": \"wnba_play_by_play\", \"description\": \"Retrieves the WNBA game play-by-play data for a specific game using the provided game ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the game for which play-by-play data is to be retrieved.\", \"type\": \"str\", \"default\": \"401244185\"}}}]",
"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_58003
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"calculate_standard_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}, {\"name\": \"cell_density\", \"description\": \"Calculates the cell density based on the optical density (OD) and dilution factor.\", \"parameters\": {\"od\": {\"description\": \"The optical density of the sample.\", \"type\": \"float\", \"default\": 1000000000.0}, \"dilution\": {\"description\": \"The dilution factor applied to the sample.\", \"type\": \"int\", \"default\": 1000000000.0}, \"factor\": {\"description\": \"The calibration factor for converting OD to cell density. Defaults to 1e9.\", \"type\": \"float, optional\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_26244
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}]",
"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_16736
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"structural_analysis\", \"description\": \"Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.\", \"parameters\": {\"building_id\": {\"description\": \"The unique identifier of the building.\", \"type\": \"str\", \"default\": \"static\"}, \"floor_numbers\": {\"description\": \"The list of floor numbers to be analyzed.\", \"type\": \"List[int]\", \"default\": \"static\"}, \"analysis_mode\": {\"description\": \"The mode of analysis, either \\\"static\\\" or \\\"dynamic\\\". Defaults to \\\"static\\\".\", \"type\": \"str, optional\"}}}, {\"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\"}}}, {\"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\": \"project_population\", \"description\": \"Projects the population size after a specified number of years.\", \"parameters\": {\"current_pop\": {\"description\": \"The current population size.\", \"type\": \"int\", \"default\": 1.2}, \"num_years\": {\"description\": \"The number of years into the future to make the projection.\", \"type\": \"int\", \"default\": 1.2}, \"annual_growth\": {\"description\": \"The annual population growth rate as a percentage. Defaults to 1.2.\", \"type\": \"float, optional\"}}}, {\"name\": \"get_city_from_zipcode\", \"description\": \"Retrieves the city name for a given ZIP code using the Ziptastic API.\", \"parameters\": {\"zipcode\": {\"description\": \"The ZIP code to look up.\", \"type\": \"str\"}}}, {\"name\": \"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\": \"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\"}}}]",
"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_36577
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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_45796
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"word_frequency\", \"description\": \"Calculates the frequency of each word in a text.\", \"parameters\": {\"text\": {\"description\": \"The input text.\", \"type\": \"str\"}}}, {\"name\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"description\": \"The format of the input date string.\", \"type\": \"str\"}, \"output_format\": {\"description\": \"The desired format of the output date 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_6487
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_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]\"}}}, {\"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\": \"calculate_age\", \"description\": \"Calculates the age based on the birthdate.\", \"parameters\": {\"birthdate\": {\"description\": \"The birthdate in the format 'YYYY-MM-DD'.\", \"type\": \"str\"}}}, {\"name\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"description\": \"The format of the input date string.\", \"type\": \"str\"}, \"output_format\": {\"description\": \"The desired format of the output date 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_11492
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_suggestions\", \"description\": \"Fetches search suggestions for a given query using the Cheap YouTube API through RapidAPI.\", \"parameters\": {\"q\": {\"description\": \"The search query for which to fetch suggestions.\", \"type\": \"str\", \"default\": \"crypto\"}}}, {\"name\": \"get_feed_video_list_by_region\", \"description\": \"Fetches a list of feed videos from TikTok for a given region.\", \"parameters\": {\"region\": {\"description\": \"The region code for which to fetch the feed video list.\", \"type\": \"str\", \"default\": \"JP\"}, \"count\": {\"description\": \"The number of videos to fetch, with a default of '10'. Maximum of 20 videos can be fetched.\", \"type\": \"str, optional\", \"default\": \"10\"}}}, {\"name\": \"image_generation_endpoint\", \"description\": \"Generates an image using the Bruzu API with the specified width, height, and background image URL. The API key for the Toolbench RapidAPI is also required to authenticate the request.\", \"parameters\": {\"width\": {\"description\": \"The width of the generated image. Defaults to 500.\", \"type\": \"int, optional\", \"default\": \"500\"}, \"backgroundimage\": {\"description\": \"The URL of the background image. Defaults to 'https://source.unsplash.com/500x500/'.\", \"type\": \"str, optional\", \"default\": \"https://source.unsplash.com/500x500/\"}, \"height\": {\"description\": \"The height of the generated image. Defaults to 500.\", \"type\": \"int, optional\", \"default\": \"500\"}}}, {\"name\": \"get_posts_from_category\", \"description\": \"Fetch posts from a specified category using the 9gag API. Optionally, provide a counter and after parameter for pagination in subsequent requests. \", \"parameters\": {\"category\": {\"description\": \"The category of posts to fetch.\", \"type\": \"str\", \"default\": \"sports\"}, \"counter\": {\"description\": \"Leave blank for the first request. For subsequent requests, provide the counter received from the previous request. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"after\": {\"description\": \"Leave blank for the first request. For subsequent requests, provide the after parameter received from the previous 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_32897
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"listpornstars\", \"description\": \"Fetch a list of pornstars based on various filtering criteria.\", \"parameters\": {\"max_rank\": {\"description\": \"Maximum rank of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_rank\": {\"description\": \"Minimum rank of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"max_waist\": {\"description\": \"Maximum waist measurement of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"max_cup_size\": {\"description\": \"Maximum cup size of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_cup_size\": {\"description\": \"Minimum cup size of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_weight\": {\"description\": \"Minimum weight of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"max_weight\": {\"description\": \"Maximum weight of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"max_age\": {\"description\": \"Maximum age of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"ethnicity\": {\"description\": \"Ethnicity of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"min_age\": {\"description\": \"Minimum age of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"nationality\": {\"description\": \"Nationality of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"tattoos\": {\"description\": \"Tattoo status of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"eyes\": {\"description\": \"Eye color of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"hair\": {\"description\": \"Hair color of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"Page number for paginated results.\", \"type\": \"int, optional\", \"default\": \"\"}, \"min_waist\": {\"description\": \"Minimum waist measurement of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"name\": {\"description\": \"Name of the pornstar.\", \"type\": \"str, optional\", \"default\": \"\"}, \"date_of_birth\": {\"description\": \"Date of birth of the pornstar.\", \"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_25980
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"binary_addition\", \"description\": \"Adds two binary numbers and returns the result as a binary string.\", \"parameters\": {\"a\": {\"description\": \"The first binary number.\", \"type\": \"str\"}, \"b\": {\"description\": \"The second binary number.\", \"type\": \"str\"}}}, {\"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\"}}}, {\"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\": \"is_prime\", \"description\": \"Checks if a number is prime.\", \"parameters\": {\"num\": {\"description\": \"The number to be checked.\", \"type\": \"int\"}}}, {\"name\": \"integrate\", \"description\": \"Calculate the area under a curve for a specified function between two x values.\", \"parameters\": {\"function\": {\"description\": \"The function to integrate, represented as a string. For example, 'x^3'\", \"type\": \"str\", \"default\": \"trapezoid\"}, \"start_x\": {\"description\": \"The starting x-value to integrate over.\", \"type\": \"int\", \"default\": \"trapezoid\"}, \"end_x\": {\"description\": \"The ending x-value to integrate over.\", \"type\": \"int\"}, \"method\": {\"description\": \"The method of numerical integration to use. Choices are 'trapezoid' or 'simpson'.\", \"type\": \"str\"}}}, {\"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\": \"find_next_greater_element\", \"description\": \"Finds the next greater element for each element in a list.\", \"parameters\": {\"nums\": {\"description\": \"The list of numbers.\", \"type\": \"List[int]\"}}}, {\"name\": \"find_pairs_with_sum\", \"description\": \"Finds all pairs of integers in a list that sum up to a target value.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}, \"target\": {\"description\": \"The target sum value.\", \"type\": \"int\"}}}]",
"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_46510
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"binary_addition\", \"description\": \"Adds two binary numbers and returns the result as a binary string.\", \"parameters\": {\"a\": {\"description\": \"The first binary number.\", \"type\": \"str\"}, \"b\": {\"description\": \"The second binary number.\", \"type\": \"str\"}}}, {\"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\"}}}]",
"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_48193
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"euclidean_distance\", \"description\": \"Computes the Euclidean distance between two points in a 2D plane.\", \"parameters\": {\"point_a\": {\"description\": \"The coordinates of the first point (x, y).\", \"type\": \"Tuple[float, float]\"}, \"point_b\": {\"description\": \"The coordinates of the second point (x, y).\", \"type\": \"Tuple[float, float]\"}}}, {\"name\": \"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\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_11033
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_59857
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"exact_url_non_english\", \"description\": \"Retrieves the backlinks of a specific non-English URL using the RapidAPI service.\", \"parameters\": {\"domain\": {\"description\": \"The domain of the non-English URL for which to retrieve backlinks.\", \"type\": \"str\", \"default\": \"https://codeconia.com/2021/05/28/html-form-to-email-with-attachment-using-php/\"}}}, {\"name\": \"v1_animals\", \"description\": \"Queries the API Ninjas Animals API endpoint to return up to 10 results matching the input animal name.\", \"parameters\": {\"name\": {\"description\": \"The common name of the animal to search. This parameter supports partial matches (e.g., \\\"fox\\\" will match \\\"gray fox\\\" and \\\"red fox\\\").\", \"type\": \"str\", \"default\": \"cheetah\"}}}, {\"name\": \"get_company_by_domain\", \"description\": \"Fetches company data using a given web domain.\", \"parameters\": {\"domain\": {\"description\": \"The web domain of the company to look up.\", \"type\": \"str\", \"default\": \"apple.com\"}}}, {\"name\": \"crimes_with_no_location\", \"description\": \"Fetches a list of crimes from a specified police force on a given date and category, where the crimes have no specified location.\", \"parameters\": {\"date\": {\"description\": \"The date of the crimes to retrieve in 'YYYY-MM' format.\", \"type\": \"str\", \"default\": \"2011-09\"}, \"force\": {\"description\": \"The identifier for the police force responsible for handling the crimes.\", \"type\": \"str\", \"default\": \"warwickshire\"}, \"category\": {\"description\": \"The category of the crimes to retrieve.\", \"type\": \"str\", \"default\": \"all-crime\"}}}]",
"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_56162
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"jsrf_characters\", \"description\": \"Fetches a list of JSRF (Jet Set Radio Future) characters based on given parameters.\", \"parameters\": {\"limit\": {\"description\": \"The maximum number of items to return in the response. Default is '5'.\", \"type\": \"str, optional\", \"default\": \"5\"}, \"orderby\": {\"description\": \"The order in which to sort items. Possible values are 'asc' (ascending) and 'desc' (descending). Default is 'asc'. This parameter has an effect only if `sortby` is also provided.\", \"type\": \"str, optional\", \"default\": \"asc\"}, \"sortby\": {\"description\": \"The field by which to sort the items. Possible values include any field on the document such as 'name' or 'stats'. Default is 'name'.\", \"type\": \"str, optional\", \"default\": \"name\"}}}, {\"name\": \"drawings_between_dates\", \"description\": \"Fetches all Fantasy 5 winning number sets between two specified dates.\", \"parameters\": {\"date1\": {\"description\": \"The start date in the format MM-DD-YYYY.\", \"type\": \"str\", \"default\": \"01-01-2023\"}, \"date2\": {\"description\": \"The end date in the format MM-DD-YYYY.\", \"type\": \"str\", \"default\": \"01-10-2023\"}}}, {\"name\": \"title_title\", \"description\": \"Fetches all poems from Poetry DB that match the specified title.\", \"parameters\": {\"title\": {\"description\": \"The title of the poem, or part of the title, to search for in the Poetry DB.\", \"type\": \"str\", \"default\": \"Sonnet 18\"}}}, {\"name\": \"get_countries\", \"description\": \"Fetches a list of countries from the 60k Radio Stations API, optionally filtered by a keyword.\", \"parameters\": {\"keyword\": {\"description\": \"A keyword to filter the list of countries (default is 'Aus').\", \"type\": \"str\", \"default\": \"Aus\"}}}]",
"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_49639
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"gstin\", \"description\": \"Retrieve details about a GSTIN (GST number), including the latest return filing list, GST compliance classification, and HSN/SAC details.\", \"parameters\": {\"gstin\": {\"description\": \"The GSTIN (GST number) to retrieve details for.\", \"type\": \"str\", \"default\": \"27AAJCM9929L1ZM\"}, \"content_type\": {\"description\": \"The content type for the request. Defaults to 'application/json'.\", \"type\": \"str, optional\", \"default\": \"application/json\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_11755
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"canvas_genres_list\", \"description\": \"Fetches a list of genres in the canvas category from the Webtoon API.\", \"parameters\": {\"language\": {\"description\": \"The language in which to return the genres. Acceptable values are 'en', 'zh-hant', 'de', 'fr', 'es', 'th', and 'id'. Default is '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_56853
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_scrabble_score\", \"description\": \"Fetches the Scrabble score for a given word using the Dicolink API.\", \"parameters\": {\"mot\": {\"description\": \"The word for which the Scrabble score is to be retrieved.\", \"type\": \"str\", \"default\": \"cheval\"}}}, {\"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_43483
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\"}}}]",
"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_34660
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"stays_properties_detail_photos\", \"description\": \"Fetch detailed photos of a specific property from the stays/properties/detail/photos endpoint using the Booking.com RapidAPI.\", \"parameters\": {\"language_code\": {\"description\": \"The language code to use for the response. Default is 'en-us'.\", \"type\": \"str\", \"default\": \"en-us\"}, \"id_detail\": {\"description\": \"The ID of the property to fetch detail photos for. Default is 'cr/la-buena-vida-cabinas'.\", \"type\": \"str\", \"default\": \"cr/la-buena-vida-cabinas\"}}}, {\"name\": \"airportstatistics\", \"description\": \"Returns detailed airport statistics for a specified airport based on provided identifiers.\", \"parameters\": {\"ident\": {\"description\": \"The ident of the airport, as returned by /airport/search.\", \"type\": \"str, optional\", \"default\": \"\"}, \"localid\": {\"description\": \"Local identifiers of the airport, available mostly for the US & CA (FAA-ID). Max length is 6.\", \"type\": \"str, optional\", \"default\": \"\"}, \"iata\": {\"description\": \"The IATA code of the airport, must have a length of 3.\", \"type\": \"str, optional\", \"default\": \"\"}, \"icao\": {\"description\": \"The ICAO code of the airport, must have a length of 4.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"webcams_list_country_country_country\", \"description\": \"Fetches a list of webcams for the specified country or countries.\", \"parameters\": {\"country\": {\"description\": \"Comma-separated ISO 3166-1-alpha-2 codes representing the country or countries of interest.\", \"type\": \"str\", \"default\": \"\"}, \"lang\": {\"description\": \"The language to localize the results to, if available. Default is 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}, \"show\": {\"description\": \"Content to be listed in the response. Default is 'webcams:image,location'.\", \"type\": \"str, optional\", \"default\": \"webcams:image,location\"}}}]",
"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_46398
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"form\", \"description\": \"Retrieve the pregame team form data for a given event using the SofaSport API.\", \"parameters\": {\"event_id\": {\"description\": \"The ID of the event for which to retrieve the team form.\", \"type\": \"int\", \"default\": \"10236820\"}}}, {\"name\": \"recent_unique_tournaments\", \"description\": \"Fetches the recent unique tournaments associated with a given team ID using the RapidAPI service.\", \"parameters\": {\"team_id\": {\"description\": \"The ID of the team for which recent unique tournaments are to be retrieved.\", \"type\": \"int\", \"default\": \"14486\"}}}, {\"name\": \"last_year_summary\", \"description\": \"Retrieve the last year's performance summary for a given player using the RapidAPI service.\", \"parameters\": {\"player_id\": {\"description\": \"The ID of the player whose summary is to be retrieved.\", \"type\": \"int\", \"default\": \"12994\"}}}, {\"name\": \"listofallconstructorswithinaraceinayear\", \"description\": \"Fetches a list of all constructors for a specific race (round) within a given season (year).\", \"parameters\": {\"year\": {\"description\": \"The year of the Formula 1 season.\", \"type\": \"str\", \"default\": \"year\"}, \"round\": {\"description\": \"The specific race (round) within the season.\", \"type\": \"str\", \"default\": \"round\"}}}]",
"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_17995
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"ip_address\", \"description\": \"Fetch information related to an IP address using the Phone and Email Validator API.\", \"parameters\": {\"ip\": {\"description\": \"The IP address to be queried.\", \"type\": \"str\", \"default\": \"127.0.0.1\"}}}, {\"name\": \"contacts\", \"description\": \"Fetches the contacts list from a specified WhatsApp instance using the Maytapi API.\", \"parameters\": {\"phone_id\": {\"description\": \"The unique identifier for the phone instance in the Maytapi WhatsApp service.\", \"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_50621
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_regions\", \"description\": \"Retrieves a list of regions based on provided search criteria.\", \"parameters\": {\"keyword\": {\"description\": \"The keyword to search for regions. Defaults to 'asia'.\", \"type\": \"str\", \"default\": \"asia\"}, \"perpage\": {\"description\": \"The number of regions to return per page. Defaults to 50.\", \"type\": \"int\", \"default\": \"50\"}, \"is_id\": {\"description\": \"The ID of the region to search for. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"page\": {\"description\": \"The number of regions to return per page. Defaults to 50.\", \"type\": \"int\", \"default\": \"1\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_30143
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"tweets_by_userid\", \"description\": \"Fetches the most recent tweets of a specified user, with optional pagination and count control.\", \"parameters\": {\"userid\": {\"description\": \"The userId of the user whose tweets are to be fetched.\", \"type\": \"str\", \"default\": \"44196397\"}, \"cursor\": {\"description\": \"Cursor for pagination. Use to navigate to the next page of tweets. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"count\": {\"description\": \"Number of tweets to fetch. Default is '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}}}, {\"name\": \"get_pin_info\", \"description\": \"Fetches information about a Pinterest pin using its shortcode.\", \"parameters\": {\"shortcode\": {\"description\": \"The shortcode for the Pinterest pin.\", \"type\": \"str\", \"default\": \"39Nfim2\"}}}, {\"name\": \"get_reel_by_media_id\", \"description\": \"Retrieves reel information given a specific media ID from Instagram using the RapidAPI service.\", \"parameters\": {\"media_id\": {\"description\": \"The unique identifier for the Instagram media.\", \"type\": \"str\", \"default\": \"3089561820519690447\"}}}]",
"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_8162
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"tweets_by_userid\", \"description\": \"Fetches the most recent tweets of a specified user, with optional pagination and count control.\", \"parameters\": {\"userid\": {\"description\": \"The userId of the user whose tweets are to be fetched.\", \"type\": \"str\", \"default\": \"44196397\"}, \"cursor\": {\"description\": \"Cursor for pagination. Use to navigate to the next page of tweets. Default is None.\", \"type\": \"str, optional\", \"default\": \"\"}, \"count\": {\"description\": \"Number of tweets to fetch. Default is '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}}}, {\"name\": \"video_subtitles\", \"description\": \"Fetches the available subtitles for a given YouTube video using the specified RapidAPI key.\", \"parameters\": {\"video_id\": {\"description\": \"The ID of the YouTube video for which subtitles are to be fetched.\", \"type\": \"str\", \"default\": \"PuQFESk0BrA\"}}}]",
"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_54453
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"get_status\", \"description\": \"Retrieve the delivery status report for a given message ID using the provided API key.\", \"parameters\": {\"msg_id\": {\"description\": \"The unique identifier of the SMS message. This can be obtained by setting the parameter `JSON`, `return_msg_id` or `details` to `1` when sending the SMS via the API. It can also be retrieved from the message journal in the user area.\", \"type\": \"int\", \"default\": \"\"}, \"p\": {\"description\": \"The API Key for authentication.\", \"type\": \"str\", \"default\": \"\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_30150
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"mailcheck\", \"description\": \"Checks if an email domain is valid or a disposable/temporary address.\", \"parameters\": {\"domain\": {\"description\": \"The email or domain to check for validity. It is recommended to enter just the domain for user privacy.\", \"type\": \"str\", \"default\": \"mailinator.com\"}}}, {\"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\": \"get_products_in_category\", \"description\": \"Fetches a list of products from a specified category in a store with pagination.\", \"parameters\": {\"skip\": {\"description\": \"The number of items to skip before starting to collect the result set.\", \"type\": \"int\", \"default\": \"\"}, \"limit\": {\"description\": \"The number of items to return in the result set.\", \"type\": \"int\", \"default\": \"\"}, \"category\": {\"description\": \"The category from which to fetch products.\", \"type\": \"str\", \"default\": \"\"}}}, {\"name\": \"getthelistofcountriesregistered\", \"description\": \"Fetches a list of countries registered on the ecombr.com marketplace using the provided API credentials and parameters.\", \"parameters\": {\"action\": {\"description\": \"The specific action to be executed by the API.\", \"type\": \"str\", \"default\": \"countries\"}, \"content_type\": {\"description\": \"The content type of the API request.\", \"type\": \"str\", \"default\": \"application/json\"}, \"cache_control\": {\"description\": \"The cache control settings for the API request.\", \"type\": \"str\", \"default\": \"no-cache\"}, \"secret\": {\"description\": \"The secret key for authenticating the API request.\", \"type\": \"str\", \"default\": \"\"}, \"token\": {\"description\": \"The token for validating the API request.\", \"type\": \"str\", \"default\": \"\"}, \"e_mail\": {\"description\": \"The email associated with the API account.\", \"type\": \"str\", \"default\": \"\"}}}, {\"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\": \"\"}}}]",
"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_13249
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"is_valid_palindrome\", \"description\": \"Checks if a string is a valid palindrome, considering only alphanumeric characters and ignoring case.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"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\": \"std_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[float]\"}}}, {\"name\": \"independent_samples_t_test\", \"description\": \"Conducts a two-sample independent t-test and returns the t-statistic, p-value, and conclusion.\", \"parameters\": {\"sample1\": {\"description\": \"The first sample of observations.\", \"type\": \"List[float]\", \"default\": 0.05}, \"sample2\": {\"description\": \"The second sample of observations.\", \"type\": \"List[float]\", \"default\": 0.05}, \"alpha\": {\"description\": \"The significance level of the test. Defaults to 0.05.\", \"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_9344
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_duplicate_number\", \"description\": \"Finds the duplicate number in a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"calculate_factorial\", \"description\": \"Calculates the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer.\", \"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_32204
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"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\": \"integrate\", \"description\": \"Calculate the area under a curve for a specified function between two x values.\", \"parameters\": {\"function\": {\"description\": \"The function to integrate, represented as a string. For example, 'x^3'\", \"type\": \"str\", \"default\": \"trapezoid\"}, \"start_x\": {\"description\": \"The starting x-value to integrate over.\", \"type\": \"int\", \"default\": \"trapezoid\"}, \"end_x\": {\"description\": \"The ending x-value to integrate over.\", \"type\": \"int\"}, \"method\": {\"description\": \"The method of numerical integration to use. Choices are 'trapezoid' or 'simpson'.\", \"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_57621
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_job_details\", \"description\": \"Fetch detailed job information from a given job URL, optionally including skills, using the ToolBench RapidAPI service.\", \"parameters\": {\"job_url\": {\"description\": \"The URL to the job posting.\", \"type\": \"str\", \"default\": \"https://www.linkedin.com/jobs/view/3690897280/\"}, \"include_skills\": {\"description\": \"Flag to include skills in the fetched details. Defaults to 'false'. Including skills will cost 1 more credit.\", \"type\": \"str, optional\", \"default\": \"false\"}}}]",
"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_35791
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"find_first_non_repeating_char\", \"description\": \"Finds the first non-repeating character in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"count_vowels\", \"description\": \"Counts the number of vowels in a given text.\", \"parameters\": {\"text\": {\"description\": \"The input text.\", \"type\": \"str\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"description\": \"The format of the input date string.\", \"type\": \"str\"}, \"output_format\": {\"description\": \"The desired format of the output date 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\": \"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_408
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"mailcheck\", \"description\": \"Checks if an email domain is valid or a disposable/temporary address.\", \"parameters\": {\"domain\": {\"description\": \"The email or domain to check for validity. It is recommended to enter just the domain for user privacy.\", \"type\": \"str\", \"default\": \"mailinator.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_6793
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"min_meeting_rooms\", \"description\": \"Finds the minimum number of meeting rooms required to accommodate all meetings.\", \"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_42835
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_palindrome\", \"description\": \"Checks if a string is a palindrome.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"is_valid_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\", \"default\": true}, \"uppercase\": {\"description\": \"Include uppercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"lowercase\": {\"description\": \"Include lowercase letters. Defaults to True.\", \"type\": \"bool, optional\", \"default\": true}, \"digits\": {\"description\": \"Include digits. Defaults to True.\", \"type\": \"bool, optional\"}, \"special_chars\": {\"description\": \"Include special characters. Defaults to False.\", \"type\": \"bool, optional\", \"default\": true}}}, {\"name\": \"find_duplicate_number\", \"description\": \"Finds the duplicate number in a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_10195
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"trainers_win_rate\", \"description\": \"Fetches trainers' win rate statistics from the past specified number of days.\", \"parameters\": {\"last_days\": {\"description\": \"The number of past days to consider for the statistics. Defaults to 7 days if not specified.\", \"type\": \"int\", \"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_47855
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"teamnextmatches\", \"description\": \"Retrieve upcoming matches for a specific American Football team using its ID and page number.\", \"parameters\": {\"is_id\": {\"description\": \"ID of the team for which to retrieve upcoming matches.\", \"type\": \"int\", \"default\": 4294}, \"page\": {\"description\": \"Zero-based page number for pagination of results.\", \"type\": \"int\", \"default\": \"\"}}}, {\"name\": \"results\", \"description\": \"Fetches horse racing results for a specific date using the RapidAPI horse-racing endpoint.\", \"parameters\": {\"date\": {\"description\": \"The date for which to fetch the results, formatted as 'YYYY-MM-DD'. Defaults to '2020-03-13'.\", \"type\": \"str\", \"default\": \"2020-03-13\"}}}]",
"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_39557
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_2521
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_v2_get_business\", \"description\": \"Retrieves box office information for a given movie title from the online movie database using the provided API key.\", \"parameters\": {\"tconst\": {\"description\": \"The identifier for the movie title, starting with 'tt'. This value can be obtained from the `/title/auto-complete` or `/title/find` endpoints.\", \"type\": \"str\", \"default\": \"tt0796366\"}}}, {\"name\": \"get_latest_article_list\", \"description\": \"Fetches a list of the latest news articles for a specified language from the Malaysia Kini API.\", \"parameters\": {\"language\": {\"description\": \"The language code for which to fetch the latest news articles. Supported languages include English ('en'), Malay ('my'), and Chinese ('zh').\", \"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_13615
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will need to make one or more function/tool calls to achieve the purpose.\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\nYou should only return the function calls in your response.\n\nIf you decide to invoke any of the function(s), you MUST put it in the format of\n<function_calls>\n[{\"name\": \"func_name1\", \"arguments\": {\"params_name1\": params_value1, \"params_name2\": params_value2, ...}}, {\"name\": \"module_name.func_name2\", \"arguments\": {\"params_name1\": params_value1, ...}}]\n</function_calls>\n\nMake sure to also include module name as part of the output when applicable. E.g., triangle_properties.get instead of just get.\nYou SHOULD NOT include any other text in the response.\n\nAt each turn, you should try your best to complete the tasks requested by the user within the current turn. Continue to output functions to call until you have fulfilled the user's request to the best of your ability. Once you have no more functions to call, the system will consider the current turn complete and proceed to the next turn or task.\nHere is a list of functions in JSON format that you can invoke.",
"function_calls": null,
"functions": "[{\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}, {\"name\": \"is_subset\", \"description\": \"Checks if one set is a subset of another set.\", \"parameters\": {\"set1\": {\"description\": \"The first set.\", \"type\": \"set\"}, \"set2\": {\"description\": \"The second set.\", \"type\": \"set\"}}}, {\"name\": \"word_frequency\", \"description\": \"Calculates the frequency of each word in a text.\", \"parameters\": {\"text\": {\"description\": \"The input text.\", \"type\": \"str\"}}}, {\"name\": \"find_missing_number\", \"description\": \"Finds the missing number in a list of integers from 0 to n.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"description\": \"The format of the input date string.\", \"type\": \"str\"}, \"output_format\": {\"description\": \"The desired format of the output date string.\", \"type\": \"str\"}}}, {\"name\": \"find_max_subarray_sum\", \"description\": \"Finds the maximum sum of a contiguous subarray within a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The input list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"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\"}}}]",
"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_30491
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"greatest_common_divisor\", \"description\": \"Computes the greatest common divisor (GCD) of two non-negative integers.\", \"parameters\": {\"a\": {\"description\": \"The first non-negative integer.\", \"type\": \"int\"}, \"b\": {\"description\": \"The second non-negative integer.\", \"type\": \"int\"}}}, {\"name\": \"california_alimony\", \"description\": \"Calculates the total alimony one spouse would have to pay to the other in California over a given duration.\", \"parameters\": {\"payor_monthly_income\": {\"description\": \"The monthly gross income of the payor spouse.\", \"type\": \"int\"}, \"recipient_monthly_income\": {\"description\": \"The monthly gross income of the recipient spouse.\", \"type\": \"int\"}, \"duration_years\": {\"description\": \"The duration of the alimony in years.\", \"type\": \"int\"}}}, {\"name\": \"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\"}}}, {\"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\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\": \"List[float]\"}, \"point2\": {\"description\": \"The coordinates of the second point.\", \"type\": \"List[float]\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_39172
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"latest_rates\", \"description\": \"Fetches the latest exchange rate data, updated every 60 minutes.\", \"parameters\": {\"base\": {\"description\": \"The base currency for which to get the exchange rates. Defaults to 'eur'.\", \"type\": \"str\", \"default\": \"eur\"}}}, {\"name\": \"stock_quotes\", \"description\": \"Fetches real-time stock data for given stock symbols using the Holistic Finance Stock Data RapidAPI.\", \"parameters\": {\"symbols\": {\"description\": \"A comma-separated string of stock symbols for which to fetch the stock data.\", \"type\": \"str\", \"default\": \"MSFT, PLTR, TSLA, PG, NFLX, AAPL\"}}}, {\"name\": \"equity_related_indices\", \"description\": \"Fetches and returns equity-related indices for a given stock slug.\", \"parameters\": {\"slug\": {\"description\": \"The stock identifier used to fetch related indices.\", \"type\": \"str\", \"default\": \"saudi-aramco\"}, \"lang\": {\"description\": \"The language code for the response. Defaults to 'en'.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"options_historical\", \"description\": \"Returns historical options data based on the given parameters.\", \"parameters\": {\"expiration\": {\"description\": \"The expiration date of the option in the format YYYY-mm-dd, e.g., '2018-04-20'.\", \"type\": \"str\", \"default\": \"2018-04-20\"}, \"type\": {\"description\": \"The type of option contract, either 'Call' or 'Put'.\", \"type\": \"str\", \"default\": \"Call\"}, \"strike\": {\"description\": \"The strike price of the option, e.g., 100.\", \"type\": \"int\", \"default\": \"100\"}, \"symbol\": {\"description\": \"The symbol of the asset, e.g., 'AAPL' for Apple Inc, 'MSFT' for Microsoft.\", \"type\": \"str\", \"default\": \"AAPL\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_4434
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"motivation_quote\", \"description\": \"Fetches a motivational quote from the Olato Quotes API.\", \"parameters\": {\"quotes\": {\"description\": \"Type of quotes to fetch. Default is 'random quotes'.\", \"type\": \"str\", \"default\": \"random quotes\"}}}, {\"name\": \"user_likes_by_userid\", \"description\": \"Fetches all likes of a user from Twitter using the provided user ID.\", \"parameters\": {\"userid\": {\"description\": \"The userId of the Twitter user. This can be obtained by converting a username to a userId or by searching for a user and extracting the restId.\", \"type\": \"str\", \"default\": \"44196397\"}, \"cursor\": {\"description\": \"A cursor value for pagination. Use this to navigate to the next or previous page of results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"count\": {\"description\": \"The number of results to return per request. Defaults to '20'.\", \"type\": \"str, optional\", \"default\": \"20\"}}}, {\"name\": \"getlensitem\", \"description\": \"Fetches lens item information from the Snapchat RapidAPI using the provided lens ID and API key.\", \"parameters\": {\"lens_id\": {\"description\": \"The ID of the lens item to retrieve.\", \"type\": \"str\", \"default\": \"41a72e9ae9a44f8891327ce6cf1c344d\"}}}, {\"name\": \"venue_search\", \"description\": \"Searches for venues based on latitude, longitude, and optional radius using the Wiman API.\", \"parameters\": {\"latitude\": {\"description\": \"The latitude of the location to search.\", \"type\": \"str\", \"default\": \"44.484994\"}, \"longitude\": {\"description\": \"The longitude of the location to search.\", \"type\": \"str\", \"default\": \"11.327333\"}, \"radius\": {\"description\": \"The search radius in kilometers. Defaults to 1.\", \"type\": \"int, optional\", \"default\": \"1\"}}}, {\"name\": \"search_challenge\", \"description\": \"Searches for challenges on TikTok based on the given keywords.\", \"parameters\": {\"keywords\": {\"description\": \"The keywords to search for TikTok challenges.\", \"type\": \"str\", \"default\": \"Su That La\"}, \"cursor\": {\"description\": \"The cursor for the next page of search results. Defaults to 0.\", \"type\": \"int, optional\", \"default\": \"0\"}, \"count\": {\"description\": \"The number of search results to return. Defaults to 5.\", \"type\": \"int, optional\", \"default\": \"5\"}}}, {\"name\": \"jokes_random\", \"description\": \"Retrieves a random Chuck Norris joke in JSON format from the specified API.\", \"parameters\": {\"category\": {\"description\": \"Specifies the category of the random joke. 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_14405
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"bacterial_growth\", \"description\": \"Calculates the bacterial population after a given time based on the initial population and growth rate.\", \"parameters\": {\"initial_population\": {\"description\": \"The initial bacterial population.\", \"type\": \"int\", \"default\": 20}, \"growth_rate\": {\"description\": \"The growth rate per unit time.\", \"type\": \"float\", \"default\": 20}, \"time\": {\"description\": \"The time elapsed.\", \"type\": \"float\"}, \"doubling_time\": {\"description\": \"The doubling time of the bacteria in minutes. Defaults to 20.\", \"type\": \"float, optional\"}}}]",
"role": "system"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "user"
},
{
"content": "",
"function_calls": null,
"functions": null,
"role": "assistant"
}
] |
Salesforce/xlam-function-calling-60k
|
Salesforce/xlam-function-calling-60k_32776
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"stochrsi\", \"description\": \"Fetches the Stochastic Relative Strength Index (STOCHRSI) for a given financial instrument using the Twelve Data API.\", \"parameters\": {\"symbol\": {\"description\": \"The instrument symbol, which can be an equity, index, ETF, forex, or cryptocurrency (e.g., `AAPL`, `EUR/USD`, `ETH/BTC`).\", \"type\": \"str\", \"default\": \"AAPL\"}, \"interval\": {\"description\": \"The interval between two consecutive points in the time series. Supported values include `1min`, `5min`, `15min`, `30min`, `45min`, `1h`, `2h`, `4h`, `1day`, `1week`, `1month`.\", \"type\": \"str\", \"default\": \"1min\"}, \"fast_dma_type\": {\"description\": \"The type of moving average used for smoothing. Supported values are `SMA`, `EMA`, `WMA`, `DEMA`, `TEMA`, `TRIMA`, `KAMA`, `MAMA`, `T3MA`. Defaults to `SMA`.\", \"type\": \"str\", \"default\": \"SMA\"}, \"series_type\": {\"description\": \"The type of series data. Supported values are `open`, `high`, `low`, `close`. Defaults to `close`.\", \"type\": \"str\", \"default\": \"close\"}, \"fast_d_period\": {\"description\": \"The period for the fast D moving average. Defaults to 3.\", \"type\": \"int\", \"default\": 3}, \"outputsize\": {\"description\": \"The number of data points to return. Defaults to 30.\", \"type\": \"int\", \"default\": 30}, \"fast_k_period\": {\"description\": \"The period for the fast K moving average. Defaults to 3.\", \"type\": \"int\", \"default\": 3}, \"format\": {\"description\": \"The output format of the API response. Supported values are `json` and `csv`. Defaults to `json`.\", \"type\": \"str\", \"default\": \"json\"}, \"time_period\": {\"description\": \"The period for the RSI calculation. Defaults to 14.\", \"type\": \"int\", \"default\": 14}}}]",
"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_37161
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"convert_cooking_measurements\", \"description\": \"Converts a quantity of a cooking ingredient from one measurement unit to another.\", \"parameters\": {\"quantity\": {\"description\": \"The quantity of the item to convert.\", \"type\": \"float\"}, \"from_unit\": {\"description\": \"The unit of the input quantity (e.g., 'cup', 'gram').\", \"type\": \"str\"}, \"to_unit\": {\"description\": \"The unit to which the quantity should be converted (e.g., 'ounce', 'kilogram').\", \"type\": \"str\"}, \"item\": {\"description\": \"The cooking ingredient being converted (e.g., 'flour', 'sugar').\", \"type\": \"str\"}}}, {\"name\": \"find_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\"}}}, {\"name\": \"create_histogram\", \"description\": \"Create a histogram based on provided data.\", \"parameters\": {\"data\": {\"description\": \"The data for which histogram needs to be plotted.\", \"type\": \"list\", \"default\": 10}, \"bins\": {\"description\": \"The number of equal-width bins in the range. Default is 10.\", \"type\": \"int\", \"default\": 10}}}]",
"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_15420
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"emailverifier\", \"description\": \"Verify the deliverability of an email address using the Tomba API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be verified.\", \"type\": \"str\", \"default\": \"[email protected]\"}}}, {\"name\": \"app_reviews\", \"description\": \"Fetches app reviews from a specified app store using various filters.\", \"parameters\": {\"app_id\": {\"description\": \"The app ID for which to get reviews.\", \"type\": \"str\", \"default\": \"com.snapchat.android\"}, \"device\": {\"description\": \"Only return reviews made on a specific device type. Allowed values are `PHONE`, `TABLET`, `CHROMEBOOK`. Default is `PHONE`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"region\": {\"description\": \"The country code to use, specified as a 2-letter code (ISO 3166-1 alpha-2). Default is `us`.\", \"type\": \"str, optional\", \"default\": \"us\"}, \"sort_by\": {\"description\": \"How to sort the reviews in the results. Allowed values are `MOST_RELEVANT`, `NEWEST`, `RATING`. Default is `MOST_RELEVANT`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"rating\": {\"description\": \"Only return reviews with a certain star rating. Allowed values are `ANY`, `ONE_STAR`, `TWO_STARS`, `THREE_STARS`, `FOUR_STARS`, `FIVE_STARS`. Default is `ANY`.\", \"type\": \"str, optional\", \"default\": \"\"}, \"limit\": {\"description\": \"Maximum number of reviews in the results. Default is 10.\", \"type\": \"int, optional\", \"default\": \"10\"}, \"cursor\": {\"description\": \"Specify a cursor from the previous request to get the next set of results.\", \"type\": \"str, optional\", \"default\": \"\"}, \"language\": {\"description\": \"The language to use, specified as a 2-letter language code (ISO 639-1 alpha-2). Default is `en`.\", \"type\": \"str, optional\", \"default\": \"en\"}}}, {\"name\": \"resources_allcontries\", \"description\": \"Retrieves a list of important economic resources for a specified African country using the RapidAPI service.\", \"parameters\": {\"country_name\": {\"description\": \"The name of the African country for which to retrieve the economic resources.\", \"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_31044
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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\": \"estimates\", \"description\": \"Retrieves estimates for a specified stock symbol using the Holistic Finance API.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol for which to retrieve estimates.\", \"type\": \"str\", \"default\": \"AAPL\"}}}, {\"name\": \"stock_get_stock_profile_data\", \"description\": \"Fetches the stock profile data for a specified ticker symbol and region.\", \"parameters\": {\"symbol\": {\"description\": \"The ticker symbol of the stock (e.g., \\\"AAPL\\\" for Apple Inc.).\", \"type\": \"str\", \"default\": \"AAPL\"}, \"region\": {\"description\": \"The region in which the stock is listed. Default is 'US'. Allowed values are 'US', 'BR', 'AU', 'CA', 'FR', 'DE', 'HK', 'IN', 'IT', 'ES', 'GB', 'S'.\", \"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_25581
|
[
{
"content": "You are an expert in composing functions. You are given a question and a set of possible functions. Based on the question, you will 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_movies_by_name\", \"description\": \"python\", \"parameters\": {\"movie_name\": {\"description\": \"The name of the movie to search for. Defaults to None.\", \"type\": \"str, optional\", \"default\": \"\"}}}, {\"name\": \"fetch_movies\", \"description\": \"Fetch a list of movies from 2000 to 2019 based on the selected genre and year using the specified RapidAPI key.\", \"parameters\": {\"year\": {\"description\": \"The year for which to fetch movies. Should be between 2000 and 2019.\", \"type\": \"str\", \"default\": \"2018\"}, \"genre\": {\"description\": \"The genre of the movies to fetch.\", \"type\": \"str\", \"default\": \"Comedy\"}}}, {\"name\": \"get_by_id\", \"description\": \"Fetch anime details by their unique ID using the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the anime.\", \"type\": \"int\", \"default\": 1}}}, {\"name\": \"get_id\", \"description\": \"Fetches the ID of a movie based on the given search query from the RapidAPI similar movies service.\", \"parameters\": {\"q\": {\"description\": \"The search string for the movie title.\", \"type\": \"str\", \"default\": \"titanic\"}}}]",
"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.