human
I saw a dress that I liked in a store. It was originally priced at $100 but there's a 20% discount on it. Can you tell me how much it will cost after the discount? And, Hi, I need to know the distance between New York and Los Angeles. And, I saw a dress that I liked. It was originally priced at $100 but it's on a 20% discount. How much will it cost now?
function_call
[{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}, {"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}]
[{"name": "calculate_discount", "description": "Calculate the discounted price of an item", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}, {"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": "calculate_discount", "description": "Calculate the discounted price based on original price and discount percentage", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price", "discount_percentage"]}}]
[{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}, {"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}]