tools
stringlengths
110
1.59k
conversations
listlengths
2
4
[{"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 convert from (e.g. USD, EUR)"}, "to_currency": {"...
[ { "from": "human", "value": "Hi, I need to convert 100 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_curr...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text or URL", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The text or URL to encode in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ...
[ { "from": "human", "value": "Hi, I need a QR code for my website. Yes, it's www.mywebsite.com. Let's go with 500 pixels." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parameters: data is ...
[{"name": "create_calendar_event", "description": "Create a new calendar event", "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", "descripti...
[ { "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 like ordering a pizza. My cur...
[{"name": "search_restaurants", "description": "Search for restaurants based on location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the restaurants"}, "cuisine": {"type": "string", "description": "The desired cuisine"}}, "required": ["loc...
[ { "from": "human", "value": "I'm in New York and I'm craving for some Italian food. Can you help me find a restaurant?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_restaurants to solve this problem. This involves providing the following parameters: location...
[{"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"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", ...
[ { "from": "human", "value": "Can you tell me the current stock price of AAPL?" }, { "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\":...
[{"name": "get_news", "description": "Get the latest news articles", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news articles to retrieve"}}, "required": ["category"]}}, {"name": "get_news", "description": "Get the latest news from a specific category"...
[ { "from": "human", "value": "Can you get me the latest news on 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\": \"get_n...
[{"name": "calculate_tax", "description": "Calculate the tax amount based on income and tax rate", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_r...
[ { "from": "human", "value": "Hi, I need help with calculating my tax. My income is $50000 and the tax rate is 20%." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tax to solve this problem. This involves providing the following parameters: income is of type...
[{"name": "calculate_discount", "description": "Calculate the discount amount for a sale", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "require...
[ { "from": "human", "value": "I saw a dress that I liked in a store. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much I will save?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discount to solve this problem. This invol...
[{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "The country for which the headlines are required"}}, "required": ["country"]}}, {"name": "create_note", "description": "Create a new note", "param...
[ { "from": "human", "value": "Can you tell me the latest news headlines for the United States?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_news_headlines to solve this problem. This involves providing the following parameters: country is of type string, \", \"...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text for which the QR code needs to be generated"}}, "required": ["text"]}}, {"name": "search_books", "description": "Search for books", "par...
[ { "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: text is of type string, \", \"Acti...
[{"name": "search_books", "description": "Search for books based on a given query", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query to find books"}, "genre": {"type": "string", "description": "The genre of books to filter the search results"}, "author": {"typ...
[ { "from": "human", "value": "I am looking for a mystery book. Can you help me find one? I don't have a specific author in mind. But I would like to read a book by Agatha Christie." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_books to solve this problem. Thi...
[{"name": "search_recipes", "description": "Search for recipes based on user's preferences", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "Keywords related to recipe name or ingredients"}, "cuisine": {"type": "string", "description": "The cuis...
[ { "from": "human", "value": "I'm looking for a vegan Italian recipe. Can you help me find one?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_recipes to solve this problem. This involves providing the following parameters: keywords is of type array, cuisine i...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the tip...
[ { "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 20% 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": "search_music", "description": "Search for music based on a keyword", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}, "artist": {"type": "string", "description": "The artist of the music"}, "genre": {"type": "string", "description": "T...
[ { "from": "human", "value": "Hey, I am looking for some music to listen to. Can you help me find some? I am interested in pop music by Taylor Swift." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_music to solve this problem. This involves providing the follow...
[{"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_symbols": {"type": "boolean", "description": "Include symbols in the password"}}, "required": ["length"]}}]
[ { "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 as an AI, I don't have the capability to perform external tasks su...
[{"name": "analyze_sentiment", "description": "Analyze sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}]
[ { "from": "human", "value": "Hi, I have written a review for a restaurant. Can you analyze the sentiment of my review? Here it is - \"The food was absolutely delicious, and the service was impeccable. However, the noise level was a bit too high for my liking.\"" }, { "from": "gpt", "value": "{\"...
[{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for books"}, "author": {"type": "string", "description": "The author of books to search for"}}, "required": ["query"]}}]
[ { "from": "human", "value": "I am looking for a book but I can't remember the exact title. It's something about a mockingbird." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_books to solve this problem. This involves providing the following parameters: query ...
[{"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": "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: text is of type string, size is of...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"stock_symbol": {"type": "string", "description": "The symbol of the stock, e.g. AAPL"}}, "required": ["stock_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: stock_symbol is of type string, \", \"Action\...
[{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition of"}}, "required": ["word"]}}]
[ { "from": "human", "value": "What is the definition of the word 'serendipity'?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_definition to solve this problem. This involves providing the following parameters: word is of type string, \", \"Action\": {\"name\": \...
[{"name": "generate_random_password", "description": "Generate a random password with specified parameters", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_numbers": {"type": "boolean", "description": "Include numbers in the password"...
[ { "from": "human", "value": "I need a new password. Can you generate one for me? I would like it to be 12 characters long and yes, include both numbers and symbols." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_random_password to solve this problem. This i...
[{"name": "calculate_age_difference", "description": "Calculate the age difference between two individuals", "parameters": {"type": "object", "properties": {"person1_birth_date": {"type": "string", "description": "The birth date of the first person in YYYY-MM-DD format"}, "person2_birth_date": {"type": "string", "descr...
[ { "from": "human", "value": "Hi, I want to know the age difference between my brother and me. My birth date is 1990-05-12 and my brother's birth date is 1995-08-20." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_age_difference to solve this problem. This i...
[{"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 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": "convert_currency", "description": "Convert currency from one type to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount of currency to convert"}, "from": {"type": "string", "description": "The original currency type"}, "to": {"type": "string", "d...
[ { "from": "human", "value": "Hi, I need to convert 500 US dollars 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, ...
[{"name": "get_movie_info", "description": "Get information about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["title", "year"]}}]
[ { "from": "human", "value": "Can you tell me about the movie \"Inception\" released in 2010?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_movie_info to solve this problem. This involves providing the following parameters: title is of type string, year is of ty...
[{"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": "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": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discount to solve this problem. This involves providing the foll...
[{"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": "str...
[ { "from": "human", "value": "Hi, I need to convert 1000 US dollars 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,...
[{"name": "get_news", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The news category"}}}}, {"name": "generate_qr_code", "description": "Generate a QR code for a given data", "parameters": {"type": "object", "properties": {...
[ { "from": "human", "value": "Hi, can you get me the latest news on 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": "create_user", "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 password...
[ { "from": "human", "value": "I want to create a new account. My name is John Doe, my email is johndoe@email.com and my password is password123." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_user to solve this problem. This involves providing the following pa...
[{"name": "create_contact", "description": "Create a new contact", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the contact"}, "phone": {"type": "string", "description": "The phone number of the contact"}, "email": {"type": "string", "description": "The email ad...
[ { "from": "human", "value": "I need to create a new contact for my friend John Doe. His phone number is 123-456-7890 and his email is johndoe@example.com." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_contact to solve this problem. This involves providing th...
[{"name": "create_user", "description": "Create a new user", "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 password for the...
[ { "from": "human", "value": "I would like to create a new user account. The name is John Doe, email is johndoe@example.com and password is johndoe123." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_user to solve this problem. This involves providing the follo...
[{"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 there's a 20% discount. Can you tell me how much it would cost after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discount to solve this pr...
[{"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}, {"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "param...
[ { "from": "human", "value": "Hi, I need a new password. Can you generate a random 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 followi...
[{"name": "play_music", "description": "Play music based on given genre or artist", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of the music"}, "artist": {"type": "string", "description": "The artist of the music"}}, "required": []}}, {"name": "create_calendar_e...
[ { "from": "human", "value": "I want to listen to some music. I like pop music." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool play_music to solve this problem. This involves providing the following parameters: genre is of type string, artist is of type string, \", \...
[{"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 meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height",...
[ { "from": "human", "value": "Can you 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 like ordering a pizza. My current ca...
[{"name": "calculate_square_root", "description": "Calculate the square root of a number", "parameters": {"type": "object", "properties": {"number": {"type": "number", "description": "The number for which the square root needs to be calculated"}}, "required": ["number"]}}]
[ { "from": "human", "value": "Hi, I need to find the square root of 144. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_square_root to solve this problem. This involves providing the following parameters: number is of type number,...
[{"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 be applied"}}, "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 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": "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": "Hi, I need a new password. Can you generate a random 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 para...
[{"name": "track_sleep", "description": "Track and analyze user's sleep patterns", "parameters": {"type": "object", "properties": {"sleep_duration": {"type": "integer", "description": "The duration of sleep in hours"}, "quality_of_sleep": {"type": "string", "description": "The quality of sleep (e.g., good, fair, poor)"...
[ { "from": "human", "value": "Hi, I would like to track my sleep. I slept for 7 hours. The quality was good and the environment was comfortable." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool track_sleep to solve this problem. This involves providing the following pa...
[{"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": "Include numbers in the password"}, "include_symbols": {"type": "b...
[ { "from": "human", "value": "I need a new password. Can you generate one for me? I want it to be 12 characters long and yes, include both numbers and symbols." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_password to solve this problem. This involves provi...
[{"name": "calculate_sales_tax", "description": "Calculate the sales tax for a purchase", "parameters": {"type": "object", "properties": {"purchase_amount": {"type": "number", "description": "The total purchase amount"}, "tax_rate": {"type": "number", "description": "The tax rate as a percentage"}}, "required": ["purch...
[ { "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 as an AI, I don't have the capability to b...
[{"name": "calculate_mortgage", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "...
[ { "from": "human", "value": "Hi, I need help with calculating my mortgage payment. Sure, the loan amount is $350,000, the annual interest rate is 3.5%, and the loan term is 30 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_mortgage to solve this pro...
[{"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": "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 ...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight",...
[ { "from": "human", "value": "Can you please book a flight for me from New York to Los Angeles?" }, { "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 cu...
[{"name": "search_recipe", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to be used in the recipe"}}, "required": ["ingredients"]}}]
[ { "from": "human", "value": "Can you book a flight for me from New York to Los Angeles?" }, { "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. M...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the 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...
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill 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_amount is of...
[{"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": "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": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in the format YYYY-MM-DD"}}, "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": "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 meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height",...
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I am 1.75 meters tall and weigh 70 kilograms." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: height is of type n...
[{"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_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 of discount"}}, "required": ["o...
[ { "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 as an AI, I don't have the capability to perform external tasks su...
[{"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_digits": {"type": "boolean", "description": "Include digits in the password"}, "include_special_characters": {"...
[ { "from": "human", "value": "I need a new password. Can you generate one for me? I want it to be 12 characters long, with digits but no special characters." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_password to solve this problem. This involves providin...
[{"name": "get_movie_details", "description": "Get 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": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["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: title is of type string, year is of type integer, \"...
[{"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": "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": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition of"}}, "required": ["word"]}}]
[ { "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 don't have the ability to perform external tasks like ordering a...
[{"name": "get_song_recommendations", "description": "Get song recommendations based on user preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred genre of music"}, "mood": {"type": "string", "description": "The preferred mood or theme of songs"}}}}]
[ { "from": "human", "value": "I'm in the mood for some music. Can you recommend some songs? I like pop music and I'm feeling quite happy." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_song_recommendations to solve this problem. This involves providing the follow...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on bill total and percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the tip"}}, "re...
[ { "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": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "int...
[ { "from": "human", "value": "Hi, I need some help with my mortgage calculations. Sure, the loan amount is $200,000, the annual interest rate is 3.5%, and the loan term is 30 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_mortgage_payment to solve th...
[{"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"]}}, {"name": "generate_random_number", "description": "Generate a random number within a specified...
[ { "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": "generate_password", "description": "Generate a secure random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "Length of the password"}, "include_symbols": {"type": "boolean", "description": "Include symbols in the password"}, "include_numbers": {"type":...
[ { "from": "human", "value": "I need a new password. Can you generate one for me? I would like it to be 12 characters long and yes, include both symbols and numbers." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_password to solve this problem. This involves...
[{"name": "get_definition", "description": "Get definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get definition for"}}, "required": ["word"]}}]
[ { "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 like ordering a pizza. I can ...
[{"name": "find_nearby_places", "description": "Find nearby places of interest", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The current location"}, "radius": {"type": "integer", "description": "The radius to search within"}, "category": {"type": "string", "description...
[ { "from": "human", "value": "Hi, I am currently in New York and I am looking for some interesting places to visit within a 10 km radius. Can you help me find some? Yes, I am interested in visiting museums." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool find_nearby_p...
[{"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": "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_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": "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 ...
[{"name": "convert_currency", "description": "Convert an amount from 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 convert from"}, "to_currency": {"t...
[ { "from": "human", "value": "Hi, I need to convert 500 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_cu...
[{"name": "calculate_sum", "description": "Calculate the sum of two numbers", "parameters": {"type": "object", "properties": {"num1": {"type": "number", "description": "The first number"}, "num2": {"type": "number", "description": "The second number"}}, "required": ["num1", "num2"]}}]
[ { "from": "human", "value": "Hi, I need help with a calculation. I need to find the sum of 45 and 67." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_sum to solve this problem. This involves providing the following parameters: num1 is of type number, num2 i...
[{"name": "search_books", "description": "Search for books based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "Keywords to search for"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "st...
[ { "from": "human", "value": "I am looking for a mystery book 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 parameters: keywords is of type array, author is of type string,...
[{"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"}}, "required": ["numbers"]}}]
[ { "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 as an AI, I don't have the capability to b...
[{"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...
[ { "from": "human", "value": "Hi, I need help with calculating the tip for my bill. The total amount is $50 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 paramet...
[{"name": "create_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", "fo...
[ { "from": "human", "value": "Can you 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 can't assist with that. My current capabilities allow me to create even...
[{"name": "create_user", "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 password...
[ { "from": "human", "value": "I want to create a new account. My name is John Doe, email is johndoe@example.com and password is password123." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_user to solve this problem. This involves providing the following parame...
[{"name": "play_music", "description": "Play music based on user's preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of music to play"}, "mood": {"type": "string", "description": "The mood of the music"}}, "required": ["genre"]}}]
[ { "from": "human", "value": "I'm in the mood for some music. Can you play something for me? I'm in the mood for some jazz." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool play_music to solve this problem. This involves providing the following parameters: genre is of ...
[{"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 \"Project Update\". And the message is \"Dear Boss, I have completed the project as per the given deadline. I will present it in tomorrow's meeting. Regards, ...
[{"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"}}, "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": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape (e.g. circle, triangle, square)"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of ...
[ { "from": "human", "value": "I need to calculate the area of a rectangle. The length is 5 and the width is 3." }, { "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 of type stri...
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The starting location"}, "destination": {"type": "string", "description": "The destination location"}}, "required": ["origin", "dest...
[ { "from": "human", "value": "Can you 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 like ordering a pizza. My current ca...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}, {"name": "get...
[ { "from": "human", "value": "Hi, I need to calculate my BMI. My height is 1.75 meters and I weigh 70 kilograms." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: height is of type nu...
[{"name": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage 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...
[ { "from": "human", "value": "Hi, I need help with calculating my mortgage payment. Sure, the loan amount is $300,000, the annual interest rate is 0.04, and the loan term is 30 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_mortgage_payment to solve ...
[{"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": "Hi, I have written a review for a book. Can you analyze the sentiment of my review? Here it is - \"The book was a delightful read. The author's storytelling ability is truly remarkable. However, the ending was a bit predictable.\"" }, { "from": "gpt", "value": "{\"Th...
[{"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The list of ingredients to search for"}}, "required": ["ingredients"]}}]
[ { "from": "human", "value": "I have some chicken, broccoli, and cheese. What can I make with these?" }, { "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, \...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"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 a tip. My bill total 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_total ...
[{"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": "Can you help me book a flight to New York?" }, { "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 book flights. My cu...
[{"name": "calculate_gross_salary", "description": "Calculate the gross salary based on hourly wage and hours worked", "parameters": {"type": "object", "properties": {"hourly_wage": {"type": "number", "description": "The hourly wage"}, "hours_worked": {"type": "number", "description": "The number of hours worked"}}, "r...
[ { "from": "human", "value": "Hi, I need to calculate my gross salary. I earn $15 per hour and I worked for 40 hours this week." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_gross_salary to solve this problem. This involves providing the following paramete...
[{"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": "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": "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 Agenda\". I want to discuss the new project proposal, team assignments and upcoming deadlines." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool create_note to s...
[{"name": "search_restaurants", "description": "Search for restaurants based on location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the restaurant"}, "cuisine": {"type": "string", "description": "The cuisine type"}}, "required": ["locatio...
[ { "from": "human", "value": "Can you book a flight for me to New York?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I don't have the ability to book flights. My current function...
[{"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}, {"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"t...
[ { "from": "human", "value": "Hi, I need a new password. Can you generate a random 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 followi...
[{"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 kg 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 num...
[{"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": "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 am unable to assist with booking flights...
[{"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": "sea...
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I weigh 75 kilograms and my height is 1.8 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 ty...
[{"name": "identify_plants", "description": "Identify plants based on an image", "parameters": {"type": "object", "properties": {"image_url": {"type": "string", "description": "The URL of the image containing the plant"}}, "required": ["image_url"]}}]
[ { "from": "human", "value": "Hi, I found this plant in my backyard and I have no idea what it is. Can you help me identify it? Here is the image URL: www.example.com/plant.jpg" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool identify_plants to solve this problem. This...
[{"name": "search_books", "description": "Search for books based on a given query", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}, "author": {"type": "string", "description": "The author's name"}, "genre": {"type": "string", "description": "The genre of t...
[ { "from": "human", "value": "I am looking for a mystery book 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 parameters: query is of type string, author is of type string, g...
[{"name": "generate_barcode", "description": "Generate a barcode for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encode in the barcode"}}, "required": ["text"]}}, {"name": "get_definition", "description": "Get the definition of a word", "paramete...
[ { "from": "human", "value": "Hi, I need a barcode for the text \"Hello World\"." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_barcode to solve this problem. This involves providing the following parameters: text is of type string, \", \"Action\": {\"name\"...
[{"name": "calculate_discount", "description": "Calculate the discount on a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required"...
[ { "from": "human", "value": "I saw a jacket 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 I'll have to pay after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_discount to solv...
[{"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 know 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 n...
[{"name": "search_restaurant", "description": "Search for a restaurant by name or cuisine", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the restaurant"}, "cuisine": {"type": "string", "description": "The cuisine type"}}}}, {"name": "calculate_profit", "descript...
[ { "from": "human", "value": "I'm in the mood for Italian food. Can you recommend a restaurant?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_restaurant to solve this problem. This involves providing the following parameters: name is of type string, cuisine i...
[{"name": "calculate_age", "description": "Calculate the age based on a birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in the format YYYY-MM-DD"}}, "required": ["birthdate"]}}]
[ { "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 as an AI, I don't have the capability to p...
[{"name": "generate_random_number", "description": "Generate a random number within a range", "parameters": {"type": "object", "properties": {"min": {"type": "integer", "description": "Minimum value of the range"}, "max": {"type": "integer", "description": "Maximum value of the range"}}, "required": ["min", "max"]}}]
[ { "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 integer, max is of type integer, ...
[{"name": "get_news", "description": "Get the latest news articles", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news (e.g. technology, sports)"}, "country": {"type": "string", "description": "The country for which the news should be retrieved"}}, "requ...
[ { "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 as an AI, I don't have the capability to b...