llamastack/bfcl_v3__old 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': 'walmart.purchase', 'description': 'Retrieve information of items from Walmart including stock availability. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'loc': {'type': 'string', 'description': 'Location of the nearest Walmart.'}, 'product_list': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Items to be purchased listed in an array.'}, 'pack_size': {'type': 'array', 'items': {'type': 'integer'}, 'description': 'Size of the product pack if applicable. The size of the array should be equal to product_list. Default is not use it if not specified.'}}, 'required': ['loc', 'product_list']}}]


user: I want to buy apples, rice, and 12 pack of bottled water from a Walmart near San Jose. Show me the product information and stock availability.

Available functions:
[{"name": "walmart.purchase", "description": "Retrieve information of items from Walmart including stock availability.", "parameters": {"type": "dict", "properties": {"loc": {"type": "string", "description": "Location of the nearest Walmart."}, "product_list": {"type": "array", "items": {"type": "string"}, "description": "Items to be purchased listed in an array."}, "pack_size": {"type": "array", "items": {"type": "integer"}, "description": "Size of the product pack if applicable. The size of the array should be equal to product_list. Default is not use it if not specified."}}, "required": ["loc", "product_list"]}}]

Ground truth: [{"walmart.purchase": {"loc": ["San Jose", "San Jose, CA"], "product_list": [["apples", "rice", "bottled water"], ["apples", "rice", "water"]], "pack_size": [[1, 1, 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': 'grocery_info.nutritional_info', 'description': 'Retrieve nutritional information for a given food item from a particular store Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'store': {'type': 'string', 'description': 'The store where the item is available'}, 'food': {'type': 'string', 'description': 'Food item for which information is needed.'}, 'information': {'type': 'array', 'items': {'type': 'string', 'enum': ['Protein', 'Calories', 'Carbohydrates', 'Fat', 'Fiber']}, 'description': 'Nutritional details required.'}}, 'required': ['store', 'food', 'information']}}]


user: Check the amount of protein, calories and carbs in an avocado from Walmart.

Available functions:
[{"name": "grocery_info.nutritional_info", "description": "Retrieve nutritional information for a given food item from a particular store", "parameters": {"type": "dict", "properties": {"store": {"type": "string", "description": "The store where the item is available"}, "food": {"type": "string", "description": "Food item for which information is needed."}, "information": {"type": "array", "items": {"type": "string", "enum": ["Protein", "Calories", "Carbohydrates", "Fat", "Fiber"]}, "description": "Nutritional details required."}}, "required": ["store", "food", "information"]}}]

Ground truth: [{"grocery_info.nutritional_info": {"store": ["Walmart"], "food": ["avocado", "Avocado"], "information": [["Protein", "Calories", "Carbohydrates"]]}}]
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': 'walmart.check_price', 'description': 'Calculate total price for given items and their quantities at Walmart. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'items': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of items to be priced.'}, 'quantities': {'type': 'array', 'items': {'type': 'integer'}, 'description': 'Quantity of each item corresponding to the items list.'}, 'store_location': {'type': 'string', 'description': 'The store location for specific pricing (optional). Default to all if not specified.'}}, 'required': ['items', 'quantities']}}]


user: Check the total price for three pumpkins and two dozen eggs at Walmart.

Available functions:
[{"name": "walmart.check_price", "description": "Calculate total price for given items and their quantities at Walmart.", "parameters": {"type": "dict", "properties": {"items": {"type": "array", "items": {"type": "string"}, "description": "List of items to be priced."}, "quantities": {"type": "array", "items": {"type": "integer"}, "description": "Quantity of each item corresponding to the items list."}, "store_location": {"type": "string", "description": "The store location for specific pricing (optional). Default to all if not specified."}}, "required": ["items", "quantities"]}}]

Ground truth: [{"walmart.check_price": {"items": [["pumpkins", "eggs"], ["pumpkin", "dozen eggs"]], "quantities": [[3, 24], [3, 2]], "store_location": [""]}}]
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': 'time_zone_converter', 'description': 'Retrieve the current time of a specific city. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'city': {'type': 'string', 'description': 'The city you want to know the current time for.'}, 'country': {'type': 'string', 'description': 'The country where the city is located.'}, 'display_format': {'type': 'string', 'description': "The time display format: '12h' or '24h'. Default is '24h'."}}, 'required': ['city', 'country']}}]


user: What time is it currently in London, UK in 24 hour format?

Available functions:
[{"name": "time_zone_converter", "description": "Retrieve the current time of a specific city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city you want to know the current time for."}, "country": {"type": "string", "description": "The country where the city is located."}, "display_format": {"type": "string", "description": "The time display format: '12h' or '24h'. Default is '24h'."}}, "required": ["city", "country"]}}]

Ground truth: [{"time_zone_converter": {"city": ["London"], "country": ["UK", "United Kingdom"], "display_format": ["24h", "24 hour"]}}]
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': 'get_current_time', 'description': 'Retrieve the current time for a specified city and country. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'city': {'type': 'string', 'description': 'The city for which the current time is to be retrieved.'}, 'country': {'type': 'string', 'description': 'The country where the city is located.'}, 'format': {'type': 'string', 'description': "The format in which the time is to be displayed, optional (defaults to 'HH:MM:SS')."}}, 'required': ['city', 'country']}}]


user: What is the current time in Sydney, Australia?

Available functions:
[{"name": "get_current_time", "description": "Retrieve the current time for a specified city and country.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city for which the current time is to be retrieved."}, "country": {"type": "string", "description": "The country where the city is located."}, "format": {"type": "string", "description": "The format in which the time is to be displayed, optional (defaults to 'HH:MM:SS')."}}, "required": ["city", "country"]}}]

Ground truth: [{"get_current_time": {"city": ["Sydney"], "country": ["Australia"], "format": ["", "HH:MM:SS"]}}]
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': 'timezone.convert', 'description': 'Convert time from one time zone to another. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'time': {'type': 'string', 'description': 'The local time you want to convert, e.g. 3pm'}, 'from_timezone': {'type': 'string', 'description': 'The time zone you want to convert from.'}, 'to_timezone': {'type': 'string', 'description': 'The time zone you want to convert to.'}}, 'required': ['time', 'from_timezone', 'to_timezone']}}]


user: Convert time 3pm from New York time zone to London time zone.

Available functions:
[{"name": "timezone.convert", "description": "Convert time from one time zone to another.", "parameters": {"type": "dict", "properties": {"time": {"type": "string", "description": "The local time you want to convert, e.g. 3pm"}, "from_timezone": {"type": "string", "description": "The time zone you want to convert from."}, "to_timezone": {"type": "string", "description": "The time zone you want to convert to."}}, "required": ["time", "from_timezone", "to_timezone"]}}]

Ground truth: [{"timezone.convert": {"time": ["3pm"], "from_timezone": ["America/New_York", "New York", "NYC", "New York City"], "to_timezone": ["Europe/London", "London"]}}]
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': 'get_current_time', 'description': 'Retrieve the current time in a specific time zone. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The name of the city.'}, 'country': {'type': 'string', 'description': 'The name of the country.'}, 'timezone': {'type': 'string', 'description': 'The optional timezone to get current time. Default '}}, 'required': ['location', 'country']}}]


user: What's the current time in Sydney, Australia?

Available functions:
[{"name": "get_current_time", "description": "Retrieve the current time in a specific time zone.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The name of the city."}, "country": {"type": "string", "description": "The name of the country."}, "timezone": {"type": "string", "description": "The optional timezone to get current time. Default "}}, "required": ["location", "country"]}}]

Ground truth: [{"get_current_time": {"location": ["Sydney"], "country": ["Australia", "Australia/Sydney"], "timezone": [""]}}]
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': 'hotel_booking', 'description': 'Books a hotel room given the location, room type, stay duration and any additional preferences. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city where you want to book the hotel.'}, 'room_type': {'type': 'string', 'description': "Type of the room required. Options: 'single', 'double', 'deluxe', etc."}, 'duration': {'type': 'integer', 'description': 'The number of nights you want to book the hotel for.'}, 'start_date': {'type': 'string', 'description': 'The date when your stay begins.'}, 'preferences': {'type': 'array', 'items': {'type': 'string', 'enum': ['pet_friendly', 'gym', 'swimming_pool', 'free_breakfast', 'parking']}, 'description': 'Optional preferences of stay at the hotel. Default to use all if not specified.'}}, 'required': ['location', 'room_type', 'duration', 'start_date']}}]


user: Book a single room at a pet friendly hotel near Manhattan, New York for 3 nights starting from March 10th, 2023.

Available functions:
[{"name": "hotel_booking", "description": "Books a hotel room given the location, room type, stay duration and any additional preferences.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city where you want to book the hotel."}, "room_type": {"type": "string", "description": "Type of the room required. Options: 'single', 'double', 'deluxe', etc."}, "duration": {"type": "integer", "description": "The number of nights you want to book the hotel for."}, "start_date": {"type": "string", "description": "The date when your stay begins."}, "preferences": {"type": "array", "items": {"type": "string", "enum": ["pet_friendly", "gym", "swimming_pool", "free_breakfast", "parking"]}, "description": "Optional preferences of stay at the hotel. Default to use all if not specified."}}, "required": ["location", "room_type", "duration", "start_date"]}}]

Ground truth: [{"hotel_booking": {"location": ["Manhattan, New York", "Manhattan, NY", "NYC", "New York City"], "room_type": ["single"], "duration": [3], "start_date": ["2023-03-10", "03/10/2023", "Mar.10,2023", "March 10th, 2023", "March 10th,2023", "March10th, 2023", "March10th,2023"], "preferences": [["pet_friendly"]]}}]
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': 'hilton_hotel.check_availability', 'description': 'Check hotel availability 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 where you want to check hotel availability.'}, 'check_in_date': {'type': 'string', 'description': 'The check-in date in the format YYYY-MM-DD.'}, 'check_out_date': {'type': 'string', 'description': 'The check-out date in the format YYYY-MM-DD.'}, 'no_of_adults': {'type': 'integer', 'description': 'The number of adults for the hotel booking.'}, 'hotel_chain': {'type': 'string', 'description': 'The hotel chain where you want to book the hotel.', 'default': 'Hilton'}}, 'required': ['location', 'check_in_date', 'check_out_date', 'no_of_adults']}}]


user: Check if any Hilton Hotel is available for two adults in Paris from 2023 April 4th to April 8th?

Available functions:
[{"name": "hilton_hotel.check_availability", "description": "Check hotel availability for a specific location and time frame.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city where you want to check hotel availability."}, "check_in_date": {"type": "string", "description": "The check-in date in the format YYYY-MM-DD."}, "check_out_date": {"type": "string", "description": "The check-out date in the format YYYY-MM-DD."}, "no_of_adults": {"type": "integer", "description": "The number of adults for the hotel booking."}, "hotel_chain": {"type": "string", "description": "The hotel chain where you want to book the hotel.", "default": "Hilton"}}, "required": ["location", "check_in_date", "check_out_date", "no_of_adults"]}}]

Ground truth: [{"hilton_hotel.check_availability": {"location": ["Paris"], "check_in_date": ["2023-04-04"], "check_out_date": ["2023-04-08"], "no_of_adults": [2], "hotel_chain": ["Hilton", ""]}}]
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': 'book_hotel', 'description': 'Book a room of specified type for a particular number of nights at a specific hotel, starting from a specified date. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'hotel_name': {'type': 'string', 'description': 'The name of the hotel.'}, 'location': {'type': 'string', 'description': 'The city in which the hotel is located.'}, 'room_type': {'type': 'string', 'description': 'The type of room to be booked.'}, 'start_date': {'type': 'string', 'description': 'The start date for the booking.'}, 'nights': {'type': 'integer', 'description': 'The number of nights for which the booking is to be made.'}}, 'required': ['hotel_name', 'location', 'room_type', 'start_date', 'nights']}}]


user: Book a single room for two nights at the Hilton Hotel in Chicago, starting from 10th December 2022.

Available functions:
[{"name": "book_hotel", "description": "Book a room of specified type for a particular number of nights at a specific hotel, starting from a specified date.", "parameters": {"type": "dict", "properties": {"hotel_name": {"type": "string", "description": "The name of the hotel."}, "location": {"type": "string", "description": "The city in which the hotel is located."}, "room_type": {"type": "string", "description": "The type of room to be booked."}, "start_date": {"type": "string", "description": "The start date for the booking."}, "nights": {"type": "integer", "description": "The number of nights for which the booking is to be made."}}, "required": ["hotel_name", "location", "room_type", "start_date", "nights"]}}]

Ground truth: [{"book_hotel": {"hotel_name": ["Hilton Hotel", "Hilton"], "location": ["Chicago"], "room_type": ["single"], "start_date": ["2022-12-10", "10/12/2022", "Dec 10, 2022", "December 10, 2022"], "nights": [2]}}]
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': 'book_room', 'description': 'Book a room in a specified hotel. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'hotel_name': {'type': 'string', 'description': 'The name of the hotel.'}, 'room_type': {'type': 'string', 'description': 'The type of room to be booked.'}, 'num_nights': {'type': 'integer', 'description': 'The number of nights to book the room for.'}}, 'required': ['hotel_name', 'room_type', 'num_nights']}}]


user: I would like to book a single room for two nights at The Plaza hotel.

Available functions:
[{"name": "book_room", "description": "Book a room in a specified hotel.", "parameters": {"type": "dict", "properties": {"hotel_name": {"type": "string", "description": "The name of the hotel."}, "room_type": {"type": "string", "description": "The type of room to be booked."}, "num_nights": {"type": "integer", "description": "The number of nights to book the room for."}}, "required": ["hotel_name", "room_type", "num_nights"]}}]

Ground truth: [{"book_room": {"hotel_name": ["The Plaza"], "room_type": ["Single", "single"], "num_nights": [2]}}]
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': 'hotel_booking.book', 'description': 'Book a hotel room given the city, date, and the number of adults and children. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'city': {'type': 'string', 'description': 'The city where the hotel is located.'}, 'from_date': {'type': 'string', 'description': 'The start date of the booking. The format is MM-DD-YYYY.'}, 'to_date': {'type': 'string', 'description': 'The end date of the booking. The format is MM-DD-YYYY.'}, 'adults': {'type': 'integer', 'description': 'The number of adults for the booking.'}, 'children': {'type': 'integer', 'description': 'The number of children for the booking.'}, 'room_type': {'type': 'string', 'description': "The type of the room, default is 'Standard'. Options are 'Standard', 'Deluxe', 'Suite'.", 'default': 'Standard'}}, 'required': ['city', 'from_date', 'to_date', 'adults', 'children']}}]


user: Book a hotel room for two adults and one child in Paris, France from July 10, 2022 to July 20, 2022.

Available functions:
[{"name": "hotel_booking.book", "description": "Book a hotel room given the city, date, and the number of adults and children.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city where the hotel is located."}, "from_date": {"type": "string", "description": "The start date of the booking. The format is MM-DD-YYYY."}, "to_date": {"type": "string", "description": "The end date of the booking. The format is MM-DD-YYYY."}, "adults": {"type": "integer", "description": "The number of adults for the booking."}, "children": {"type": "integer", "description": "The number of children for the booking."}, "room_type": {"type": "string", "description": "The type of the room, default is 'Standard'. Options are 'Standard', 'Deluxe', 'Suite'.", "default": "Standard"}}, "required": ["city", "from_date", "to_date", "adults", "children"]}}]

Ground truth: [{"hotel_booking.book": {"city": ["Paris", "Paris, France"], "from_date": ["07-10-2022", "2022-07-10", "10/07/2022", "Jul.10,2022"], "to_date": ["07-20-2022", "2022-07-20", "20/07/2022", "Jul.20,2022"], "adults": [2], "children": [1], "room_type": ["Standard", ""]}}]
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': 'hotel_bookings.book_room', 'description': 'Book a hotel room based on specific criteria like location, room type, and check-in and check-out dates. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'location': {'type': 'string', 'description': 'The city and state where you want to book the hotel, e.g. Los Angeles, CA'}, 'room_type': {'type': 'string', 'description': 'Preferred type of room in the hotel, e.g. king size, queen size, deluxe, suite etc.'}, 'check_in_date': {'type': 'string', 'description': 'Check-in date for the hotel. Format - DD-MM-YYYY.'}, 'no_of_nights': {'type': 'integer', 'description': 'Number of nights for the stay.'}, 'no_of_rooms': {'type': 'integer', 'description': 'Number of rooms to book. Default is 1.', 'default': 1}}, 'required': ['location', 'room_type', 'check_in_date', 'no_of_nights']}}]


user: Book a hotel room with king size bed in Los Angeles for 2 nights starting from 15th October,2023.

Available functions:
[{"name": "hotel_bookings.book_room", "description": "Book a hotel room based on specific criteria like location, room type, and check-in and check-out dates.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city and state where you want to book the hotel, e.g. Los Angeles, CA"}, "room_type": {"type": "string", "description": "Preferred type of room in the hotel, e.g. king size, queen size, deluxe, suite etc."}, "check_in_date": {"type": "string", "description": "Check-in date for the hotel. Format - DD-MM-YYYY."}, "no_of_nights": {"type": "integer", "description": "Number of nights for the stay."}, "no_of_rooms": {"type": "integer", "description": "Number of rooms to book. Default is 1.", "default": 1}}, "required": ["location", "room_type", "check_in_date", "no_of_nights"]}}]

Ground truth: [{"hotel_bookings.book_room": {"location": ["Los Angeles", "Los Angeles, CA", "LA"], "room_type": ["King Size", "king size"], "check_in_date": ["15-10-2023", "15th October", "2023-10-15", "10/15/2023", "Oct.15,2023"], "no_of_nights": [2], "no_of_rooms": ["", 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': 'book_hotel', 'description': 'Book a room in a specific hotel with particular preferences Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'hotel_name': {'type': 'string', 'description': 'The name of the hotel.'}, 'location': {'type': 'string', 'description': 'The location of the hotel.'}, 'room_type': {'type': 'string', 'description': 'The type of room preferred.'}, 'start_date': {'type': 'string', 'description': 'The starting date of the stay in format MM-DD-YYYY.'}, 'stay_duration': {'type': 'integer', 'description': 'The duration of the stay in days.'}, 'view': {'type': 'string', 'description': 'The preferred view from the room, can be ignored if no preference. If none provided, assumes no preference.', 'default': 'No preference'}}, 'required': ['hotel_name', 'location', 'room_type', 'start_date', 'stay_duration']}}]


user: Book a luxury room in Hotel Paradise, Las Vegas, with a city view for 3 days starting from May 12, 2022.

Available functions:
[{"name": "book_hotel", "description": "Book a room in a specific hotel with particular preferences", "parameters": {"type": "dict", "properties": {"hotel_name": {"type": "string", "description": "The name of the hotel."}, "location": {"type": "string", "description": "The location of the hotel."}, "room_type": {"type": "string", "description": "The type of room preferred."}, "start_date": {"type": "string", "description": "The starting date of the stay in format MM-DD-YYYY."}, "stay_duration": {"type": "integer", "description": "The duration of the stay in days."}, "view": {"type": "string", "description": "The preferred view from the room, can be ignored if no preference. If none provided, assumes no preference.", "default": "No preference"}}, "required": ["hotel_name", "location", "room_type", "start_date", "stay_duration"]}}]

Ground truth: [{"book_hotel": {"hotel_name": ["Hotel Paradise"], "location": ["Las Vegas", "LV"], "room_type": ["luxury", "Luxury"], "start_date": ["05-12-2022", "2022-05-12", "12/05/2022", "May.12,2022", "May 12, 2022"], "stay_duration": [3], "view": ["city view", "city"]}}]
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': 'hotel_booking', 'description': 'Books a hotel room for a specific date range. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'hotel_name': {'type': 'string', 'description': 'The name of the hotel.'}, 'location': {'type': 'string', 'description': 'The city and state, e.g. New York, NY.'}, 'start_date': {'type': 'string', 'description': "The start date of the reservation. Use format 'YYYY-MM-DD'."}, 'end_date': {'type': 'string', 'description': "The end date of the reservation. Use format 'YYYY-MM-DD'."}, 'rooms': {'type': 'integer', 'default': 1, 'description': 'The number of rooms to reserve.'}}, 'required': ['hotel_name', 'location', 'start_date', 'end_date']}}]


user: Book a hotel room at the Plaza Hotel in New York for 3 nights starting from 1st June 2022

Available functions:
[{"name": "hotel_booking", "description": "Books a hotel room for a specific date range.", "parameters": {"type": "dict", "properties": {"hotel_name": {"type": "string", "description": "The name of the hotel."}, "location": {"type": "string", "description": "The city and state, e.g. New York, NY."}, "start_date": {"type": "string", "description": "The start date of the reservation. Use format 'YYYY-MM-DD'."}, "end_date": {"type": "string", "description": "The end date of the reservation. Use format 'YYYY-MM-DD'."}, "rooms": {"type": "integer", "default": 1, "description": "The number of rooms to reserve."}}, "required": ["hotel_name", "location", "start_date", "end_date"]}}]

Ground truth: [{"hotel_booking": {"hotel_name": ["Plaza Hotel"], "location": ["New York City, NY", "New York, NY"], "start_date": ["2022-06-01", "06/01/2022", "Jun.1,2022"], "end_date": ["2022-06-04", "06/04/2022", "Jun.4,2022"], "rooms": [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': 'currency_exchange.convert', 'description': 'Convert an amount from a base currency to a target currency based on the current exchange rate. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'base_currency': {'type': 'string', 'description': 'The currency to convert from.'}, 'target_currency': {'type': 'string', 'description': 'The currency to convert to.'}, 'amount': {'type': 'integer', 'description': 'The amount in base currency to convert'}}, 'required': ['base_currency', 'target_currency', 'amount']}}]


user: How many Canadian dollars can I get for 500 US dollars?

Available functions:
[{"name": "currency_exchange.convert", "description": "Convert an amount from a base currency to a target currency based on the current exchange rate.", "parameters": {"type": "dict", "properties": {"base_currency": {"type": "string", "description": "The currency to convert from."}, "target_currency": {"type": "string", "description": "The currency to convert to."}, "amount": {"type": "integer", "description": "The amount in base currency to convert"}}, "required": ["base_currency", "target_currency", "amount"]}}]

Ground truth: [{"currency_exchange.convert": {"base_currency": ["USD"], "target_currency": ["CAD"], "amount": [500]}}]
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': 'currency_converter', 'description': 'Calculates the current cost in target currency given the amount in base currency and exchange rate Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'base_currency': {'type': 'string', 'description': 'The currency to convert from.'}, 'target_currency': {'type': 'string', 'description': 'The currency to convert to.'}, 'amount': {'type': 'float', 'description': 'The amount in base currency'}}, 'required': ['base_currency', 'target_currency', 'amount']}}]


user: Calculate the current cost in British Pounds if I need to convert 200 US dollars.

Available functions:
[{"name": "currency_converter", "description": "Calculates the current cost in target currency given the amount in base currency and exchange rate", "parameters": {"type": "dict", "properties": {"base_currency": {"type": "string", "description": "The currency to convert from."}, "target_currency": {"type": "string", "description": "The currency to convert to."}, "amount": {"type": "float", "description": "The amount in base currency"}}, "required": ["base_currency", "target_currency", "amount"]}}]

Ground truth: [{"currency_converter": {"base_currency": ["USD"], "target_currency": ["GBP"], "amount": [200.0]}}]
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': 'currency_conversion.convert', '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: Convert 150 Euros to Canadian dollars.

Available functions:
[{"name": "currency_conversion.convert", "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: [{"currency_conversion.convert": {"amount": [150], "from_currency": ["EUR", "Euros"], "to_currency": ["CAD", "Canadian dollars"]}}]
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': 'get_exchange_rate_with_fee', 'description': 'Retrieve the exchange rate between two currencies including transaction fee. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'base_currency': {'type': 'string', 'description': 'The base currency.'}, 'target_currency': {'type': 'string', 'description': 'The target currency.'}, 'fee': {'type': 'float', 'description': 'The transaction fee in percentage. Default is 0%.'}}, 'required': ['base_currency', 'target_currency', 'fee']}}]


user: Get the exchange rate from British pounds to Japanese yen with the fee 0.02 included.

Available functions:
[{"name": "get_exchange_rate_with_fee", "description": "Retrieve the exchange rate between two currencies including transaction fee.", "parameters": {"type": "dict", "properties": {"base_currency": {"type": "string", "description": "The base currency."}, "target_currency": {"type": "string", "description": "The target currency."}, "fee": {"type": "float", "description": "The transaction fee in percentage. Default is 0%."}}, "required": ["base_currency", "target_currency", "fee"]}}]

Ground truth: [{"get_exchange_rate_with_fee": {"base_currency": ["GBP"], "target_currency": ["JPY"], "fee": [0.02]}}]
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': 'latest_exchange_rate', 'description': 'Retrieve the latest exchange rate between two specified currencies. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'source_currency': {'type': 'string', 'description': 'The currency you are converting from.'}, 'target_currency': {'type': 'string', 'description': 'The currency you are converting to.'}, 'amount': {'type': 'float', 'description': 'The amount to be converted. If omitted, default to exchange rate of 1 unit source currency'}}, 'required': ['source_currency', 'target_currency']}}]


user: Get me the latest exchange rate from British Pounds to Japanese Yen.

Available functions:
[{"name": "latest_exchange_rate", "description": "Retrieve the latest exchange rate between two specified currencies.", "parameters": {"type": "dict", "properties": {"source_currency": {"type": "string", "description": "The currency you are converting from."}, "target_currency": {"type": "string", "description": "The currency you are converting to."}, "amount": {"type": "float", "description": "The amount to be converted. If omitted, default to exchange rate of 1 unit source currency"}}, "required": ["source_currency", "target_currency"]}}]

Ground truth: [{"latest_exchange_rate": {"source_currency": ["GBP", "British Pounds", "Pounds Sterling"], "target_currency": ["JPY", "Japanese Yen"], "amount": ["", 1.0]}}]
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': 'convert_currency', 'description': 'Converts an amount from a particular currency to another currency. Note that the provided function is in Python 3 syntax.', 'parameters': {'type': 'dict', 'properties': {'base_currency': {'type': 'string', 'description': 'The base currency in which the original amount is present.'}, 'target_currency': {'type': 'string', 'description': 'The currency to which you want to convert.'}, 'amount': {'type': 'integer', 'description': 'The amount you want to convert.'}}, 'required': ['base_currency', 'target_currency', 'amount']}}]


user: How much will 20000 Japanese Yen be in United States Dollar?

Available functions:
[{"name": "convert_currency", "description": "Converts an amount from a particular currency to another currency.", "parameters": {"type": "dict", "properties": {"base_currency": {"type": "string", "description": "The base currency in which the original amount is present."}, "target_currency": {"type": "string", "description": "The currency to which you want to convert."}, "amount": {"type": "integer", "description": "The amount you want to convert."}}, "required": ["base_currency", "target_currency", "amount"]}}]

Ground truth: [{"convert_currency": {"base_currency": ["JPY"], "target_currency": ["USD"], "amount": [20000]}}]