human
Hi, I need a QR code for my website. Can you help me with that? Sure, my website URL is www.mywebsite.com. And, Hi, I need to know the distance between New York and Los Angeles. And, Hi, I need help with calculating my mortgage payments. Sure, the loan amount is $200,000, the annual interest rate is 3.5%, and the loan term is 30 years. And, Hi, I need some help with my business calculations. I want to calculate my profit. My total revenue for this month is $50000 and my expenses are $20000.
function_call
[{"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}, {"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}, {"name": "calculate_mortgage", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}}, {"name": "calculate_profit", "arguments": {"revenue": 50000, "expenses": 20000}}]
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be encoded in the QR code"}}, "required": ["text"]}}, {"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": "calculate_mortgage", "description": "Calculate monthly mortgage payments", "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_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "format": "date-time", "description": "The start time of the event"}, "end_time": {"type": "string", "format": "date-time", "description": "The end time of the event"}}, "required": ["title", "start_time", "end_time"]}}, {"name": "calculate_profit", "description": "Calculate the profit based on revenue and expenses", "parameters": {"type": "object", "properties": {"revenue": {"type": "number", "description": "The total revenue generated"}, "expenses": {"type": "number", "description": "The total expenses incurred"}}, "required": ["revenue", "expenses"]}}]
[{"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}, {"name": "calculate_distance", "arguments": {"source": "New York", "destination": "Los Angeles"}}, {"name": "calculate_mortgage", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}}, {"name": "calculate_profit", "arguments": {"revenue": 50000, "expenses": 20000}}]