human
Hi, I need help calculating the tip for my restaurant bill. The total bill is $100 and I want to leave a 15% tip. And, I need to create a new task. The task is to prepare a presentation for the annual meeting and the due date is 2022-05-15. And, Hi, I need to know the distance between New York and Los Angeles.
function_call
[{"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}, {"name": "create_todo", "arguments": {"task": "Prepare a presentation for the annual meeting", "due_date": "2022-05-15"}}, {"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}]
[{"name": "calculate_tip", "description": "Calculate the tip amount for a restaurant bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the restaurant bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the bill to be tipped"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the task"}}, "required": ["task", "due_date"]}}, {"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_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}, {"name": "create_todo", "arguments": {"task": "Prepare a presentation for the annual meeting", "due_date": "2022-05-15"}}, {"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}]