human
Hi, I need to know the distance between New York and Los Angeles. And, Hi, I need to encrypt a message using the AES algorithm. The message is "Hello, World!".
function_call
[{"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}, {"name": "encrypt_text", "arguments": {"text": "Hello, World!", "algorithm": "AES"}}]
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2"]}}, {"name": "encrypt_text", "description": "Encrypt a text using a given encryption algorithm", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be encrypted"}, "algorithm": {"type": "string", "description": "The encryption algorithm to use"}}, "required": ["text", "algorithm"]}}]
[{"name": "calculate_distance", "arguments": {"location1": "New York", "location2": "Los Angeles"}}, {"name": "encrypt_text", "arguments": {"text": "Hello, World!", "algorithm": "AES"}}]