human
Hi, I saw a dress that I liked in a store. It was originally priced at $200 but there's a 20% discount. Can you help me calculate how much I will save? And, I am currently at the coordinates 40.7128 N, 74.0060 W. Can you find me some nearby restaurants within a radius of 500 meters? And, 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, Hi, can you tell me the current stock price of Apple?
function_call
[{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "find_nearby_places", "arguments": {"latitude": 40.7128, "longitude": -74.006, "radius": 500, "category": "restaurant"}}, {"name": "calculate_shipping_cost", "arguments": {"weight": 5, "destination": "New York"}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}]
[{"name": "calculate_discount", "description": "Calculate the discount amount", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "find_nearby_places", "description": "Find nearby places of interest", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude coordinate"}, "longitude": {"type": "number", "description": "The longitude coordinate"}, "radius": {"type": "integer", "description": "The radius in meters"}, "category": {"type": "string", "description": "The category of places to search for"}}, "required": ["latitude", "longitude", "radius", "category"]}}, {"name": "calculate_shipping_cost", "description": "Calculate the cost of shipping", "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": "convert_currency", "description": "Convert currency from one type to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount of currency to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}}, "required": ["amount", "from_currency", "to_currency"]}}, {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "Stock symbol"}}, "required": ["symbol"]}}]
[{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "find_nearby_places", "arguments": {"latitude": 40.7128, "longitude": -74.006, "radius": 500, "category": "restaurant"}}, {"name": "calculate_shipping_cost", "arguments": {"weight": 5, "destination": "New York"}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}]