human
Hi, I was born on 1990-05-15. Can you tell me how old I am today? And, I am looking for a laptop within a price range of 500 to 1000 dollars. And, Hi, can you tell me the current price of Apple's stock? And, I need a random number between 1 and 100.
function_call
[{"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}}, {"name": "search_products", "arguments": {"keyword": "laptop", "category": "electronics", "price_range": {"min_price": 500, "max_price": 1000}}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}, {"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}]
[{"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}, {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The description of the task"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the task"}}, "required": ["task"]}}, {"name": "search_products", "description": "Search for products based on criteria", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}, "category": {"type": "string", "description": "The category of the products"}, "price_range": {"type": "object", "properties": {"min_price": {"type": "number", "description": "The minimum price"}, "max_price": {"type": "number", "description": "The maximum price"}}}}}}, {"name": "get_stock_price", "description": "Get the current price of a stock", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol"}}, "required": ["symbol"]}}, {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "integer", "description": "The minimum value of the range"}, "max": {"type": "integer", "description": "The maximum value of the range"}}, "required": ["min", "max"]}}]
[{"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}}, {"name": "search_products", "arguments": {"keyword": "laptop", "category": "electronics", "price_range": {"min_price": 500, "max_price": 1000}}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}, {"name": "generate_random_number", "arguments": {"min": 1, "max": 100}}]