tools
stringlengths
110
1.59k
conversations
listlengths
2
4
[{"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"]}}]
[ { "from": "human", "value": "Hi, I need a QR code for my website. Can you help me with that? Sure, it's www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parameters: text i...
[{"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", "destin...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: source is of type string, destin...
[{"name": "analyze_customer_feedback", "description": "Analyze customer feedback to identify common themes", "parameters": {"type": "object", "properties": {"feedback": {"type": "array", "items": {"type": "string"}, "description": "The customer feedback to be analyzed"}}, "required": ["feedback"]}}]
[ { "from": "human", "value": "I have a list of customer feedback that I need to analyze. Can you help me with that? Here are the feedbacks - \"Great service\", \"Loved the food\", \"Service could be better\", \"Food was not up to the mark\", \"Excellent ambiance\", \"Slow service\", \"Delicious food\", \"Amb...
[{"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", "descriptio...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? The recipient's email is boss@company.com. The subject is \"Monthly Report\". The message is \"Please find attached the monthly report for your review.\". And I have a file named \"report.pdf\" to attach." }, { ...
[{"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"}},...
[ { "from": "human", "value": "I saw a jacket I liked in a store. It was originally priced at $200 but they are offering a 20% discount. Can you tell me how much it will cost after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discount to solv...
[{"name": "find_nearest_gas_station", "description": "Find the nearest gas station", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the current location"}, "longitude": {"type": "number", "description": "The longitude of the current location"}}, "required"...
[ { "from": "human", "value": "I'm running low on gas. Can you help me find the nearest gas station? I'm currently at latitude 40.7128 and longitude -74.0060." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool find_nearest_gas_station to solve this problem. This involves ...
[{"name": "get_movie_details", "description": "Get the details of a movie", "parameters": {"type": "object", "properties": {"movie_title": {"type": "string", "description": "The title of the movie"}}, "required": ["movie_title"]}}]
[ { "from": "human", "value": "Can you tell me about the movie \"Inception\"?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_movie_details to solve this problem. This involves providing the following parameters: movie_title is of type string, \", \"Action\": {\"na...
[{"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type":...
[ { "from": "human", "value": "Can you book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights. My cur...
[{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min_value": {"type": "number", "description": "The minimum value"}, "max_value": {"type": "number", "description": "The maximum value"}}, "required": ["min_value", "ma...
[ { "from": "human", "value": "Hi, I need a random number between 1 and 100." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_random_number to solve this problem. This involves providing the following parameters: min_value is of type number, max_value is of typ...
[{"name": "book_flight", "description": "Book a flight for a given destination and date", "parameters": {"type": "object", "properties": {"destination": {"type": "string", "description": "The destination of the flight"}, "date": {"type": "string", "description": "The date of the flight"}, "passengers": {"type": "intege...
[ { "from": "human", "value": "I need to book a flight to New York on 15th of next month for 2 people." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool book_flight to solve this problem. This involves providing the following parameters: destination is of type string, da...
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "description": {"type": "string", "description": "The description of the todo item"}, "due_date": {"type": "string", "format": "date...
[ { "from": "human", "value": "I need to create a new todo item. The title is \"Buy groceries\", description is \"Buy milk, eggs, and bread\", and the due date is \"2022-03-15\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_todo to solve this problem. This in...
[{"name": "calculate_tip", "description": "Calculate the tip amount", "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_per...
[ { "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": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters: bill_amoun...
[{"name": "calculate_gpa", "description": "Calculate the Grade Point Average (GPA)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "object", "properties": {"course": {"type": "string", "description": "Name of the course"}, "credit": {"type": "number", "description": "Cred...
[ { "from": "human", "value": "Hi, I need to calculate my GPA. I have the grades for my courses. Okay, here they are. I took Math with 3 credit hours and got an A. I took English with 4 credit hours and got a B. I took Science with 2 credit hours and got an A." }, { "from": "gpt", "value": "{\"Tho...
[{"name": "calculate_fibonacci_sequence", "description": "Calculate the Fibonacci sequence up to a given number", "parameters": {"type": "object", "properties": {"number": {"type": "integer", "description": "The number up to which the Fibonacci sequence will be calculated"}}, "required": ["number"]}}]
[ { "from": "human", "value": "Can you please order a pizza for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I am unable to perform external tasks like ordering a pizza. My cu...
[{"name": "get_stock_price", "description": "Get the current stock price of a given company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}]
[ { "from": "human", "value": "Hi, can you tell me the current stock price of Apple?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: company is of type string, \", \"Action\": {\"n...
[{"name": "search_books", "description": "Search for books based on a keyword", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}, "genre": {"type": "string", "description": "The genre of the books"}}, "required": ["keyword"]}}]
[ { "from": "human", "value": "I am looking for a book but I can't remember the name. I know it's a mystery novel and it has the word \"moon\" in the title." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_books to solve this problem. This involves providing the ...
[{"name": "check_spelling", "description": "Check the spelling of a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to check for spelling"}, "language": {"type": "string", "description": "The language to use for spelling check"}}, "required": ["text", "la...
[ { "from": "human", "value": "Hi, can you help me check the spelling of a sentence in French? The sentence is \"Je suis tres contant de vous rencontrer\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool check_spelling to solve this problem. This involves providing the...
[{"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 added"}}, "required": ["bill_amount...
[ { "from": "human", "value": "Hi, I need help with calculating the tip for my bill. The total bill amount is $50 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following p...
[{"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"}, "body": {"type": "string", "description":...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? The recipient's email is boss@company.com. The subject is \"Project Update\". And in the body, write \"Dear Boss, The project is on track and will be completed by the end of this week. Regards, [User's Name]\"." },...
[{"name": "search_book", "description": "Search for a book based on user's preferences", "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": ...
[ { "from": "human", "value": "Hi, I'm looking for a book but I can't remember the full title or author. I know it's a mystery novel and the title has the word \"Moon\" in it." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_book to solve this problem. This invol...
[{"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}]
[ { "from": "human", "value": "Hi, I need a new password. Can you generate one for me? I would like it to be 12 characters long." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_random_password to solve this problem. This involves providing the following parame...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly payment amount 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"}, "loan_term": {...
[ { "from": "human", "value": "Hi, I need help with calculating my loan payment. Sure, the loan amount is $50000, the annual interest rate is 5%, and the loan term is 10 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_loan_payment to solve this problem...
[{"name": "calculate_mortgage", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The total loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integ...
[ { "from": "human", "value": "Hi, I need help with calculating my mortgage payment. I have a loan amount of $200,000, an annual interest rate of 3.5%, and a loan term of 30 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_mortgage to solve this problem...
[{"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "des...
[ { "from": "human", "value": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool convert_currency to solve this problem. This involves providing the following parameters: amount is of type number, from_c...
[{"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 of the package"}}, "re...
[ { "from": "human", "value": "Hi, I need to send a package to New York. It weighs around 5 kilograms. Can you tell me how much it will cost to ship?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_shipping_cost to solve this problem. This involves providing ...
[{"name": "calculate_distance", "description": "Calculate the distance between two points", "parameters": {"type": "object", "properties": {"point1": {"type": "string", "description": "The coordinates of the first point"}, "point2": {"type": "string", "description": "The coordinates of the second point"}}, "required": ...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: point1 is of type string, point2...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill and tip percentage", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of the bill to tip"}},...
[ { "from": "human", "value": "Can you please book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with that. My current...
[{"name": "find_nearby_cafes", "description": "Find nearby cafes 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"}, "radiu...
[ { "from": "human", "value": "I'm currently at the coordinates 40.7128° N, 74.0060° W. Can you find me a cafe within a 500 meter radius?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool find_nearby_cafes to solve this problem. This involves providing the following para...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required": ["weight"...
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: weight is of t...
[{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient_email": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "desc...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? Sure, the recipient's email is boss@company.com. The subject is \"Monthly Report\" and the message is \"Dear Boss, Please find attached the monthly report for your review. Best, [Your Name]\"." }, { "from": "...
[{"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", "location...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: location1 is of type string, loc...
[{"name": "calculate_age", "description": "Calculate the age based on birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date in the format YYYY-MM-DD"}}, "required": ["birth_date"]}}]
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birth_date is of type string, \", \"A...
[{"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"}, "date": {"type": "string", "description": "The date of the event"}, "time": {"type": "string", "description": "The...
[ { "from": "human", "value": "I need to create a new event in my calendar. The title is \"Project Meeting\", the date is 15th June and the time is 10:00 AM. The location is our office conference room." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_calendar_eve...
[{"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"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}, "error_correction": {"type"...
[ { "from": "human", "value": "I need a QR code for my website. The website URL is www.mywebsite.com. I want the QR code to be 500 pixels and the error correction level to be M." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. Thi...
[{"name": "search_recipes", "description": "Search for recipes based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for in recipes"}, "max_results": {"type": "integer", "description": "The maximum number of ...
[ { "from": "human", "value": "Can you book a table for two at my favorite restaurant for tonight?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking t...
[{"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The news category"}, "country": {"type": "string", "description": "The country for news sources"}}}}]
[ { "from": "human", "value": "I want to know the latest news in technology from the United States." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_news to solve this problem. This involves providing the following parameters: category is of type string, country is ...
[{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}]
[ { "from": "human", "value": "I need to create a note for my meeting tomorrow. Let's title it \"Team Meeting\". The content should be \"Discuss project updates, assign new tasks, and review deadlines\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_note to so...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "Total bill amount"}, "tip_percentage": {"type": "number", "description": "Tip percentage to apply"}}, "required": ["bill_amount", "tip_percen...
[ { "from": "human", "value": "Hi, I need help with calculating the tip for my bill. The total amount is $50 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parame...
[{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum value of the range"}, "max": {"type": "number", "description": "The maximum value of the range"}}, "required": ["m...
[ { "from": "human", "value": "Hi, I need a random number between 1 and 100." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_random_number to solve this problem. This involves providing the following parameters: min is of type number, max is of type number, \"...
[{"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", "destin...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: origin is of type string, destin...
[{"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 tip percentage"}}, "required": ["bill_amount", "tip_p...
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill is $85 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters: bill_amount is of...
[{"name": "generate_barcode", "description": "Generate a barcode for a product", "parameters": {"type": "object", "properties": {"product_id": {"type": "string", "description": "The ID of the product"}}, "required": ["product_id"]}}]
[ { "from": "human", "value": "Hi, I need a barcode for my product. The product ID is P12345." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_barcode to solve this problem. This involves providing the following parameters: product_id is of type string, \", \"A...
[{"name": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in format 'YYYY-MM-DD'"}}, "required": ["birthdate"]}}, {"name": "generate_random_number", "description": "Generate a random num...
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Ac...
[{"name": "calculate_shipping_cost", "description": "Calculate the cost of shipping", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the package in kilograms"}, "destination": {"type": "string", "description": "The destination of the package"}}, "required": ["...
[ { "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": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_shipping_cost to solve this problem. This involves providing the follo...
[{"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"]}}, {"name": "convert_currency", "description": "Convert currency from one currency to ...
[ { "from": "human", "value": "Hi, can you tell me the current stock price of Apple?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: company is of type string, \", \"Action\": {\"n...
[{"name": "send_sms", "description": "Send an SMS message to a given phone number", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string", "description": "The phone number to send the message to"}, "message": {"type": "string", "description": "The content of the message"}}, "required": ["pho...
[ { "from": "human", "value": "I need to send a message to my friend. Can you help me with that? Sure, the phone number is 1234567890 and the message is \"Happy Birthday! Have a great day.\"" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool send_sms to solve this problem...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol"}}, "required": ["symbol"]}}]
[ { "from": "human", "value": "Hi, can you tell me the current stock price of Apple?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: symbol is of type string, \", \"Action\": {\"na...
[{"name": "create_invoice", "description": "Create an invoice for a customer", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "due_date": {"type": "string", "description": "The due date of the invoice"}, "items": {"type": "array", "items":...
[ { "from": "human", "value": "I need to create an invoice for a customer named John Doe. The due date is 2022-05-30. The items are 5 notebooks at $2 each and 3 pens at $1 each." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_invoice to solve this problem. This ...
[{"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 book a flight for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights as it's an external task. My cu...
[{"name": "check_spelling", "description": "Check the spelling of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to check the spelling of"}}, "required": ["word"]}}]
[ { "from": "human", "value": "Hi, I need help with a word. I'm not sure if I'm spelling it correctly. The word is \"accomodate\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool check_spelling to solve this problem. This involves providing the following parameters: wo...
[{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "...
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill amount is $50 and I want to leave a 20% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters: bill_amoun...
[{"name": "schedule_meeting", "description": "Schedule a meeting with participants", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the meeting"}, "participants": {"type": "array", "items": {"type": "string"}, "description": "The participants of the meeting"}, "...
[ { "from": "human", "value": "I need to schedule a meeting. The title is \"Project Update\", participants are John, Sarah and Mike. The date is 2022-05-15 and time is 10:00." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool schedule_meeting to solve this problem. This i...
[{"name": "search_movies", "description": "Search for movies based on criteria", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of the movie"}, "release_year": {"type": "integer", "description": "The release year of the movie"}, "rating": {"type": "number", "descri...
[ { "from": "human", "value": "I want to watch a movie. Can you suggest me some? I like action movies and I prefer movies released after 2010." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_movies to solve this problem. This involves providing the following par...
[{"name": "generate_qr_code", "description": "Generate a QR code for the given data", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The data to be encoded in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code"}}, "required": ["data"]}}]
[ { "from": "human", "value": "Can you please order a pizza for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to perform external tasks such as ordering a pizza. I c...
[{"name": "generate_password", "description": "Generate a random password with specified length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}, {"name": "calculate_discounted_price", "description": "Calculate the di...
[ { "from": "human", "value": "Hi, I need a new password. Can you generate one for me? I would like it to be 12 characters long." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_password to solve this problem. This involves providing the following parameters: l...
[{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price",...
[ { "from": "human", "value": "I saw a dress that I liked. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much it will cost now?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discount to solve this problem. This involves pr...
[{"name": "calculate_bmi", "description": "Calculate BMI (Body Mass Index) based on height and weight", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "we...
[ { "from": "human", "value": "Can you book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights. My cur...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given data", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The data to be encoded in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ["data"]}}...
[ { "from": "human", "value": "Hi, I need a QR code for my website. Yes, the URL is www.mywebsite.com. I think 500 pixels should be fine." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following param...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment based on loan amount, interest rate, and loan term", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual ...
[ { "from": "human", "value": "Can you book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights as it's...
[{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}, "language": {"type": "string", "description": "The language of the text"}}, "required": ["text"]}}]
[ { "from": "human", "value": "Can you analyze the sentiment of this text for me? \"I am feeling so happy today because I got a promotion at work!\"" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool analyze_sentiment to solve this problem. This involves providing the fol...
[{"name": "convert_currency", "description": "Convert currency from one to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string",...
[ { "from": "human", "value": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool convert_currency to solve this problem. This involves providing the following parameters: amount is of type number, from_c...
[{"name": "calculate_discounted_price", "description": "Calculate the discounted price of an item", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_amount": {"type": "number", "description": "The discount amount"}}, "requir...
[ { "from": "human", "value": "I saw a jacket I liked in a store. 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": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discounted_price to solve ...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment amount", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type"...
[ { "from": "human", "value": "I need to calculate my monthly loan payment. I borrowed $200,000 at an annual interest rate of 5% and my loan term is 30 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_loan_payment to solve this problem. This involves pr...
[{"name": "convert_currency", "description": "Convert currency from one unit to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from": {"type": "string", "description": "The source currency code"}, "to": {"type": "string", "descriptio...
[ { "from": "human", "value": "Hi, I need to convert 1000 USD to EUR. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool convert_currency to solve this problem. This involves providing the following parameters: amount is of type number, from is ...
[{"name": "convert_currency", "description": "Convert currency from one unit to another", "parameters": {"type": "object", "properties": {"from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}, "amount": {"type":...
[ { "from": "human", "value": "Can you please book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights....
[{"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"}, "cuisine": {"type": "string", "description": "The cuisine type, e.g. Italia...
[ { "from": "human", "value": "I have some chicken and broccoli. Can you find me a recipe?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_recipes to solve this problem. This involves providing the following parameters: ingredients is of type array, cuisine is o...
[{"name": "search_books", "description": "Search for books based on specified 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": ...
[ { "from": "human", "value": "I am looking for a book but I can't remember the exact title. I know it's a mystery novel by Agatha Christie." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_books to solve this problem. This involves providing the following parame...
[{"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape to calculate the area for (e.g. circle, rectangle, triangle)"}, "dimensions": {"type": "object", "properties": {"radius": {"type": "...
[ { "from": "human", "value": "I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_area to solve this problem. This involves providing the following parameters: shape is...
[{"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in YYYY-MM-DD format"}}, "required": ["birthdate"]}}]
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Ac...
[{"name": "create_user_account", "description": "Create a new user account", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the user"}, "email": {"type": "string", "description": "The email address of the user"}, "password": {"type": "string", "description": "The ...
[ { "from": "human", "value": "I want to create a new account. My name is John Doe, my email is johndoe@example.com, and I want my password to be \"password123\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_user_account to solve this problem. This involves p...
[{"name": "create_user", "description": "Create a new user with specified details", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username of the new user"}, "email": {"type": "string", "description": "The email of the new user"}, "password": {"type": "string", "desc...
[ { "from": "human", "value": "I want to create a new user account. Sure, I want the username to be \"JohnDoe\", the email to be \"johndoe@example.com\", and the password to be \"password123\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_user to solve this p...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given input", "parameters": {"type": "object", "properties": {"input_data": {"type": "string", "description": "The data to be encoded in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ["i...
[ { "from": "human", "value": "Hi, I need a QR code for my website. Yes, it's www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parameters: input_data is of type string, size...
[{"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"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ["text"]}}]
[ { "from": "human", "value": "I need a QR code for my website. Yes, it's www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parameters: text is of type string, size is of typ...
[{"name": "create_event", "description": "Create a new event", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "date": {"type": "string", "description": "The date of the event"}, "location": {"type": "string", "description": "The location of the even...
[ { "from": "human", "value": "I need to create an event for my birthday party. The date is 15th of next month and the location is my home." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_event to solve this problem. This involves providing the following paramet...
[{"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_date": {"type": "string", "description": "The start date of the event"}, "end_date": {"type": "string", "de...
[ { "from": "human", "value": "I need to create a new event in my calendar. The title is \"Project Meeting\", the start date is \"2022-04-01\" and the end date is \"2022-04-01\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_calendar_event to solve this proble...
[{"name": "schedule_meeting", "description": "Schedule a meeting with participants and agenda", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date of the meeting"}, "time": {"type": "string", "description": "The time of the meeting"}, "participants": {"type": "array", "i...
[ { "from": "human", "value": "Can you help me schedule a meeting for tomorrow at 2pm with John and Sarah? We need to discuss the new project. Let's name the agenda \"New Project Discussion\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool schedule_meeting to solve th...
[{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}]
[ { "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": "gpt", "value": "{\"Thought\": \"First, I need to use the tool analyze_sentiment to solve this problem. This involves providing the...
[{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}]
[ { "from": "human", "value": "I need to create a note for my meeting tomorrow. The title should be \"Team Meeting\" and the content should be \"Discuss project updates, budget allocation and next steps\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_note to ...
[{"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from": {"type": "string", "description": "The source currency code"}, "to": {"type": "string", "description": "The target...
[ { "from": "human", "value": "Can you book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but as an AI, I don't have the capability to perform ...
[{"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", "location...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles. Can you help?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: location1 is of ty...
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which to calculate the area", "enum": ["rectangle", "circle", "triangle"]}, "dimensions": {"type": "object", "properties": {"length": {"ty...
[ { "from": "human", "value": "I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_area to solve this problem. This involves providing the following parameters: shape is...
[{"name": "convert_currency", "description": "Convert currency from one unit 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":...
[ { "from": "human", "value": "Can you book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights. My cur...
[{"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 tip percentage to calculate"}}, "required": ["bill_amount",...
[ { "from": "human", "value": "Hi, I need some help with calculating the tip for my bill. The total bill is $85 and I want to give a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following para...
[{"name": "calculate_age", "description": "Calculate the age based on birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date in format YYYY-MM-DD"}}, "required": ["birth_date"]}}, {"name": "get_lyrics", "description": "Get the lyrics of a song", "par...
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birth_date is of type string, \", \"A...
[{"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"}}, "required": ["birth_date"]}}]
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birth_date is of type string, \", \"A...
[{"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"}}, "r...
[ { "from": "human", "value": "Can you please book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights ...
[{"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", "destin...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: origin is of type string, destin...
[{"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"]}}, {"name": "gen...
[ { "from": "human", "value": "Hi, I need to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: weight is of type nu...
[{"name": "calculate_area", "description": "Calculate the area of a geometric shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The geometric shape (rectangle, circle, triangle, etc.)"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "descr...
[ { "from": "human", "value": "I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_area to solve this problem. This involves providing the following parameters: shape is...
[{"name": "fetch_news", "description": "Fetch the latest news articles", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of the news articles"}}, "required": ["category"]}}]
[ { "from": "human", "value": "Hi, I would like to know the latest news in technology." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool fetch_news to solve this problem. This involves providing the following parameters: category is of type string, \", \"Action\": {\"nam...
[{"name": "get_news", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The news category (e.g. sports, technology)"}}}}]
[ { "from": "human", "value": "Hi, can you get me the latest news in technology?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_news to solve this problem. This involves providing the following parameters: category is of type string, \", \"Action\": {\"name\": \"g...
[{"name": "calculate_hypotenuse", "description": "Calculate the hypotenuse of a right-angled triangle", "parameters": {"type": "object", "properties": {"side1": {"type": "number", "description": "The length of side 1"}, "side2": {"type": "number", "description": "The length of side 2"}}, "required": ["side1", "side2"]}...
[ { "from": "human", "value": "Hi, I need help with a math problem. I have a right-angled triangle with one side measuring 3 units and the other side measuring 4 units. Can you help me find the length of the hypotenuse?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool c...
[{"name": "search_book", "description": "Search for a book", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for the book"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The genre of the bo...
[ { "from": "human", "value": "I am looking for a book but I can't remember the name. The author was J.K. Rowling and it was a fantasy book." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_book to solve this problem. This involves providing the following paramet...
[{"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The date of birth"}}, "required": ["birthdate"]}}]
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Action\"...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the stock, e.g. AAPL"}}, "required": ["symbol"]}}]
[ { "from": "human", "value": "Hi, can you tell me the current price of Apple's stock?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: symbol is of type string, \", \"Action\": {\"...
[{"name": "generate_invoice", "description": "Generate an invoice for a transaction", "parameters": {"type": "object", "properties": {"transaction_id": {"type": "string", "description": "The unique identifier of the transaction"}, "items": {"type": "array", "items": {"type": "object"}, "description": "The items include...
[ { "from": "human", "value": "I need to generate an invoice for a transaction. The transaction ID is 12345. The items are a book and a pen. The customer details are John Doe, 123 Main St, Anytown, USA." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_invoice t...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the total bill and tip percentage", "parameters": {"type": "object", "properties": {"total_bill": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required...
[ { "from": "human", "value": "Hi, I need help with calculating the tip for my bill. The total bill is $85 and I want to give a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameter...
[{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}, {"name": "calculate_emission", "...
[ { "from": "human", "value": "I need to create a note for my meeting tomorrow. The title should be \"Team Meeting\" and the content should be \"Discuss project updates, budget allocation, and team assignments.\"" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_n...
[{"name": "generate_qr_code", "description": "Generate a QR code for text or URL", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text or URL to encode"}, "size": {"type": "integer", "description": "The size of the QR code"}}, "required": ["text"]}}, {"name": "calculate_l...
[ { "from": "human", "value": "Hi, I need a QR code for my website. Yes, it's www.mywebsite.com. Let's go with a size of 500." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parameters: text ...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on bill amount and tip percentage", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required":...
[ { "from": "human", "value": "Can you please order a pizza for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to perform external tasks such as ordering a pizza. My ...