human
Hi, I am looking for a specific product. Can you help me check its availability? Sure, I am looking for the iPhone 12 in New York. And, Hi, I need to know the distance between New York and Los Angeles.
function_call
[{"name": "check_availability", "arguments": {"product": "iPhone 12", "location": "New York"}}, {"name": "calculate_distance", "arguments": {"start_location": "New York", "end_location": "Los Angeles"}}]
[{"name": "check_availability", "description": "Check the availability of a product or service", "parameters": {"type": "object", "properties": {"product": {"type": "string", "description": "The name or ID of the product"}, "location": {"type": "string", "description": "The location to check availability"}}, "required": ["product", "location"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_location", "end_location"]}}]
[{"name": "check_availability", "arguments": {"product": "iPhone 12", "location": "New York"}}, {"name": "calculate_distance", "arguments": {"start_location": "New York", "end_location": "Los Angeles"}}]