human
Hi, I saw a dress that I liked in a store. It was originally priced at $200 but there's a 20% discount on it. Can you tell me how much it will cost after the discount? And, I need to create a new todo item. The title is "Buy groceries", the due date is "2022-05-15", and the priority is "high". And, Hi, I need help with calculating my profit. My total revenue was $50000 and my expenses were $20000. And, I have a list of social media posts that I want to analyze. Can you help me with that? Here are the posts: ["I love this product!", "This is the worst service ever.", "I'm so happy with my purchase.", "I will never buy from this company again.", "Best customer service!"]
function_call
[{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "create_todo", "arguments": {"title": "Buy groceries", "due_date": "2022-05-15", "priority": "high"}}, {"name": "calculate_profit", "arguments": {"revenue": 50000, "expenses": 20000}}, {"name": "analyze_social_media_sentiment", "arguments": {"posts": ["I love this product!", "This is the worst service ever.", "I'm so happy with my purchase.", "I will never buy from this company again.", "Best customer service!"]}}]
[{"name": "calculate_discount", "description": "Calculate the discounted price", "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": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the todo item"}, "priority": {"type": "string", "enum": ["high", "medium", "low"], "description": "The priority of the todo item"}}, "required": ["title", "due_date", "priority"]}}, {"name": "calculate_profit", "description": "Calculate the profit based on revenue and expenses", "parameters": {"type": "object", "properties": {"revenue": {"type": "number", "description": "The total revenue"}, "expenses": {"type": "number", "description": "The total expenses"}}, "required": ["revenue", "expenses"]}}, {"name": "get_lyrics", "description": "Get the lyrics of a song", "parameters": {"type": "object", "properties": {"song_name": {"type": "string", "description": "The name of the song"}, "artist": {"type": "string", "description": "The name of the artist"}}, "required": ["song_name", "artist"]}}, {"name": "analyze_social_media_sentiment", "description": "Analyze the sentiment of social media posts", "parameters": {"type": "object", "properties": {"posts": {"type": "array", "items": {"type": "string"}, "description": "Social media posts to be analyzed"}}, "required": ["posts"]}}, {"name": "generate_qr_code", "description": "Generate a QR code for a given data", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The data to encode in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ["data", "size"]}}]
[{"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "create_todo", "arguments": {"title": "Buy groceries", "due_date": "2022-05-15", "priority": "high"}}, {"name": "calculate_profit", "arguments": {"revenue": 50000, "expenses": 20000}}, {"name": "analyze_social_media_sentiment", "arguments": {"posts": ["I love this product!", "This is the worst service ever.", "I'm so happy with my purchase.", "I will never buy from this company again.", "Best customer service!"]}}]