human
Hey, I need a QR code for my website. Can you generate it? Sure, it's www.mywebsite.com. And, Hi, I saw a dress that I really liked. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much it would cost after the discount? And, Hi, I need to know the distance between New York and Los Angeles.
function_call
[{"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}, {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}]
[{"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": "calculate_discount", "description": "Calculate the discounted price of an item", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}, {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "enum": ["rectangle", "circle", "triangle"], "description": "The shape to calculate the area for"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the shape"}, "width": {"type": "number", "description": "The width of the shape"}, "radius": {"type": "number", "description": "The radius of the shape"}, "base": {"type": "number", "description": "The base of the shape"}, "height": {"type": "number", "description": "The height of the shape"}}, "required": ["length", "width", "radius", "base", "height"], "dependencies": {"shape": ["rectangle", "circle", "triangle"], "length": ["rectangle"], "width": ["rectangle"], "radius": ["circle"], "base": ["triangle"], "height": ["triangle"]}}}, "required": ["shape", "dimensions"]}}, {"name": "calculate_distance", "description": "Calculate distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "destination"]}}]
[{"name": "generate_qr_code", "arguments": {"text": "www.mywebsite.com"}}, {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}}, {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}}]