human
I need to create an invoice for my client, John Doe. The amount is $5000 and it's due on 30th of this month. And, Can you get me the latest news from the United States? And, Hi, I was born on 1990-05-15. Can you tell me how old I am today? And, Hi, I need to know the distance between New York and Los Angeles.
function_call
[{"name": "create_invoice", "arguments": {"client_name": "John Doe", "amount": 5000, "due_date": "2022-09-30"}}, {"name": "get_news", "arguments": {"country": "United States"}}, {"name": "calculate_age", "arguments": {"birth_date": "1990-05-15"}}, {"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}]
[{"name": "create_invoice", "description": "Create a new invoice", "parameters": {"type": "object", "properties": {"client_name": {"type": "string", "description": "The name of the client"}, "amount": {"type": "number", "description": "The invoice amount"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the invoice"}}, "required": ["client_name", "amount", "due_date"]}}, {"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The news category"}, "country": {"type": "string", "description": "The country for which to get the news"}}, "required": ["country"]}}, {"name": "calculate_age", "description": "Calculate age based on birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date"}}, "required": ["birth_date"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}]
[{"name": "create_invoice", "arguments": {"client_name": "John Doe", "amount": 5000, "due_date": "2022-09-30"}}, {"name": "get_news", "arguments": {"country": "United States"}}, {"name": "calculate_age", "arguments": {"birth_date": "1990-05-15"}}, {"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}]