human
Hi, I saw a dress that I liked in a store. It was priced at $200 but they are offering a 20% discount. Can you tell me how much I will have to pay after the discount? And, Hi, I need to convert 1000 US dollars to Euros. Can you help me with that? And, Hi, I need to know the distance between New York and Los Angeles. And, Can you analyze the sentiment of this text for me? "I am feeling very happy today because I got a promotion at work."
function_call
[{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}, {"name": "analyze_sentiment", "arguments": {"text": "I am feeling very happy today because I got a promotion at work."}}]
[{"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 to be applied"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount to be applied"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "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": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2"]}}, {"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}]
[{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}, {"name": "analyze_sentiment", "arguments": {"text": "I am feeling very happy today because I got a promotion at work."}}]