human
Hi, I need a new password. Can you generate a random one for me? I would like it to be 12 characters long. And, Hi, I need help calculating my GPA. I have grades for five courses. They are 85, 90, 78, 92, and 88.
function_call
[{"name": "generate_random_password", "arguments": {"length": 12}}, {"name": "calculate_gpa", "arguments": {"grades": [85, 90, 78, 92, 88]}}]
[{"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}, {"name": "calculate_gpa", "description": "Calculate the Grade Point Average", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "number"}, "description": "The grades obtained in different courses"}}, "required": ["grades"]}}]
[{"name": "generate_random_password", "arguments": {"length": 12}}, {"name": "calculate_gpa", "arguments": {"grades": [85, 90, 78, 92, 88]}}]