human
I am in New York and I am craving for some Italian food. Can you suggest some restaurants? And, I saw a dress that I liked. It was originally priced at $100 but it's on a 20% discount. How much will it cost now? And, Hi, I want to know the latest news in sports. And, Hi, I need a QR code for my website. Can you help? Sure, it's www.mywebsite.com.
function_call
[{"name": "search_restaurants", "arguments": {"location": "New York", "cuisine": "Italian"}}, {"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "get_news", "arguments": {"category": "sports"}}, {"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}]
[{"name": "search_restaurants", "description": "Search for restaurants based on location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the restaurant"}, "cuisine": {"type": "string", "description": "The cuisine type to filter the restaurants"}}, "required": ["location"]}}, {"name": "calculate_discount", "description": "Calculate the discount on 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 on the product"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "get_news", "description": "Get latest news updates", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news, e.g. sports, politics, entertainment"}}, "required": ["category"]}}, {"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be encoded in the QR code"}}, "required": ["text"]}}]
[{"name": "search_restaurants", "arguments": {"location": "New York", "cuisine": "Italian"}}, {"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}}, {"name": "get_news", "arguments": {"category": "sports"}}, {"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}]