human
Hi, I need help with calculating the tip for my bill. The total bill amount is $100 and I want to give a 15% tip. And, Hi, I need help calculating my GPA. I have grades and credit hours for each course. Okay, here they are. My grades are [4, 3.7, 3.3, 4, 3.7] and the credit hours are [3, 3, 4, 3, 2]. And, Hi, I need help with calculating my tax. My income is $50000 and the tax rate is 20%.
function_call
[{"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}, {"name": "calculate_gpa", "arguments": {"grades": [4, 3.7, 3.3, 4, 3.7], "credit_hours": [3, 3, 4, 3, 2]}}, {"name": "calculate_tax", "arguments": {"income": 50000, "tax_rate": 20}}]
[{"name": "calculate_tip", "description": "Calculate the tip amount for a given bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name": "calculate_gpa", "description": "Calculate Grade Point Average (GPA)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "number"}, "description": "The grades achieved in different courses"}, "credit_hours": {"type": "array", "items": {"type": "number"}, "description": "The credit hours of each course"}}, "required": ["grades", "credit_hours"]}}, {"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}]
[{"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}, {"name": "calculate_gpa", "arguments": {"grades": [4, 3.7, 3.3, 4, 3.7], "credit_hours": [3, 3, 4, 3, 2]}}, {"name": "calculate_tax", "arguments": {"income": 50000, "tax_rate": 20}}]