human
Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters. And, Hi, I need to convert 1000 USD to EUR. Can you help me with that? And, I'm feeling hungry. Can you find me the nearest restaurant? Sure, my latitude is 40.7128 and longitude is -74.0060. And, Hi, I was born on 1990-05-15. Can you tell me how old I am?
function_call
[{"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}, {"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "find_nearest_restaurant", "arguments": {"latitude": 40.7128, "longitude": -74.006}}, {"name": "calculate_age", "arguments": {"date_of_birth": "1990-05-15"}}]
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "Weight in kilograms"}, "height": {"type": "number", "description": "Height in meters"}}, "required": ["weight", "height"]}}, {"name": "search_books", "description": "Search for books based on given parameters", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The genre of the book"}}}}, {"name": "convert_currency", "description": "Convert currency from one to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}}, "required": ["amount", "from_currency", "to_currency"]}}, {"name": "translate_text", "description": "Translate text from one language to another", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be translated"}, "source_language": {"type": "string", "description": "The source language of the text"}, "target_language": {"type": "string", "description": "The target language for translation"}}, "required": ["text", "source_language", "target_language"]}}, {"name": "find_nearest_restaurant", "description": "Find the nearest restaurant based on user's location", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the user's location"}, "longitude": {"type": "number", "description": "The longitude of the user's location"}}, "required": ["latitude", "longitude"]}}, {"name": "calculate_age", "description": "Calculate the age based on date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "format": "date", "description": "The date of birth"}}, "required": ["date_of_birth"]}}]
[{"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}, {"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "find_nearest_restaurant", "arguments": {"latitude": 40.7128, "longitude": -74.006}}, {"name": "calculate_age", "arguments": {"date_of_birth": "1990-05-15"}}]