human
Hi, I need help calculating my GPA. I have the grades for my courses. Okay, here they are. I took Math with 3 credit hours and got an A. I also took English with 4 credit hours and got a B. Lastly, I took Science with 3 credit hours and got an A. And, Hi, I need to track my calorie intake for today. I had a bowl of oatmeal for breakfast, a chicken salad for lunch, and a steak for dinner. Yes, the oatmeal was about 150 calories, the chicken salad was around 350 calories, and the steak was about 700 calories. And, Can you tell me about the movie "Inception"? And, Hi, I need help with calculating my mortgage payment. Sure, the total loan amount is $300,000, the annual interest rate is 3.5%, and the loan term is 30 years.
function_call
[{"name": "calculate_gpa", "arguments": {"grades": [{"course_name": "Math", "credit_hours": 3, "grade": "A"}, {"course_name": "English", "credit_hours": 4, "grade": "B"}, {"course_name": "Science", "credit_hours": 3, "grade": "A"}]}}, {"name": "track_calories", "arguments": {"food_items": ["oatmeal", "chicken salad", "steak"], "calories": 1200}}, {"name": "get_movie_details", "arguments": {"title": "Inception"}}, {"name": "calculate_mortgage", "arguments": {"loan_amount": 300000, "interest_rate": 3.5, "loan_term": 30}}]
[{"name": "calculate_gpa", "description": "Calculate the GPA (Grade Point Average)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "object", "properties": {"course_name": {"type": "string", "description": "The name of the course"}, "credit_hours": {"type": "number", "description": "The credit hours of the course"}, "grade": {"type": "string", "description": "The grade received in the course"}}, "required": ["course_name", "credit_hours", "grade"]}}}, "required": ["grades"]}}, {"name": "calculate_discount", "description": "Calculate the discounted price", "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": "track_calories", "description": "Track daily calorie intake", "parameters": {"type": "object", "properties": {"food_items": {"type": "array", "items": {"type": "string"}, "description": "The food items consumed"}, "calories": {"type": "integer", "description": "The total calories consumed"}}, "required": ["food_items", "calories"]}}, {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["title"]}}, {"name": "calculate_discount", "description": "Calculate the discount for 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", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The total amount of the loan"}, "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": "calculate_gpa", "arguments": {"grades": [{"course_name": "Math", "credit_hours": 3, "grade": "A"}, {"course_name": "English", "credit_hours": 4, "grade": "B"}, {"course_name": "Science", "credit_hours": 3, "grade": "A"}]}}, {"name": "track_calories", "arguments": {"food_items": ["oatmeal", "chicken salad", "steak"], "calories": 1200}}, {"name": "get_movie_details", "arguments": {"title": "Inception"}}, {"name": "calculate_mortgage", "arguments": {"loan_amount": 300000, "interest_rate": 3.5, "loan_term": 30}}]