human
Hi, I need to know the distance between New York and Los Angeles. And, Hi, I want to know how old is my friend John. His birth date is 1990-05-15. And, I have some chicken, tomatoes, and basil. What can I cook with these?
function_call
[{"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}, {"name": "calculate_age", "arguments": {"name": "John", "birth_date": "1990-05-15"}}, {"name": "search_recipe", "arguments": {"ingredients": ["chicken", "tomatoes", "basil"]}}]
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Source location"}, "destination": {"type": "string", "description": "Destination location"}}, "required": ["source", "destination"]}}, {"name": "calculate_age", "description": "Calculate a person's age", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The person's name"}, "birth_date": {"type": "string", "format": "date", "description": "The person's birth date"}}, "required": ["name", "birth_date"]}}, {"name": "search_recipe", "description": "Search for a recipe based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The list of ingredients"}}, "required": ["ingredients"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2"]}}]
[{"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}, {"name": "calculate_age", "arguments": {"name": "John", "birth_date": "1990-05-15"}}, {"name": "search_recipe", "arguments": {"ingredients": ["chicken", "tomatoes", "basil"]}}]