human
Hi, I need to know the distance between New York and Los Angeles. And, Hi, I need to know the distance between New York and Los Angeles. And, I am looking for books by J.K. Rowling.
function_call
[{"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}, {"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}, {"name": "search_books", "arguments": {"query": "J.K. Rowling"}}]
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destination"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}, {"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (title or author)"}}, "required": ["query"]}}, {"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}]
[{"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}, {"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}, {"name": "search_books", "arguments": {"query": "J.K. Rowling"}}]