conversations listlengths 2 22 | tools stringlengths 2 1.19k |
|---|---|
[
{
"from": "human",
"value": "I need to generate an invoice for a customer named John Doe. He bought 2 apples for $1 each and 3 oranges for $2 each."
},
{
"from": "function_call",
"value": "{\"name\": \"generate_invoice\", \"arguments\": {\"customer_name\": \"John Doe\", \"items\": [{\"name\": \"... | [{"name": "generate_invoice", "description": "Generate an invoice for a customer", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "Name of the customer"}, "items": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "Name of the item"}, "quantity": {"type": "integer", "description": "Quantity of the item"}, "price": {"type": "number", "description": "Price of the item"}}, "required": ["name", "quantity", "price"]}, "description": "List of items in the invoice"}}, "required": ["customer_name", "items"]}}] |
[
{
"from": "human",
"value": "What's the current stock price of Apple?"
},
{
"from": "function_call",
"value": "{\"name\": \"get_stock_price\", \"arguments\": {\"company\": \"Apple\"}}"
},
{
"from": "observation",
"value": "{\"stock_price\": \"$150.75\"}"
},
{
"from": "gpt",
... | [{"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}] |
[
{
"from": "human",
"value": "Hi, I need to know the distance between New York and Los Angeles."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_distance\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"Los Angeles\"}}"
},
{
"from": "observation",
"value"... | [{"name": "calculate_distance", "description": "Calculate the 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"]}}] |
[
{
"from": "human",
"value": "I am looking for a book but I can't remember the title. I know it's a mystery novel by Agatha Christie."
},
{
"from": "function_call",
"value": "{\"name\": \"search_books\", \"arguments\": {\"author\": \"Agatha Christie\", \"genre\": \"mystery\"}}"
},
{
"from... | [{"name": "search_books", "description": "Search for books based on given criteria", "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"}}}}] |
[
{
"from": "human",
"value": "Can you book a flight for me?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to assist with booking flights as it's an external task. My current capabilities are limited to checking the availability of an email address."
}
] | [{"name": "check_email_availability", "description": "Check if an email address is available", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to check"}}, "required": ["email"]}}] |
[
{
"from": "human",
"value": "Hi, I need a unique username for my new account. My name is John Doe."
},
{
"from": "function_call",
"value": "{\"name\": \"generate_username\", \"arguments\": {\"name\": \"John Doe\"}}"
},
{
"from": "observation",
"value": "{\"username\": \"JohnDoe_123\"... | [{"name": "generate_username", "description": "Generate a unique username", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name to generate a username from"}}, "required": ["name"]}}, {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which the area needs to be calculated"}, "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"}}, "required": ["length", "width", "radius"]}}, "required": ["shape", "dimensions"]}}] |
[
{
"from": "human",
"value": "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?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 100, \"discount_percentage\": 20}}"
}... | [{"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price", "discount_percentage"]}}] |
[
{
"from": "human",
"value": "Please provide the order details for a coffee using an HTML form.\nAssuming you have an HTML form with the following input fields:\n- Name\n- Coffee Type\n- Size\n- Milk Type\n- Sugar Level\nWhat would be the HTML code to complete the following sentence:\nHe ordered his coffee w... | [] |
[
{
"from": "human",
"value": "Can you analyze the sentiment of this text for me? \"I am feeling really happy today because I got a promotion at work.\""
},
{
"from": "function_call",
"value": "{\"name\": \"analyze_sentiment\", \"arguments\": {\"text\": \"I am feeling really happy today because I ... | [{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}, {"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to include in the recipes"}}, "required": ["ingredients"]}}] |
[
{
"from": "human",
"value": "Can you order a pizza for me from the nearest pizza place?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to perform external tasks such as ordering food. My current capabilities are limited to the functions provided to me. In this case, I can help you sear... | [{"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}, "dietary_restrictions": {"type": "array", "items": {"type": "string"}, "description": "Any dietary restrictions to consider"}}}}] |
[
{
"from": "human",
"value": "Can you please book a flight for me from New York to London?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to assist with that. My current capabilities are limited to calculating the area of a shape. I don't have the ability to book flights or perform othe... | [{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape type (e.g. square, rectangle, circle)"}, "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"}}, "required": ["length", "width"]}}, "required": ["shape", "dimensions"]}}] |
[
{
"from": "human",
"value": "Data format:\nYou must have [ CSV ] data type in the following Rewrite prompt\nRewrite prompt:\n# Examples of Rare Psychological Data Formats\nHere are five example rare psychological data formats and their use cases:\n1. **Format:** Binary Tree CSV\n **Use Case:** Used to repre... | [] |
[
{
"from": "human",
"value": "Hi, I need a QR code for my website. Can you help me with that?"
},
{
"from": "gpt",
"value": "Of course, I can help you with that. Could you please provide me with the URL of your website?"
},
{
"from": "human",
"value": "Sure, my website URL is www.mywe... | [{"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": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}] |
[
{
"from": "human",
"value": "Given a country, list three of its popular tourist destinations.\nIndia"
},
{
"from": "gpt",
"value": "1. Taj Mahal in Agra\n2. Jaipur, known as the “Pink City”, for its palaces and forts\n3. The beaches and backwaters of Kerala"
},
{
"from": "human",
"va... | [] |
[
{
"from": "human",
"value": "Hi, I would like to create a new account."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with your name, email address, and the password you would like to use for your new account?"
},
{
"from": "human",
"value": "M... | [{"name": "create_user_account", "description": "Create a new user account with specified details", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The user's name"}, "email": {"type": "string", "description": "The user's email address"}, "password": {"type": "string", "description": "The user's password"}}, "required": ["name", "email", "password"]}}] |
[
{
"from": "human",
"value": "What distinguishes individuals who possess extraordinary talents and abilities from ordinary living beings? Can you list examples of these individuals, categorize them based on their abilities, and provide a rationale for the classification? In addition, please identify any envi... | [] |
[
{
"from": "human",
"value": "Hi, I saw a dress that I liked in a store. It was originally priced at $200 but there's a 20% discount on it. Can you tell me how much it would cost after the discount?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_discount\", \"arguments\": {\"orig... | [{"name": "calculate_discount", "description": "Calculate the discounted price of 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 to be applied"}}, "required": ["original_price", "discount_percentage"]}}] |
[
{
"from": "human",
"value": "Can you please book a flight for me from New York to Los Angeles?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to assist with booking flights as it's an external task. My current capabilities are limited to the functions provided to me. For now, I can hel... | [{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date of the person"}}, "required": ["birth_date"]}}] |
[
{
"from": "human",
"value": "Imagine you are given the task to classify emotions into two categories: happy vs. sad. Describe two features that could help classify emotions."
},
{
"from": "gpt",
"value": "1. Facial Expressions: Facial expressions are a critical feature for emotion classification... | [] |
[
{
"from": "human",
"value": "John's garden has 50 trees in total. He has three types of trees - mango, banana, and papaya. The number of mango trees is exactly half the number of banana trees, and the number of papaya trees is equal to the sum of the number of mango trees and the number of banana trees. How... | [] |
[
{
"from": "human",
"value": "I need a new password. Can you generate a random one for me? I want it to be 12 characters long and include lowercase and uppercase letters, numbers, and special characters."
},
{
"from": "function_call",
"value": "{\"name\": \"generate_random_password\", \"arguments... | [{"name": "generate_random_password", "description": "Generate a random password with specified length and complexity", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_lowercase": {"type": "boolean", "description": "Include lowercase letters in the password"}, "include_uppercase": {"type": "boolean", "description": "Include uppercase letters in the password"}, "include_numbers": {"type": "boolean", "description": "Include numbers in the password"}, "include_special_chars": {"type": "boolean", "description": "Include special characters in the password"}}, "required": ["length"]}}] |
[
{
"from": "human",
"value": "What is the most efficient algorithm for identifying and ranking the top five most endangered species of sea turtles based on their population size, geographic distribution, and threat level? Provide the algorithmic steps and factors used in the ranking process."
},
{
"f... | [] |
[
{
"from": "human",
"value": "Hi, can you calculate the Fibonacci sequence for me?"
},
{
"from": "gpt",
"value": "Of course! How many terms of the Fibonacci sequence would you like me to calculate?"
},
{
"from": "human",
"value": "I would like to see the first 10 terms."
},
{
... | [{"name": "calculate_fibonacci_sequence", "description": "Calculate the Fibonacci sequence up to a given number of terms", "parameters": {"type": "object", "properties": {"terms": {"type": "integer", "description": "The number of terms in the Fibonacci sequence"}}, "required": ["terms"]}}] |
[
{
"from": "human",
"value": "Can you provide an Excel table showing the character limits for tweets on different social media platforms such as Twitter, Facebook, and Instagram? \nUsing that information, can you help me cut this sentence in half for a tweet without losing its essence? The original sentence ... | [] |
[
{
"from": "human",
"value": "Hi, I need help with calculating my mortgage payment."
},
{
"from": "gpt",
"value": "Of course, I can help with that. Could you please provide me with the total loan amount, the annual interest rate, and the loan term in years?"
},
{
"from": "human",
"val... | [{"name": "calculate_mortgage_payment", "description": "Calculate the monthly payment for a mortgage", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The total loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate of the mortgage"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}] |
[
{
"from": "human",
"value": "I am currently at the coordinates 40.7128 N, 74.0060 W. Can you find any places of interest within a 5 km radius?"
},
{
"from": "function_call",
"value": "{\"name\": \"find_nearby_places\", \"arguments\": {\"latitude\": 40.7128, \"longitude\": -74.006, \"radius\": 5}... | [{"name": "find_nearby_places", "description": "Find nearby places of interest", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the current location"}, "longitude": {"type": "number", "description": "The longitude of the current location"}, "radius": {"type": "integer", "description": "The radius within which to search for places"}}, "required": ["latitude", "longitude", "radius"]}}] |
[
{
"from": "human",
"value": "In order to find the equation of a line passing through the point (2, 4) and perpendicular to the line -x + y = 3 using Go code, what steps must be taken while also ensuring that the slope of the line found is greater than 3?"
},
{
"from": "gpt",
"value": "To find th... | [] |
[
{
"from": "human",
"value": "I'm currently at 123 Main Street. Can you find the nearest park to me?"
},
{
"from": "function_call",
"value": "{\"name\": \"find_nearest_park\", \"arguments\": {\"location\": \"123 Main Street\"}}"
},
{
"from": "observation",
"value": "{\"park_name\": \"... | [{"name": "find_nearest_park", "description": "Find the nearest park", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The current location"}}, "required": ["location"]}}, {"name": "calculate_distance", "description": "Calculate the 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"]}}] |
[
{
"from": "human",
"value": "Can you help me book a flight to New York?"
},
{
"from": "gpt",
"value": "I'm sorry, but I currently don't have the ability to book flights. My available function is to play a specific song or playlist. If you need any music, feel free to ask!"
}
] | [{"name": "play_music", "description": "Play a specific song or playlist", "parameters": {"type": "object", "properties": {"song": {"type": "string", "description": "The name of the song or playlist"}}, "required": ["song"]}}] |
[
{
"from": "human",
"value": "How can I create a case class in Scala to represent customer data, and then convert it to encrypted JSON that can only be accessed by authorized personnel with a complex authentication process? Additionally, could you provide an example of how this can be achieved using the Scal... | [] |
[
{
"from": "human",
"value": "Hi, I need to book a flight from New York to London on 15th of next month."
},
{
"from": "function_call",
"value": "{\"name\": \"book_flight\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"London\", \"date\": \"15th of next month\"}}"
},
{
"fr... | [{"name": "book_flight", "description": "Book a flight ticket", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin airport"}, "destination": {"type": "string", "description": "The destination airport"}, "date": {"type": "string", "description": "The date of the flight"}}, "required": ["origin", "destination", "date"]}}] |
[
{
"from": "human",
"value": "Can you provide a JSON object that contains the name of a tech company that is the sum of three prime numbers and a synonym for \"intelligence\"? Also, can you include the website of the company in the JSON object?"
},
{
"from": "gpt",
"value": "Sure, here's a JSON o... | [] |
[
{
"from": "human",
"value": "Hi, I have a list of numbers and I need to find out the average. Can you help me with that?"
},
{
"from": "gpt",
"value": "Of course, I can help you with that. Please provide me with the list of numbers."
},
{
"from": "human",
"value": "The numbers are 5,... | [{"name": "calculate_average", "description": "Calculate the average of a list of numbers", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "number"}, "description": "The list of numbers to calculate the average of"}}, "required": ["numbers"]}}] |
[
{
"from": "human",
"value": "Hey, I need to know the distance between New York and Los Angeles. Can you help?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_distance\", \"arguments\": {\"source\": \"New York\", \"destination\": \"Los Angeles\"}}"
},
{
"from": "observatio... | [{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}, {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the task"}}, "required": ["task", "due_date"]}}] |
[
{
"from": "human",
"value": "I need to set a reminder for my doctor's appointment next week."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with the exact date and time of your appointment?"
},
{
"from": "human",
"value": "Yes, it's on the 15th... | [{"name": "create_reminder", "description": "Create a reminder for a specific task", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task for which the reminder is created"}, "date": {"type": "string", "description": "The date and time for the reminder"}, "notes": {"type": "string", "description": "Additional notes for the reminder"}}, "required": ["task", "date"]}}] |
[
{
"from": "human",
"value": "I saw a jacket I liked for $200, but it's 15% off. How much would it cost after the discount?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 200, \"discount_percentage\": 15}}"
},
{
"from": "obs... | [{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage discount offered"}}, "required": ["original_price", "discount_percentage"]}}] |
[
{
"from": "human",
"value": "Hi, I need help with calculating the tip for my bill. The total bill amount is $50 and I want to give a 15% tip."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 15}}"
},
{
"from":... | [{"name": "calculate_tip", "description": "Calculate the tip amount for a given bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentage"]}}] |
[
{
"from": "human",
"value": "I need a random number between 1 and 100."
},
{
"from": "function_call",
"value": "{\"name\": \"generate_random_number\", \"arguments\": {\"min\": 1, \"max\": 100}}"
},
{
"from": "observation",
"value": "{\"result\": 42}"
},
{
"from": "gpt",
"... | [{"name": "generate_random_number", "description": "Generate a random number within a 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"]}}] |
[
{
"from": "human",
"value": "You have been given a list of five numbers: 2, 4, 6, 8, and 10. Your task is to arrange them in such a way that the sum of any two adjacent numbers in the sequence is a perfect square. There is only one correct answer. Can you find it?"
},
{
"from": "gpt",
"value": "... | [] |
[
{
"from": "human",
"value": "Can you write a function in Go that checks which sentence in a given slice of strings is a faulty comparison? The function should take in the slice as an argument and return the index of the faulty sentence (if any). Here's an example of what the function signature could look li... | [] |
[
{
"from": "human",
"value": "Hi, I would like to calculate my BMI. I weigh 70 kg and my height is 1.75 m."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_bmi\", \"arguments\": {\"weight\": 70, \"height\": 1.75}}"
},
{
"from": "observation",
"value": "{\"bmi\": 22.86}"... | [{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "height"]}}] |
[
{
"from": "human",
"value": "Which geographical feature is mentioned in this sentence?\nWe drove down the mountain pass."
},
{
"from": "gpt",
"value": "The geographical feature mentioned in this sentence is a mountain pass."
},
{
"from": "human",
"value": "Can you explain the differe... | [] |
[
{
"from": "human",
"value": "I need to create a new event in my calendar."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with the title, start time, and end time of the event?"
},
{
"from": "human",
"value": "The title is \"Project Meeting\", t... | [{"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event"}, "end_time": {"type": "string", "description": "The end time of the event"}}, "required": ["title", "start_time", "end_time"]}}, {"name": "calculate_age", "description": "Calculate the age based on date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth"}}, "required": ["date_of_birth"]}}] |
[
{
"from": "human",
"value": "Hi, I need to calculate the average of these numbers: 5, 10, 15, 20, 25."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_average\", \"arguments\": {\"numbers\": [5, 10, 15, 20, 25]}}"
},
{
"from": "observation",
"value": "{\"average\": 15}... | [{"name": "calculate_average", "description": "Calculate the average of a given list of numbers", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "number"}, "description": "The list of numbers"}}, "required": ["numbers"]}}] |
[
{
"from": "human",
"value": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_age\", \"arguments\": {\"date_of_birth\": \"1990-05-15\"}}"
},
{
"from": "observation",
"value": "{\"age\": 31}"
},
{
... | [{"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", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "height"]}}] |
[
{
"from": "human",
"value": "I need to schedule a meeting for tomorrow."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with the title of the meeting, and the start and end times?"
},
{
"from": "human",
"value": "The meeting is titled \"Project ... | [{"name": "create_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event"}, "end_time": {"type": "string", "description": "The end time of the event"}}, "required": ["title", "start_time", "end_time"]}}, {"name": "get_random_number", "description": "Get 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"]}}] |
[
{
"from": "human",
"value": "Hi, I need a QR code for my website."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with the URL of your website?"
},
{
"from": "human",
"value": "Yes, it's www.mywebsite.com."
},
{
"from": "function_call",
... | [{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encode in the QR code"}}, "required": ["text"]}}] |
[
{
"from": "human",
"value": "Hi, I need to know the distance between New York and Los Angeles."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_distance\", \"arguments\": {\"start_location\": \"New York\", \"end_location\": \"Los Angeles\"}}"
},
{
"from": "observation",
... | [{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_location", "end_location"]}}] |
[
{
"from": "human",
"value": "Hi, I'm looking for a good action movie to watch. Can you suggest something?"
},
{
"from": "gpt",
"value": "Sure, I can help with that. Do you have a specific year or rating in mind?"
},
{
"from": "human",
"value": "I would prefer something recent, maybe ... | [{"name": "search_movie", "description": "Search for a movie by title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The title or genre to search for"}, "year": {"type": "integer", "description": "The release year of the movie"}, "rating": {"type": "number", "description": "The minimum rating of the movie"}}, "required": ["query"]}}] |
[
{
"from": "human",
"value": "I need to schedule a meeting for tomorrow at 10 AM. Can you help me with that?"
},
{
"from": "gpt",
"value": "Of course, I can help you with that. Could you please provide me with the title of the meeting and the location?"
},
{
"from": "human",
"value": ... | [{"name": "create_calendar_event", "description": "Create a new event in the user's calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "date": {"type": "string", "format": "date", "description": "The date of the event"}, "time": {"type": "string", "format": "time", "description": "The time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "date", "time"]}}] |
[
{
"from": "human",
"value": "Can you enhance the code snippet to handle not only floating-point values and decimal points but also complex numbers? Additionally, can you expand the capability of the solution to allow input of multiple pairs of integers and store their sums in a table format? Furthermore, ca... | [] |
[
{
"from": "human",
"value": "Hi, can you tell me the current stock price of Apple?"
},
{
"from": "function_call",
"value": "{\"name\": \"get_stock_price\", \"arguments\": {\"symbol\": \"AAPL\"}}"
},
{
"from": "observation",
"value": "{\"price\": 150.75}"
},
{
"from": "gpt",
... | [{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}] |
[
{
"from": "human",
"value": "How can I revise this story to gradually reveal the identity of the grandchild and end with a dramatic revelation that the grandchild is actually the old woman's long-lost daughter? Here are the sentences given:\n1. The old woman was content with her life.\n2. She was able to re... | [] |
[
{
"from": "human",
"value": "Given a paragraph of text in English, output the part of speech tag labels for each word, including proper nouns, gerunds, participles, and infinitives. The tag labels include N (common noun), NP (proper noun), V (verb), VBG (gerund), VBN (past participle), VBZ (third person sin... | [] |
[
{
"from": "human",
"value": "You find yourself in a room with two doors. One door is guarded by a truth-telling guard and the other by a guard who only speaks in riddles. The doors are labeled with symbols instead of words, and you need to choose the correct one to escape. \nThe truth-telling guard will onl... | [] |
[
{
"from": "human",
"value": "What is the definition of the word 'serendipity'?"
},
{
"from": "function_call",
"value": "{\"name\": \"get_definition\", \"arguments\": {\"word\": \"serendipity\"}}"
},
{
"from": "observation",
"value": "{\"definition\": \"Serendipity is the occurrence a... | [{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get definition for"}}}}] |
[
{
"from": "human",
"value": "Develop a sophisticated and comprehensive system for classifying and organizing documents based on their content, taking into account a wide range of factors such as language, tone, subject matter, and relevance to various fields or industries. This system should be flexible eno... | [] |
[
{
"from": "human",
"value": "How can we utilize the latest AI algorithms to promote eco-friendly practices in the energy industry? Can you provide examples of technologies such as smart grids and intelligent energy management systems that implement machine learning algorithms to optimize energy consumption ... | [] |
[
{
"from": "human",
"value": "Can you order a pizza for me?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My current capabilities are limited to the functions provided to me. In this case, I can help calculate your Body Mass Index (BMI) ... | [{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "height"]}}] |
[
{
"from": "human",
"value": "I need to create a new todo item."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with the description of the task and the due date?"
},
{
"from": "human",
"value": "The task is to prepare a presentation for the annu... | [{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The description of the todo task"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the task"}}, "required": ["task", "due_date"]}}, {"name": "create_user", "description": "Create a new user", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username of the user"}, "password": {"type": "string", "description": "The password of the user"}, "email": {"type": "string", "format": "email", "description": "The email address of the user"}}, "required": ["username", "password", "email"]}}] |
[
{
"from": "human",
"value": "Can you please order a pizza for me?"
},
{
"from": "gpt",
"value": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as ordering a pizza. My current function only allows me to count the number of words in a given text."
}
] | [{"name": "count_words", "description": "Count the number of words in a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to count the words in"}}, "required": ["text"]}}] |
[
{
"from": "human",
"value": "Hi, I need some help with a loan I'm considering."
},
{
"from": "gpt",
"value": "Of course, I'd be happy to help. Could you please provide me with the amount of the loan, the annual interest rate, and the length of the loan term in months?"
},
{
"from": "huma... | [{"name": "calculate_loan_payment", "description": "Calculate the monthly payment for a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate on the loan"}, "loan_term": {"type": "integer", "description": "The length of the loan term in months"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}, {"name": "create_invoice", "description": "Create an invoice with specified details", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "item_list": {"type": "array", "items": {"type": "string"}, "description": "The list of items in the invoice"}, "total_amount": {"type": "number", "description": "The total amount of the invoice"}}, "required": ["customer_name", "item_list", "total_amount"]}}] |
[
{
"from": "human",
"value": "Identify the next number in the following sequence:\n2, 6, 14, 30, 62, ___\nHint: The answer is a three-digit number."
},
{
"from": "gpt",
"value": "The next number in the sequence is 126. \nTo get the next number, you need to multiply the previous number by 2 and th... | [] |
[
{
"from": "human",
"value": "Hi, I need a QR code for my website."
},
{
"from": "gpt",
"value": "Sure, I can help with that. Could you please provide me with the URL of your website?"
},
{
"from": "human",
"value": "Yes, it's www.mywebsite.com."
},
{
"from": "function_call",
... | [{"name": "generate_qr_code", "description": "Generate a QR code", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The data to be encoded in the QR code"}}, "required": ["data"]}}, {"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}] |
[
{
"from": "human",
"value": "In a given sentence, how can I utilize R to identify positive synonyms for a particular word, and ensure that the replacements adhere to a desirable connotation? For instance, if the sentence is \"My mom did not brush her teeth before sleeping as a habit\", how can I search for ... | [] |
[
{
"from": "human",
"value": "I am looking for some books to read. Can you help me find some?"
},
{
"from": "gpt",
"value": "Of course! Could you please provide me with some keywords or topics you are interested in?"
},
{
"from": "human",
"value": "I am interested in science fiction a... | [{"name": "search_books", "description": "Search for books based on specified keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for in the books"}}, "required": ["keywords"]}}] |
[
{
"from": "human",
"value": "Construct an analogy that compares the terms \"class\" and \"object\" in object-oriented programming.\nData format:\nYou must have [Java code] data type in the following Rewrite prompt\nRewrite prompt:\nAn object is an instance of a class in Java. Just like how a servant is an i... | [] |
[
{
"from": "human",
"value": "Can you rearrange the given words to form a haiku? \nWhispering wind blows,\nLeaf dances in the morning light,\nMoon fades, day begins."
},
{
"from": "gpt",
"value": "Whispering wind blows,\nLeaf dances in morning light,\nMoon fades, day begins."
},
{
"from":... | [] |
[
{
"from": "human",
"value": "I need to send an email to my boss. Can you help me with that?"
},
{
"from": "gpt",
"value": "Of course, I can help you with that. Could you please provide me with the recipient's email address, the subject of the email, and the message you want to send?"
},
{
... | [{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "description": "The body of the email message"}}, "required": ["recipient", "subject", "message"]}}] |
[
{
"from": "human",
"value": "Hi, I need to know the distance between New York and Los Angeles."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_distance\", \"arguments\": {\"source\": \"New York\", \"destination\": \"Los Angeles\"}}"
},
{
"from": "observation",
"value"... | [{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}] |
[
{
"from": "human",
"value": "Can you give an example of a Go program that generates a random Japanese comfort food? \nHere's a sample code:\npackage main\nimport (\n \"fmt\"\n \"math/rand\"\n \"time\"\n)\nvar comfortFoods = []string{\"Ramen\", \"Yakitori\", \"Okonomiyaki\", \"Mochi\", \"Curry Rice\", \"Soba... | [] |
[
{
"from": "human",
"value": "Can you decipher the encoded message hidden in the initial letters of each sentence of this text? The puzzle refers to a widely recognized novel, which has been adapted into various blockbuster movies and TV series. The narrative centers around a band of atypical protagonists, w... | [] |
[
{
"from": "human",
"value": "Hi, I need a new password. Can you generate one for me?"
},
{
"from": "gpt",
"value": "Of course! Could you please specify the length and the complexity level (strong, medium, weak) for the password?"
},
{
"from": "human",
"value": "I would like a strong ... | [{"name": "generate_password", "description": "Generate a random password with specified length and complexity", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "complexity": {"type": "string", "description": "The complexity level of the password (strong, medium, weak)"}}, "required": ["length", "complexity"]}}, {"name": "search_restaurant", "description": "Search for a restaurant", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location for restaurant search"}, "cuisine": {"type": "string", "description": "The cuisine for restaurant search"}}, "required": ["location"]}}] |
[
{
"from": "human",
"value": "I need a random number between 1 and 100."
},
{
"from": "function_call",
"value": "{\"name\": \"generate_random_number\", \"arguments\": {\"min\": 1, \"max\": 100}}"
},
{
"from": "observation",
"value": "{\"result\": 42}"
},
{
"from": "gpt",
"... | [{"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"]}}] |
[
{
"from": "human",
"value": "I'm in the mood for a movie. Can you recommend something?"
},
{
"from": "gpt",
"value": "Of course! Could you please tell me your preferred genre and if you have a minimum rating in mind?"
},
{
"from": "human",
"value": "I love action movies. And I prefer... | [{"name": "get_movie_recommendations", "description": "Get movie recommendations based on user preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred movie genre"}, "rating": {"type": "number", "description": "The minimum rating for recommended movies"}}, "required": ["genre"]}}] |
[
{
"from": "human",
"value": "Generate a list of five common idioms related to animals."
},
{
"from": "gpt",
"value": "1. \"The cat's out of the bag\" - meaning a secret has been revealed\n2. \"Let the cat out of the bag\" - meaning to reveal a secret\n3. \"A bird in the hand is worth two in the ... | [] |
[
{
"from": "human",
"value": "I am in New York and I am craving for Italian food. Can you find any Italian restaurants within 5 miles?"
},
{
"from": "function_call",
"value": "{\"name\": \"find_nearby_restaurants\", \"arguments\": {\"location\": \"New York\", \"cuisine\": \"Italian\", \"max_dista... | [{"name": "find_nearby_restaurants", "description": "Find nearby restaurants based on location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The current location"}, "cuisine": {"type": "string", "description": "The cuisine type to filter the restaurants"}, "max_distance": {"type": "number", "description": "The maximum distance in miles"}}, "required": ["location", "cuisine", "max_distance"]}}] |
[
{
"from": "human",
"value": "Develop an algorithm to find the maximum number in a list of integers that is sorted in ascending order and contains no duplicates. Additionally, the algorithm must be able to handle lists containing up to 10,000,000 integers within a time complexity of O(log n). The algorithm m... | [] |
[
{
"from": "human",
"value": "In Scala, how can I modify the following formula to both extract and remove all numerical digits from a given paragraph that contains information about a conference that takes place over a period of six days?\nFormula: \nval paragraph = \"Lorem ipsum dolor sit amet, consectetur ... | [] |
[
{
"from": "human",
"value": "I need a new password. Can you generate one for me?"
},
{
"from": "gpt",
"value": "Of course! How long would you like your password to be? And would you like it to include numbers and symbols?"
},
{
"from": "human",
"value": "I want it to be 12 characters... | [{"name": "generate_random_password", "description": "Generate a random password of given length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_numbers": {"type": "boolean", "description": "Include numbers in the password"}, "include_symbols": {"type": "boolean", "description": "Include symbols in the password"}}, "required": ["length"]}}] |
[
{
"from": "human",
"value": "Hi, I need to know the distance between New York and Los Angeles."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_distance\", \"arguments\": {\"source\": \"New York\", \"destination\": \"Los Angeles\"}}"
},
{
"from": "observation",
"value"... | [{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "The source location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["source", "destination"]}}, {"name": "create_invoice", "description": "Create an invoice for a customer", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "amount": {"type": "number", "description": "The total amount of the invoice"}}, "required": ["customer_name", "amount"]}}] |
[
{
"from": "human",
"value": "Hi, I need to convert 500 USD to Euros. Can you help me with that?"
},
{
"from": "function_call",
"value": "{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 500, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}}"
},
{
"from": "observation",
... | [{"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to be converted from"}, "to_currency": {"type": "string", "description": "The currency to be converted to"}}, "required": ["amount", "from_currency", "to_currency"]}}] |
[
{
"from": "human",
"value": "I saw a dress that I liked. It was originally priced at $100 but it's on a 20% discount. Can you tell me how much it will cost after the discount?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 100, \"d... | [{"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage of discount to be applied"}}, "required": ["original_price", "discount_percentage"]}}] |
[
{
"from": "human",
"value": "I am looking for a book but I can't remember the title. The author's name is George Orwell."
},
{
"from": "function_call",
"value": "{\"name\": \"search_books\", \"arguments\": {\"query\": \"\", \"author\": \"George Orwell\"}}"
},
{
"from": "observation",
... | [{"name": "search_books", "description": "Search for books based on a given query", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for books"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The genre of the book"}}, "required": ["query"]}}] |
[
{
"from": "human",
"value": "Search the web for articles related to the topic provided."
},
{
"from": "gpt",
"value": "Sorry, please provide a topic for me to search for."
},
{
"from": "human",
"value": "Can you explain the concept of quantum computing?"
},
{
"from": "gpt",
... | [] |
[
{
"from": "human",
"value": "Hi, I need help with calculating a tip. My bill amount is $50 and I want to leave a 15% tip."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 15}}"
},
{
"from": "observation",
... | [{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on height and weight", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in centimeters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}] |
[
{
"from": "human",
"value": "I need a new password. Can you generate one for me?"
},
{
"from": "gpt",
"value": "Sure, I can help with that. How long would you like the password to be?"
},
{
"from": "human",
"value": "Make it 12 characters long."
},
{
"from": "gpt",
"value... | [{"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_numbers": {"type": "boolean", "description": "Whether to include numbers in the password"}, "include_special_characters": {"type": "boolean", "description": "Whether to include special characters in the password"}}, "required": ["length"]}}] |
[
{
"from": "human",
"value": "How can I generate a random title for a story about a family's journey to a beach town using Python code? Can you provide some sample code to help me get started?"
},
{
"from": "gpt",
"value": "Yes, I can help you with that. Here's a sample code in Python that genera... | [] |
[
{
"from": "human",
"value": "Can you provide an analysis of the major themes present in Oedipus Rex by Sophocles? Please use [ Latex ] data format to present your response."
},
{
"from": "gpt",
"value": "Certainly! Oedipus Rex by Sophocles is a tragedy that explores several major themes. \nOne o... | [] |
[
{
"from": "human",
"value": "Hi, I need help with calculating a tip. My bill amount is $50 and I want to give a 20% tip."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20}}"
},
{
"from": "observation",
"... | [{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to give"}}, "required": ["bill_amount", "tip_percentage"]}}] |
[
{
"from": "human",
"value": "Delete the adjective 'bustling' from the following sentence and rewrite it.\nThe bustling city of Tokyo was awe-inspiring."
},
{
"from": "gpt",
"value": "The city of Tokyo was awe-inspiring."
},
{
"from": "human",
"value": "Can you give me an example of a... | [] |
[
{
"from": "human",
"value": "Convert the number in Fahrenheit to Celsius.\n210"
},
{
"from": "gpt",
"value": "The temperature in Celsius would be 98.89°C. \n\nTo convert Fahrenheit to Celsius, use the formula: \n\nCelsius = (Fahrenheit - 32) x 5/9 \n\nPlugging in 210 for Fahrenheit gives us: \n\... | [] |
[
{
"from": "human",
"value": "Can you create a function in Swift that returns a string containing a biographical sketch of Nikola Tesla?\nHere's some information to include in the sketch:\nNikola Tesla was born on July 10, 1856, in Smiljan, Croatia. He was an inventor, electrical engineer, mechanical enginee... | [] |
[
{
"from": "human",
"value": "Hi, I need to ship a package to New York. It weighs about 5 kilograms. Can you tell me how much it will cost?"
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_shipping_cost\", \"arguments\": {\"weight\": 5, \"destination\": \"New York\"}}"
},
{
... | [{"name": "calculate_shipping_cost", "description": "Calculate the shipping cost for a package", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the package in kilograms"}, "destination": {"type": "string", "description": "The destination address"}}, "required": ["weight", "destination"]}}] |
[
{
"from": "human",
"value": "Hi, I need to know the distance between New York and Los Angeles."
},
{
"from": "function_call",
"value": "{\"name\": \"calculate_distance\", \"arguments\": {\"location1\": \"New York\", \"location2\": \"Los Angeles\"}}"
},
{
"from": "observation",
"value... | [{"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"]}}] |
[
{
"from": "human",
"value": "Can you please book a flight for me?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to assist with that. My current capabilities are limited to the functions provided to me, and booking a flight is an external task that I don't have a function for. However,... | [{"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"]}}] |
[
{
"from": "human",
"value": "Hi, I need help with calculating the tip for my bill."
},
{
"from": "gpt",
"value": "Of course, I can help with that. Could you please provide me with the total bill amount and the percentage of tip you want to give?"
},
{
"from": "human",
"value": "The t... | [{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentage"]}}] |
[
{
"from": "human",
"value": "Can you please book a flight for me from New York to London?"
},
{
"from": "gpt",
"value": "I'm sorry, but I'm unable to assist with booking flights. My current capabilities are limited to generating invoices for customers. If you need help with that, feel free to as... | [{"name": "generate_invoice", "description": "Generate an invoice for a customer", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "items": {"type": "array", "items": {"type": "object", "properties": {"item_name": {"type": "string", "description": "The name of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}, "price": {"type": "number", "description": "The price per unit of the item"}}, "required": ["item_name", "quantity", "price"]}}}, "required": ["customer_name", "items"]}}] |
[
{
"from": "human",
"value": "I want to buy a new laptop. Can you help me with that?"
},
{
"from": "gpt",
"value": "Of course, I can help you with that. Could you please tell me the quantity and the shipping address?"
},
{
"from": "human",
"value": "I need one laptop and please ship i... | [{"name": "buy_product", "description": "Buy a product from an online store", "parameters": {"type": "object", "properties": {"product_name": {"type": "string", "description": "The name of the product"}, "quantity": {"type": "integer", "description": "The quantity of the product to buy"}, "shipping_address": {"type": "string", "description": "The shipping address"}}, "required": ["product_name", "quantity", "shipping_address"]}}] |
[
{
"from": "human",
"value": "Identify what color a banana would most likely be associated with."
},
{
"from": "gpt",
"value": "Yellow\n ."
},
{
"from": "human",
"value": "Can you explain why bananas turn brown?"
},
{
"from": "gpt",
"value": "Bananas turn brown due to a pr... | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.