human
Hi, I need help with calculating the interest on my investment. Sure, the principal amount is $5000, the annual interest rate is 5%, and the time period is 3 years. And, Hi, I saw a dress that I liked in a store. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much I will save?
function_call
[{"name": "calculate_interest", "arguments": {"principal": 5000, "rate": 5, "time": 3}}, {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}]
[{"name": "calculate_interest", "description": "Calculate the interest earned on an investment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount"}, "rate": {"type": "number", "description": "The annual interest rate"}, "time": {"type": "number", "description": "The time period in years"}}, "required": ["principal", "rate", "time"]}}, {"name": "calculate_discount", "description": "Calculate the discount amount 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 percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}]
[{"name": "calculate_interest", "arguments": {"principal": 5000, "rate": 5, "time": 3}}, {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}]