human
I need to create a new task. The task is to buy groceries and the priority is high. And, Hi, I need to know the distance between New York and Los Angeles. Can you help? And, Hi, can you tell me the current stock price of Apple? And, Hi, I need some help with calculating my mortgage payment. Sure, the loan amount is $200,000, the annual interest rate is 3.5%, and the loan term is 30 years.
function_call
[{"name": "create_todo", "arguments": {"task": "buy groceries", "priority": "high"}}, {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}, {"name": "get_stock_price", "arguments": {"company": "Apple"}}, {"name": "calculate_mortgage", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}}]
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "priority": {"type": "string", "enum": ["high", "medium", "low"], "description": "The priority of the task"}}, "required": ["task", "priority"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destination"]}}, {"name": "get_stock_price", "description": "Get the current stock price of a particular company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}, {"name": "calculate_mortgage", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}]
[{"name": "create_todo", "arguments": {"task": "buy groceries", "priority": "high"}}, {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}, {"name": "get_stock_price", "arguments": {"company": "Apple"}}, {"name": "calculate_mortgage", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}}]