human
I saw a dress that I liked. It was originally priced at $100 but there's a 20% discount. Can you tell me how much it will cost after the discount? And, Hi, I need some help with my loan calculations. Sure, the principal amount is $50000, the annual interest rate is 5% and the loan term is 60 months.
function_call
[{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "calculate_loan_payment", "arguments": {"principal": 50000, "interest_rate": 5, "loan_term": 60}}]
[{"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 percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "search_news", "description": "Search for news articles based on user's criteria", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for in news articles"}, "source": {"type": "string", "description": "The source of the news articles"}, "language": {"type": "string", "description": "The language of the news articles"}}}}, {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The loan principal amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in months"}}, "required": ["principal", "interest_rate", "loan_term"]}}]
[{"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "calculate_loan_payment", "arguments": {"principal": 50000, "interest_rate": 5, "loan_term": 60}}]