human
Hi, 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 help with calculating my monthly mortgage payment. Sure, the loan amount is $200,000, the annual interest rate is 3.5%, and the loan term is 30 years. And, Hi, I need help with calculating profit percentage. I bought a product for $100 and sold it for $150. Can you help me calculate the profit percentage?
function_call
[{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "calculate_mortgage_payment", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}}, {"name": "calculate_profit", "arguments": {"cost_price": 100, "selling_price": 150}}]
[{"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage discount to be applied"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}, {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the stock"}}, "required": ["symbol"]}}, {"name": "calculate_profit", "description": "Calculate the profit percentage", "parameters": {"type": "object", "properties": {"cost_price": {"type": "number", "description": "The cost price"}, "selling_price": {"type": "number", "description": "The selling price"}}, "required": ["cost_price", "selling_price"]}}]
[{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "calculate_mortgage_payment", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}}, {"name": "calculate_profit", "arguments": {"cost_price": 100, "selling_price": 150}}]