human
Hi, I need to ship a package to New York. It weighs about 5 kilograms. Can you tell me how much it will cost? And, I need to create a new task in my to-do list. The task is to buy groceries and its priority is high. And, Hi, I need help with calculating a tip. My bill amount is $85 and I want to leave a 15% tip. And, Hi, I need a QR code for my website. Can you help me with that? Sure, my website URL is www.mywebsite.com.
function_call
[{"name": "calculate_shipping_cost", "arguments": {"weight": 5, "destination": "New York"}}, {"name": "create_todo", "arguments": {"task": "buy groceries", "priority": "high"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 85, "tip_percentage": 15}}, {"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}]
[{"name": "calculate_shipping_cost", "description": "Calculate the shipping cost for a package", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the package in kilograms"}, "destination": {"type": "string", "description": "The destination address"}}, "required": ["weight", "destination"]}}, {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "priority": {"type": "string", "description": "The priority of the task (e.g. high, medium, low)"}}, "required": ["task", "priority"]}}, {"name": "calculate_tip", "description": "Calculate the amount to tip at a restaurant", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage to apply"}}, "required": ["bill_amount", "tip_percentage"]}}, {"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": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to fetch"}, "country": {"type": "string", "description": "The country from which to fetch news"}}, "required": ["category", "country"]}}]
[{"name": "calculate_shipping_cost", "arguments": {"weight": 5, "destination": "New York"}}, {"name": "create_todo", "arguments": {"task": "buy groceries", "priority": "high"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 85, "tip_percentage": 15}}, {"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}]