teddyyyy123/bfcl_v3 huggingface dataset:
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'math.gcd', 'description': 'Calculates the greatest common divisor of two numbers. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'num1': {'type': 'integer', 'description': 'The first number.'}, 'num2': {'type': 'integer', 'description': 'The second number.'}}, 'required': ['num1', 'num2']}}, {'name': 'math.sqrt', 'description': 'Calculates the square root of a number. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'num': {'type': 'float', 'description': 'The number.'}, 'accuracy': {'type': 'integer', 'description': 'The number of decimal places in the result. Default to 0', 'optional': True}}, 'required': ['num']}}, {'name': 'math.lcm', 'description': 'Calculates the least common multiple of two numbers. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'num1': {'type': 'integer', 'description': 'The first number.'}, 'num2': {'type': 'integer', 'description': 'The second number.'}}, 'required': ['num1', 'num2']}}]


user: Calculate the Least Common Multiple (LCM) of 18 and 12.

Available functions:
[{"name": "math.gcd", "description": "Calculates the greatest common divisor of two numbers.", "parameters": {"type": "dict", "properties": {"num1": {"type": "integer", "description": "The first number."}, "num2": {"type": "integer", "description": "The second number."}}, "required": ["num1", "num2"]}}, {"name": "math.sqrt", "description": "Calculates the square root of a number.", "parameters": {"type": "dict", "properties": {"num": {"type": "float", "description": "The number."}, "accuracy": {"type": "integer", "description": "The number of decimal places in the result. Default to 0", "optional": true}}, "required": ["num"]}}, {"name": "math.lcm", "description": "Calculates the least common multiple of two numbers.", "parameters": {"type": "dict", "properties": {"num1": {"type": "integer", "description": "The first number."}, "num2": {"type": "integer", "description": "The second number."}}, "required": ["num1", "num2"]}}]

Ground-truth function call:
[{"math.lcm": {"num1": [18], "num2": [12]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'calculate_lcm', 'description': 'Calculate the least common multiple (lcm) between two integers. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'num1': {'type': 'integer', 'description': 'First number to calculate lcm for.'}, 'num2': {'type': 'integer', 'description': 'Second number to calculate lcm for.'}, 'method': {'type': 'string', 'description': "The specific method to use in the calculation. Supported values: 'standard', 'reduced'. Default 'standard'"}}, 'required': ['num1', 'num2']}}, {'name': 'calculate_gcd', 'description': 'Calculate the greatest common divisor (gcd) between two integers. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'num1': {'type': 'integer', 'description': 'First number to calculate gcd for.'}, 'num2': {'type': 'integer', 'description': 'Second number to calculate gcd for.'}, 'algorithm': {'type': 'string', 'description': "The specific algorithm to use in the calculation. Supported values: 'euclidean', 'binary'. Default 'euclidean'", 'enum': ['euclidean', 'binary']}}, 'required': ['num1', 'num2']}}]


user: Calculate the greatest common divisor between 128 and 256.

Available functions:
[{"name": "calculate_lcm", "description": "Calculate the least common multiple (lcm) between two integers.", "parameters": {"type": "dict", "properties": {"num1": {"type": "integer", "description": "First number to calculate lcm for."}, "num2": {"type": "integer", "description": "Second number to calculate lcm for."}, "method": {"type": "string", "description": "The specific method to use in the calculation. Supported values: 'standard', 'reduced'. Default 'standard'"}}, "required": ["num1", "num2"]}}, {"name": "calculate_gcd", "description": "Calculate the greatest common divisor (gcd) between two integers.", "parameters": {"type": "dict", "properties": {"num1": {"type": "integer", "description": "First number to calculate gcd for."}, "num2": {"type": "integer", "description": "Second number to calculate gcd for."}, "algorithm": {"type": "string", "description": "The specific algorithm to use in the calculation. Supported values: 'euclidean', 'binary'. Default 'euclidean'", "enum": ["euclidean", "binary"]}}, "required": ["num1", "num2"]}}]

Ground-truth function call:
[{"calculate_gcd": {"num1": [128], "num2": [256], "algorithm": ["euclidean", ""]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'grocery_delivery.order', 'description': 'Order grocery items from a specific location with optional delivery price limit Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The location of the grocery store'}, 'items': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of items to order'}, 'max_delivery_cost': {'type': 'float', 'description': 'The maximum delivery cost. It is optional. Default 1000000'}}, 'required': ['location', 'items']}}, {'name': 'ride_hailing.get_rides', 'description': 'Find ride from source to destination with an optional cost limit Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'source': {'type': 'string', 'description': 'The starting point of the journey'}, 'destination': {'type': 'string', 'description': 'The endpoint of the journey'}, 'max_cost': {'type': 'integer', 'description': 'The maximum cost of the ride. It is optional. Default is 1000000'}}, 'required': ['source', 'destination']}}]


user: Find a ride from New York to Philadelphia with maximum cost of $50

Available functions:
[{"name": "grocery_delivery.order", "description": "Order grocery items from a specific location with optional delivery price limit", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The location of the grocery store"}, "items": {"type": "array", "items": {"type": "string"}, "description": "List of items to order"}, "max_delivery_cost": {"type": "float", "description": "The maximum delivery cost. It is optional. Default 1000000"}}, "required": ["location", "items"]}}, {"name": "ride_hailing.get_rides", "description": "Find ride from source to destination with an optional cost limit", "parameters": {"type": "dict", "properties": {"source": {"type": "string", "description": "The starting point of the journey"}, "destination": {"type": "string", "description": "The endpoint of the journey"}, "max_cost": {"type": "integer", "description": "The maximum cost of the ride. It is optional. Default is 1000000"}}, "required": ["source", "destination"]}}]

Ground-truth function call:
[{"ride_hailing.get_rides": {"source": ["New York", "New York, NY", "New York City", "NYC", "NY"], "destination": ["Philadelphia"], "max_cost": [50]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'calculate_final_temperature', 'description': 'Calculate the final temperature when different quantities of the same gas at different temperatures are mixed. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'quantity1': {'type': 'integer', 'description': 'The quantity of the first sample of gas.'}, 'temperature1': {'type': 'integer', 'description': 'The temperature of the first sample of gas.'}, 'quantity2': {'type': 'integer', 'description': 'The quantity of the second sample of gas.'}, 'temperature2': {'type': 'integer', 'description': 'The temperature of the second sample of gas.'}}, 'required': ['quantity1', 'temperature1', 'quantity2', 'temperature2']}}, {'name': 'calculate_mass', 'description': 'Calculate the mass of a gas given its quantity and molar mass. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'quantity': {'type': 'integer', 'description': 'The quantity of the gas.'}, 'molar_mass': {'type': 'integer', 'description': 'The molar mass of the gas.'}}, 'required': ['quantity', 'molar_mass']}}]


user: Calculate the final temperature when 2 moles of gas at 300 K are mixed with 3 moles of the same gas at 400 K.

Available functions:
[{"name": "calculate_final_temperature", "description": "Calculate the final temperature when different quantities of the same gas at different temperatures are mixed.", "parameters": {"type": "dict", "properties": {"quantity1": {"type": "integer", "description": "The quantity of the first sample of gas."}, "temperature1": {"type": "integer", "description": "The temperature of the first sample of gas."}, "quantity2": {"type": "integer", "description": "The quantity of the second sample of gas."}, "temperature2": {"type": "integer", "description": "The temperature of the second sample of gas."}}, "required": ["quantity1", "temperature1", "quantity2", "temperature2"]}}, {"name": "calculate_mass", "description": "Calculate the mass of a gas given its quantity and molar mass.", "parameters": {"type": "dict", "properties": {"quantity": {"type": "integer", "description": "The quantity of the gas."}, "molar_mass": {"type": "integer", "description": "The molar mass of the gas."}}, "required": ["quantity", "molar_mass"]}}]

Ground-truth function call:
[{"calculate_final_temperature": {"quantity1": [2], "temperature1": [300], "quantity2": [3], "temperature2": [400]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'geology.get_era', 'description': 'Get the estimated date of a geological era. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'era_name': {'type': 'string', 'description': 'The name of the geological era. e.g Ice age'}, 'calculate_years_ago': {'type': 'boolean', 'description': 'True if years ago is to be calculated. False by default'}}, 'required': ['era_name']}}, {'name': 'history.get_event_date', 'description': 'Get the date of an historical event. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'event_name': {'type': 'string', 'description': 'The name of the event.'}, 'calculate_years_ago': {'type': 'boolean', 'description': 'True if years ago is to be calculated. False by default'}}, 'required': ['event_name']}}]


user: Calculate how many years ago was the Ice age?

Available functions:
[{"name": "geology.get_era", "description": "Get the estimated date of a geological era.", "parameters": {"type": "dict", "properties": {"era_name": {"type": "string", "description": "The name of the geological era. e.g Ice age"}, "calculate_years_ago": {"type": "boolean", "description": "True if years ago is to be calculated. False by default"}}, "required": ["era_name"]}}, {"name": "history.get_event_date", "description": "Get the date of an historical event.", "parameters": {"type": "dict", "properties": {"event_name": {"type": "string", "description": "The name of the event."}, "calculate_years_ago": {"type": "boolean", "description": "True if years ago is to be calculated. False by default"}}, "required": ["event_name"]}}]

Ground-truth function call:
[{"geology.get_era": {"era_name": ["Ice age"], "calculate_years_ago": [true]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'unit_conversion', 'description': 'Convert a value from one unit to another. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'value': {'type': 'float', 'description': 'The value to be converted.'}, 'from_unit': {'type': 'string', 'description': 'The unit to convert from.'}, 'to_unit': {'type': 'string', 'description': 'The unit to convert to.'}}, 'required': ['value', 'from_unit', 'to_unit']}}, {'name': 'currency_conversion', 'description': 'Convert a value from one currency to another. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'amount': {'type': 'integer', 'description': 'The amount to be converted.'}, 'from_currency': {'type': 'string', 'description': 'The currency to convert from.'}, 'to_currency': {'type': 'string', 'description': 'The currency to convert to.'}}, 'required': ['amount', 'from_currency', 'to_currency']}}]


user: I have 100 euro. How much is it in USD?

Available functions:
[{"name": "unit_conversion", "description": "Convert a value from one unit to another.", "parameters": {"type": "dict", "properties": {"value": {"type": "float", "description": "The value to be converted."}, "from_unit": {"type": "string", "description": "The unit to convert from."}, "to_unit": {"type": "string", "description": "The unit to convert to."}}, "required": ["value", "from_unit", "to_unit"]}}, {"name": "currency_conversion", "description": "Convert a value from one currency to another.", "parameters": {"type": "dict", "properties": {"amount": {"type": "integer", "description": "The amount to be converted."}, "from_currency": {"type": "string", "description": "The currency to convert from."}, "to_currency": {"type": "string", "description": "The currency to convert to."}}, "required": ["amount", "from_currency", "to_currency"]}}]

Ground-truth function call:
[{"currency_conversion": {"amount": [100], "from_currency": ["Euro", "EUR"], "to_currency": ["USD", "US Dollar"]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'corporate_finance.dividend_data', 'description': 'Get historical dividend data of a specific company within a particular duration. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company': {'type': 'string', 'description': 'The company that you want to get the dividend data for.'}, 'years': {'type': 'integer', 'description': 'Number of past years for which to retrieve the data.'}, 'frequency': {'type': 'string', 'enum': ['quarterly', 'annually'], 'description': 'The frequency of the dividend payment. Default annually'}}, 'required': ['company', 'years']}}, {'name': 'stock_market_data', 'description': 'Retrieve stock market data for a specific company and time frame. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company': {'type': 'string', 'description': 'The company that you want to get the stock market data for.'}, 'days': {'type': 'integer', 'description': 'Number of past days for which to retrieve the data.'}}, 'required': ['company', 'days']}}]


user: Find out the historical dividend payments of Apple Inc for last five years.

Available functions:
[{"name": "corporate_finance.dividend_data", "description": "Get historical dividend data of a specific company within a particular duration.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company that you want to get the dividend data for."}, "years": {"type": "integer", "description": "Number of past years for which to retrieve the data."}, "frequency": {"type": "string", "enum": ["quarterly", "annually"], "description": "The frequency of the dividend payment. Default annually"}}, "required": ["company", "years"]}}, {"name": "stock_market_data", "description": "Retrieve stock market data for a specific company and time frame.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company that you want to get the stock market data for."}, "days": {"type": "integer", "description": "Number of past days for which to retrieve the data."}}, "required": ["company", "days"]}}]

Ground-truth function call:
[{"corporate_finance.dividend_data": {"company": ["Apple Inc", "Apple", "Apple Inc."], "years": [5], "frequency": ["", "annually"]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'stock_forecast', 'description': 'Predict the future stock price for a specific company and time frame. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'company': {'type': 'string', 'description': 'The company that you want to get the stock price prediction for.'}, 'days': {'type': 'integer', 'description': 'Number of future days for which to predict the stock price.'}, 'model': {'type': 'string', 'description': "The model to use for prediction. Default 'regression'"}}, 'required': ['company', 'days']}}, {'name': 'weather_forecast', 'description': 'Retrieve a weather forecast for a specific location and time frame. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city that you want to get the weather for.'}, 'days': {'type': 'integer', 'description': 'Number of days for the forecast.'}}, 'required': ['location', 'days']}}]


user: Predict the stock price for Google for the next 3 days.

Available functions:
[{"name": "stock_forecast", "description": "Predict the future stock price for a specific company and time frame.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company that you want to get the stock price prediction for."}, "days": {"type": "integer", "description": "Number of future days for which to predict the stock price."}, "model": {"type": "string", "description": "The model to use for prediction. Default 'regression'"}}, "required": ["company", "days"]}}, {"name": "weather_forecast", "description": "Retrieve a weather forecast for a specific location and time frame.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the weather for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}}, "required": ["location", "days"]}}]

Ground-truth function call:
[{"stock_forecast": {"company": ["Google", "GOOG"], "days": [3], "model": ["", "regression"]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'doctor.search', 'description': 'Search for a doctor based on area of expertise and location Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city and state, e.g. Los Angeles, CA'}, 'specialization': {'type': 'string', 'description': "Medical specialization. For example, 'Cardiology', 'Orthopedics', 'Gynecology'."}}, 'required': ['location', 'specialization']}}, {'name': 'lawyer.search', 'description': 'Search for a lawyer based on area of expertise and location Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city and state, e.g. Los Angeles, CA'}, 'expertise': {'type': 'string', 'description': "Area of legal expertise. For example, 'Marriage', 'Criminal', 'Business'."}}, 'required': ['location', 'expertise']}}]


user: Search for divorce law specialists in Los Angeles

Available functions:
[{"name": "doctor.search", "description": "Search for a doctor based on area of expertise and location", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Los Angeles, CA"}, "specialization": {"type": "string", "description": "Medical specialization. For example, 'Cardiology', 'Orthopedics', 'Gynecology'."}}, "required": ["location", "specialization"]}}, {"name": "lawyer.search", "description": "Search for a lawyer based on area of expertise and location", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Los Angeles, CA"}, "expertise": {"type": "string", "description": "Area of legal expertise. For example, 'Marriage', 'Criminal', 'Business'."}}, "required": ["location", "expertise"]}}]

Ground-truth function call:
[{"lawyer.search": {"location": ["Los Angeles", "Los Angeles, CA", "LA"], "expertise": ["Divorce"]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'car_rental', 'description': 'Rent a car near you based on your preference. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'Your location'}, 'car_type': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Type of cars that you want to rent.'}, 'fuel_type': {'type': 'string', 'description': "Preferred fuel type of car. Gas, diesel, electric, hybrid etc. Default 'gas'"}}, 'required': ['location', 'car_type']}}, {'name': 'lawyer_finder', 'description': 'Locate lawyers near you based on their specialization. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'Your location'}, 'specialization': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Specializations of lawyer that you are looking for.'}, 'experience': {'type': 'integer', 'description': 'Experience in years that lawyer has. Default 1'}}, 'required': ['location', 'specialization']}}]


user: Find lawyers specializing in criminal law near me in New York.

Available functions:
[{"name": "car_rental", "description": "Rent a car near you based on your preference.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "Your location"}, "car_type": {"type": "array", "items": {"type": "string"}, "description": "Type of cars that you want to rent."}, "fuel_type": {"type": "string", "description": "Preferred fuel type of car. Gas, diesel, electric, hybrid etc. Default 'gas'"}}, "required": ["location", "car_type"]}}, {"name": "lawyer_finder", "description": "Locate lawyers near you based on their specialization.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "Your location"}, "specialization": {"type": "array", "items": {"type": "string"}, "description": "Specializations of lawyer that you are looking for."}, "experience": {"type": "integer", "description": "Experience in years that lawyer has. Default 1"}}, "required": ["location", "specialization"]}}]

Ground-truth function call:
[{"lawyer_finder": {"location": ["New York", "New York, NY", "NY", "New York City", "NYC"], "specialization": [["Criminal Law"], ["criminal law"]], "experience": ["", 1]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'nature_park.find_nearby', 'description': 'Locate nearby nature parks based on specific criteria like camping availability and scenic views. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city and state, e.g. Boston, MA.'}, 'features': {'type': 'array', 'items': {'type': 'string', 'enum': ['Camping', 'Scenic View', 'Trails', 'Picnic Areas']}, 'description': 'Preferred features in nature park.'}}, 'required': ['location', 'features']}}, {'name': 'restaurant.find_nearby', 'description': 'Locate nearby restaurants based on specific criteria. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city and state, e.g. Boston, MA.'}, 'amenities': {'type': 'array', 'items': {'type': 'string', 'enum': ['Delivery', 'Outdoor Seating', 'Vegetarian Options']}, 'description': 'Preferred amenities in restaurant. Default empty array []'}}, 'required': ['location']}}]


user: Find me the closest nature park that allows camping and has scenic views in Boston, MA.

Available functions:
[{"name": "nature_park.find_nearby", "description": "Locate nearby nature parks based on specific criteria like camping availability and scenic views.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Boston, MA."}, "features": {"type": "array", "items": {"type": "string", "enum": ["Camping", "Scenic View", "Trails", "Picnic Areas"]}, "description": "Preferred features in nature park."}}, "required": ["location", "features"]}}, {"name": "restaurant.find_nearby", "description": "Locate nearby restaurants based on specific criteria.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Boston, MA."}, "amenities": {"type": "array", "items": {"type": "string", "enum": ["Delivery", "Outdoor Seating", "Vegetarian Options"]}, "description": "Preferred amenities in restaurant. Default empty array []"}}, "required": ["location"]}}]

Ground-truth function call:
[{"nature_park.find_nearby": {"location": ["Boston, MA", "Boston"], "features": [["Camping", "Scenic View"], ["Scenic View", "Camping"]]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'translate', 'description': 'Translate text from a specified source language to a specified target language. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'text': {'type': 'string', 'description': 'The text to be translated.'}, 'source_language': {'type': 'string', 'description': 'The language the text is currently in.'}, 'target_language': {'type': 'string', 'description': 'The language the text will be translated to.'}}, 'required': ['text', 'source_language', 'target_language']}}, {'name': 'sentiment_analysis', 'description': 'Analyze the sentiment of a specified text. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'text': {'type': 'string', 'description': 'The text whose sentiment is to be analyzed.'}}, 'required': ['text']}}, {'name': 'word_count', 'description': 'Count the number of words in the given text. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'text': {'type': 'string', 'description': 'The text that the number of words is to be calculated.'}}, 'required': ['text']}}]


user: Translate Hello, how are you? from English to French.

Available functions:
[{"name": "translate", "description": "Translate text from a specified source language to a specified target language.", "parameters": {"type": "dict", "properties": {"text": {"type": "string", "description": "The text to be translated."}, "source_language": {"type": "string", "description": "The language the text is currently in."}, "target_language": {"type": "string", "description": "The language the text will be translated to."}}, "required": ["text", "source_language", "target_language"]}}, {"name": "sentiment_analysis", "description": "Analyze the sentiment of a specified text.", "parameters": {"type": "dict", "properties": {"text": {"type": "string", "description": "The text whose sentiment is to be analyzed."}}, "required": ["text"]}}, {"name": "word_count", "description": "Count the number of words in the given text.", "parameters": {"type": "dict", "properties": {"text": {"type": "string", "description": "The text that the number of words is to be calculated."}}, "required": ["text"]}}]

Ground-truth function call:
[{"translate": {"text": ["Hello, how are you?"], "source_language": ["English"], "target_language": ["French"]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'us_history.population_by_state_year', 'description': 'Retrieve historical population data for a specific U.S. state and year. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'state': {'type': 'string', 'description': 'The U.S. state for which to retrieve the population.'}, 'year': {'type': 'integer', 'description': 'The year for which to retrieve the population.'}}, 'required': ['state', 'year']}}, {'name': 'us_economy.gdp_by_state_year', 'description': 'Retrieve historical GDP data for a specific U.S. state and year. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'state': {'type': 'string', 'description': 'The U.S. state for which to retrieve the GDP.'}, 'year': {'type': 'integer', 'description': 'The year for which to retrieve the GDP.'}, 'adjustment': {'type': 'string', 'description': "The type of adjustment for inflation, 'Real' or 'Nominal'. Optional, 'Nominal' by default.", 'enum': ['Real', 'Nominal']}}, 'required': ['state', 'year']}}]


user: What was the population of California in 1970?

Available functions:
[{"name": "us_history.population_by_state_year", "description": "Retrieve historical population data for a specific U.S. state and year.", "parameters": {"type": "dict", "properties": {"state": {"type": "string", "description": "The U.S. state for which to retrieve the population."}, "year": {"type": "integer", "description": "The year for which to retrieve the population."}}, "required": ["state", "year"]}}, {"name": "us_economy.gdp_by_state_year", "description": "Retrieve historical GDP data for a specific U.S. state and year.", "parameters": {"type": "dict", "properties": {"state": {"type": "string", "description": "The U.S. state for which to retrieve the GDP."}, "year": {"type": "integer", "description": "The year for which to retrieve the GDP."}, "adjustment": {"type": "string", "description": "The type of adjustment for inflation, 'Real' or 'Nominal'. Optional, 'Nominal' by default.", "enum": ["Real", "Nominal"]}}, "required": ["state", "year"]}}]

Ground-truth function call:
[{"us_history.population_by_state_year": {"state": ["California", "CA"], "year": [1970]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'religion.get_core_beliefs', 'description': 'Retrieves the core beliefs and practices of a specified religion. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'religion': {'type': 'string', 'description': 'Name of the religion for which to retrieve the core beliefs and practices.'}}, 'required': ['religion']}}, {'name': 'religion.get_origin', 'description': 'Retrieves the origin and founder information of a specified religion. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'religion': {'type': 'string', 'description': 'Name of the religion for which to retrieve the founder and origin.'}}, 'required': ['religion']}}]


user: Who was the founder of Buddhism and where was it originated?

Available functions:
[{"name": "religion.get_core_beliefs", "description": "Retrieves the core beliefs and practices of a specified religion.", "parameters": {"type": "dict", "properties": {"religion": {"type": "string", "description": "Name of the religion for which to retrieve the core beliefs and practices."}}, "required": ["religion"]}}, {"name": "religion.get_origin", "description": "Retrieves the origin and founder information of a specified religion.", "parameters": {"type": "dict", "properties": {"religion": {"type": "string", "description": "Name of the religion for which to retrieve the founder and origin."}}, "required": ["religion"]}}]

Ground-truth function call:
[{"religion.get_origin": {"religion": ["Buddhism"]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'art_auction.fetch_artwork_price', 'description': 'Fetch the price of a specific artwork on the auction platform. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'artwork_name': {'type': 'string', 'description': 'The name of the artwork to be searched.'}, 'artist': {'type': 'string', 'description': "The artist's name to ensure the precise artwork is fetched."}, 'platform': {'type': 'string', 'description': "The platform where the artwork's price should be fetched from.", 'default': 'all'}}, 'required': ['artwork_name', 'artist']}}, {'name': 'library.search_book', 'description': 'Search for a specific book in the library. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'title': {'type': 'string', 'description': 'The title of the book to be searched.'}, 'author': {'type': 'string', 'description': 'The author of the book to ensure the precise book is fetched.'}, 'platform': {'type': 'string', 'description': 'The library where the book should be fetched from.', 'default': 'all'}}, 'required': ['title', 'author']}}]


user: Find the price of Van Gogh's painting 'Starry Night' on all auction platforms.

Available functions:
[{"name": "art_auction.fetch_artwork_price", "description": "Fetch the price of a specific artwork on the auction platform.", "parameters": {"type": "dict", "properties": {"artwork_name": {"type": "string", "description": "The name of the artwork to be searched."}, "artist": {"type": "string", "description": "The artist's name to ensure the precise artwork is fetched."}, "platform": {"type": "string", "description": "The platform where the artwork's price should be fetched from.", "default": "all"}}, "required": ["artwork_name", "artist"]}}, {"name": "library.search_book", "description": "Search for a specific book in the library.", "parameters": {"type": "dict", "properties": {"title": {"type": "string", "description": "The title of the book to be searched."}, "author": {"type": "string", "description": "The author of the book to ensure the precise book is fetched."}, "platform": {"type": "string", "description": "The library where the book should be fetched from.", "default": "all"}}, "required": ["title", "author"]}}]

Ground-truth function call:
[{"art_auction.fetch_artwork_price": {"artwork_name": ["Starry Night"], "artist": ["Van Gogh"], "platform": ["all", ""]}}]
system: 
You are an expert in composing functions. You are given a question and a set of possible functions.
Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
also point it out. You should only return the function call in tools call sections.

If you decide to invoke any of the function(s), you MUST put it in the format of [func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]

You SHOULD NOT include any other text in the response.

Here is a list of functions in JSON format that you can invoke.

[{'name': 'restaurant_info', 'description': 'Get restaurant information for a specific area. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'Location for which to find restaurants.'}, 'food_type': {'type': 'string', 'description': "Type of cuisine for which to find restaurants. Default 'any'", 'enum': ['Italian', 'Chinese', 'Mexican', 'American']}}, 'required': ['location']}}, {'name': 'exhibition_info', 'description': 'Get exhibition information for a specific museum. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'museum_name': {'type': 'string', 'description': 'Name of the museum for which to find exhibitions.'}, 'month': {'type': 'integer', 'description': 'Number of upcoming months for which to retrieve exhibition details. Default 1'}}, 'required': ['museum_name']}}]


user: Find art exhibitions for the upcoming month in the Museum of Modern Art, New York.

Available functions:
[{"name": "restaurant_info", "description": "Get restaurant information for a specific area.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "Location for which to find restaurants."}, "food_type": {"type": "string", "description": "Type of cuisine for which to find restaurants. Default 'any'", "enum": ["Italian", "Chinese", "Mexican", "American"]}}, "required": ["location"]}}, {"name": "exhibition_info", "description": "Get exhibition information for a specific museum.", "parameters": {"type": "dict", "properties": {"museum_name": {"type": "string", "description": "Name of the museum for which to find exhibitions."}, "month": {"type": "integer", "description": "Number of upcoming months for which to retrieve exhibition details. Default 1"}}, "required": ["museum_name"]}}]

Ground-truth function call:
[{"exhibition_info": {"museum_name": ["Museum of Modern Art", "MOMA", "Museum of Modern Art, New York"], "month": ["", 1]}}]