tools
stringlengths
117
1.13k
conversations
listlengths
2
4
[{"name": "get_news", "description": "Get the latest news articles", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news articles"}, "country": {"type": "string", "description": "The country for news articles"}}, "required": ["category"]}}]
[ { "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": "generate_random_password", "description": "Generate a random password of specified length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}]
[ { "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 generate ra...
[{"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": "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 can't assist with that. My current capabilities allow me to send...
[{"name": "encrypt_text", "description": "Encrypt a text using a specific algorithm", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encrypt"}, "algorithm": {"type": "string", "description": "The encryption algorithm to use"}}, "required": ["text", "algorithm"]}}]
[ { "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 cap...
[{"name": "generate_password_strength", "description": "Generate a password strength report", "parameters": {"type": "object", "properties": {"password": {"type": "string", "description": "The password to check"}}, "required": ["password"]}}, {"name": "convert_currency", "description": "Convert amount from one currency...
[ { "from": "human", "value": "Hi, I just created a new password. Can you check how strong it is? The password is \"password123\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to evaluate the strength of the provided password, so I can call generate_password_strength and pass the password...
[{"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The annual income in USD"}, "deductions": {"type": "number", "description": "The total deductions in USD"}}, "required": ["income", "deductions"]}}]
[ { "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_profit_margin", "description": "Calculate the profit margin based on cost price and selling price", "parameters": {"type": "object", "properties": {"cost_price": {"type": "number", "description": "The cost price"}, "selling_price": {"type": "number", "description": "The selling price"}}, "required"...
[ { "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 don't have the capability to book flight...
[{"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\": \"I need to convert the currency amount from USD to EUR, so I can call convert_currency and pass the amount, from_currency, and to_currency as arguments.\...
[{"name": "create_new_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 pass...
[ { "from": "human", "value": "I want to create a new account. My name is John Doe, my email is johndoe@example.com, and my password is password123." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new user account, so I can call create_new_user and pass the name, email, and passw...
[{"name": "track_calories", "description": "Track calories consumed and burned", "parameters": {"type": "object", "properties": {"consumed": {"type": "number", "description": "The number of calories consumed"}, "burned": {"type": "number", "description": "The number of calories burned"}, "date": {"type": "string", "for...
[ { "from": "human", "value": "Hi, I would like to track my calories for today. I consumed 2000 calories and burned 500." }, { "from": "gpt", "value": "{\"Thought\": \"To track daily calorie intake and expenditure, I will use track_calories with consumed, burned, and date as arguments.\", \"Action...
[{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be paid"}}, "required": ["bill_amount", "tip_per...
[ { "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 don't have the capability to book flights. My current function allows m...
[{"name": "calculate_rectangle_area", "description": "Calculate the area of a rectangle", "parameters": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}}, "required": ["length", "width"]...
[ { "from": "human", "value": "Hi, I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units." }, { "from": "gpt", "value": "{\"Thought\": \"To find the area of the rectangle, I need to calculate it using the provided length and width values by calling calculate_...
[{"name": "create_user", "description": "Create a new user", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username of the user"}, "password": {"type": "string", "description": "The password of the user"}, "email": {"type": "string", "format": "email", "description":...
[ { "from": "human", "value": "I want to create a new user account. The username is JohnDoe, password is JD1234, and email is johndoe@example.com." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new user account, so I can call create_user and pass the username, password, and emai...
[{"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 the bill to tip"}}, "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\": \"I need to determine the tip amount, so I can call calculate_tip with the bill amount and tip percentage as arguments.\", \"Acti...
[{"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 a random one for me? I would like it to be 12 characters long." }, { "from": "gpt", "value": "{\"Thought\": \"A new password needs to be generated, so I can call generate_random_password and pass the length of 12 as an argu...
[{"name": "get_stock_price", "description": "Get the current price of a stock", "parameters": {"type": "object", "properties": {"stock_symbol": {"type": "string", "description": "The symbol of the stock"}}, "required": ["stock_symbol"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two...
[ { "from": "human", "value": "Hi, can you tell me the current price of Apple's stock?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to check the current price of Apple's stock, so I can call get_stock_price and pass the stock symbol AAPL as an argument.\", \"Action\": {\"name\": \"get_sto...
[{"name": "calculate_discount", "description": "Calculate the discount amount", "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 bought a dress for $200 and it had a 20% discount. How much did I save?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the discount amount on the dress, so I can call calculate_discount and pass the original price and discount percentage as argu...
[{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news (e.g. sports, politics, entertainment)"}}, "required": []}}]
[ { "from": "human", "value": "Hi, can you get me the latest sports news?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to get the latest sports headlines, so I can call get_news_headlines and pass \\\"sports\\\" as the category.\", \"Action\": {\"name\": \"get_news_headlines\", \"argument...
[{"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}]
[ { "from": "human", "value": "What's the current stock price of Apple?" }, { "from": "gpt", "value": "{\"Thought\": \"To get the most current stock price of Apple, I need to call get_stock_price and pass \\\"Apple\\\" as the company.\", \"Action\": {\"name\": \"get_stock_price\", \"arguments\": {...
[{"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 the books to search for"}}}}]
[ { "from": "human", "value": "I am looking for books by J.K. Rowling." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find books by J.K. Rowling, so I can call search_books and pass the author name as an argument.\", \"Action\": {\"name\": \"search_books\", \"arguments\": {\"author\": \"...
[{"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\": \"I need to find the current stock price of Apple, so I can call get_stock_price and pass \\\"Apple\\\" as the argument.\", \"Action\": {\"name\": \"get_stock_price\", ...
[{"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"}, "to_currency": {"type": "string",...
[ { "from": "human", "value": "Hi, I need to convert 500 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"To obtain the current exchange rate and convert the specified amount from USD to EUR, I will use the convert_currency tool.\", \"Action\": {\"name\": \"c...
[{"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": "con...
[ { "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\": \"I need to find the BMI value of the person using the given weight and height, so I will use the calculate_bmi tool with these param...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to give"}}, "required": ["bill_amount", "...
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 20% tip." }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the appropriate tip amount based on the bill, so I can call calculate_tip and pass bill_amount and tip_percentage ...
[{"name": "search_movie", "description": "Search for a movie by title", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}]
[ { "from": "human", "value": "Hi, can you help me find a movie? Yes, I am looking for the movie \"Inception\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to retrieve information about the movie \\\"Inception,\\\" so I can call search_movie and pass the title as an argument.\", \"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 does the word 'serendipity' mean?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the definition of the word \\\"serendipity,\\\" so I can call get_definition and pass \\\"serendipity\\\" as an argument.\", \"Action\": {\"name\": \"get_definition\"...
[{"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 to filter the rec...
[ { "from": "human", "value": "I have some chicken, tomatoes and garlic. Can you find me a recipe?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find a recipe using the provided ingredients, so I can call search_recipes and pass chicken, tomatoes, and garlic as arguments.\", \"Action\":...
[{"name": "calculate_discount", "description": "Calculate the discount amount", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "Original price"}, "discount_percentage": {"type": "number", "description": "Discount percentage"}}, "required": ["original_price", "discoun...
[ { "from": "human", "value": "I bought a dress for $100 and there's a 20% discount on it. How much discount will I get?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the discount amount for the dress, so I can call calculate_discount and pass the original price and discount p...
[{"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}]
[ { "from": "human", "value": "Hey, can you tell me the current stock price of Apple?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the current stock price of Apple, so I can call get_stock_price and pass the company name as an argument.\", \"Action\": {\"name\": \"get_stock_price\...
[{"name": "calculate_interest", "description": "Calculate the interest earned on an investment", "parameters": {"type": "object", "properties": {"principal_amount": {"type": "number", "description": "The principal amount of the investment"}, "interest_rate": {"type": "number", "description": "The interest rate in perce...
[ { "from": "human", "value": "Hi, I need to calculate the interest I will earn on my investment. I have invested $5000 at an interest rate of 5% for 3 years. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the interest earned on the investment, so I c...
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}, "unit": {"type": "string"...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles in miles." }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the distance between two cities, so I can call calculate_distance with \\\"New York\\\" and \\\"Los Angeles\\\" as arguments....
[{"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", "description": ...
[ { "from": "human", "value": "I need to create a new todo item. The title is \"Buy groceries\", description is \"Buy milk, eggs, and bread\", due date is \"2022-03-15\", and priority is \"High\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new todo item, so I can call create...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text or URL", "parameters": {"type": "object", "properties": {"content": {"type": "string", "description": "The text or URL to generate the QR code for"}, "size": {"type": "integer", "description": "The size of the QR code"}}, "required": ["co...
[ { "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\": \"I need to generate a QR code for the given website URL, so I can call generate_qr_code and pass the URL and size as arguments...
[{"name": "convert_currency", "description": "Convert currency from one denomination 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": ...
[ { "from": "human", "value": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert an amount from one currency to another, so I can call convert_currency and pass the amount along with the source and target currencies...
[{"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": "Hi, I need to send an email to my friend. Can you help me with that? The recipient's email is john.doe@example.com, the subject is \"Party Invitation\", and the body is \"Hi John, I am throwing a party this weekend. Would love for you to join. Regards, Alex\"." }, { "fro...
[{"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": "Hi, I need to send an email to my friend. Can you help me with that? Sure, the recipient's email is john.doe@example.com. The subject is \"Meeting Schedule\" and the message is \"Hi John, Let's meet tomorrow at 10 AM. Regards, Alex\"." }, { "from": "gpt", "value": "{...
[{"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 create a calendar event for me? Sure, the title is \"Project Meeting\", start time is \"2022-04-01T10:00:00\", end time is \"2022-04-01T11:00:00\", and the location is \"Conference Room 1\"." }, { "from": "gpt", "value": "{\"Thought\": \"To schedule a meeting...
[{"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": "Can you please order a pizza for me from the nearest pizza place?" }, { "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...
[{"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 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 not able to book flights. My current ...
[{"name": "create_calendar_event", "description": "Create a new calendar event", "parameters": {"type": "object", "properties": {"event_name": {"type": "string", "description": "The name/title of the event"}, "start_time": {"type": "string", "description": "The start time of the event"}, "end_time": {"type": "string", ...
[ { "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": "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_tip", "description": "Calculate the tip amount for ...
[ { "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\": \"I need to generate a new password, so I can call generate_password and pass the desired length as an argument.\", \"Action...
[{"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\": \"I need to find the distance between New York and Los Angeles, so I can call calculate_distance and pass origin and destination as arguments.\", \"Action\"...
[{"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}, {"name": "play_song", "description": "Play a song by providing the song name", "parameters": ...
[ { "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\": \"The user requested a new password, so I can call generate_password and pass the desired length as an argument.\", \"Action...
[{"name": "calculate_age", "description": "Calculate age based on date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth (YYYY-MM-DD)"}}, "required": ["date_of_birth"]}}]
[ { "from": "human", "value": "Hi, can you tell me how old someone born on 1990-05-15 would be today?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the current age of the person, so I can call calculate_age and pass the date of birth as an argument.\", \"Action\": {\"name\": \"calc...
[{"name": "generate_random_number", "description": "Generate a random number within a 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": ["min", "max"...
[ { "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": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount in dollars"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "...
[ { "from": "human", "value": "Hi, I need some 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\": \"I need to calculate the monthly loan payment, so I can call calculate...
[{"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\": \"I need to determine the distance between New York and Los Angeles, so I can call calculate_distance and pass the cities as arguments.\", \"Action\": {\"na...
[{"name": "calculate_bmi", "description": "Calculate 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 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 such as o...
[{"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"search_query": {"type": "string", "description": "The title or genre to search for"}}}}]
[ { "from": "human", "value": "Can you find me some action movies?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find action movies, so I can call search_movies and pass \\\"action\\\" as the search query.\", \"Action\": {\"name\": \"search_movies\", \"arguments\": {\"search_query\": \"...
[{"name": "get_news", "description": "Get the latest news articles", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "entertainment", "health", "science", "sports", "technology"], "description": "Category of news articles to retrieve"}, "country": {"type": "string", "...
[ { "from": "human", "value": "Hi, I would like to know the latest news in technology from the US." }, { "from": "gpt", "value": "{\"Thought\": \"I need to fetch the latest technology news from the US, so I can call get_news with the appropriate category and country as arguments.\", \"Action\": {\...
[{"name": "get_stock_price", "description": "Get the current stock price of a specific 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 Inc.?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to retrieve the current stock price for Apple Inc., so I can call get_stock_price and pass the company name as an argument.\", \"Action\": {\"name\": \"ge...
[{"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\": \"I need to determine the current age of the person based on their birthdate, so I can call calculate_age and pass the birthdate as an argument.\", \"Action...
[{"name": "generate_barcode", "description": "Generate a barcode for a given code", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "The code to generate barcode for"}}, "required": ["code"]}}]
[ { "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": "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": "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 I don't have the capability to book flights. My current func...
[{"name": "search_restaurants", "description": "Search for restaurants based on location, cuisine, or price range", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location of the restaurant"}, "cuisine": {"type": "string", "description": "The cuisine type"}, "price_ra...
[ { "from": "human", "value": "I am looking for a restaurant in New York. I prefer Italian cuisine and my budget is moderate." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find suitable Italian restaurants in New York that fit a moderate budget, so I can call search_restaurants and pass...
[{"name": "analyze_customer_feedback", "description": "Analyze customer feedback and identify common issues", "parameters": {"type": "object", "properties": {"feedback": {"type": "array", "items": {"type": "string"}, "description": "The list of customer feedback"}, "keywords": {"type": "array", "items": {"type": "strin...
[ { "from": "human", "value": "I have a list of customer feedback. Can you help me analyze it and identify common issues? Sure, here is the feedback: [\"The app crashes frequently\", \"The user interface is not intuitive\", \"The payment process is too complicated\", \"The app crashes when I try to make a pay...
[{"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\": \"I need to calculate the distance between New York and Los Angeles, so I will call calculate_distance and pass those locations as arguments.\", \"Action\":...
[{"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 some help with calculating my mortgage payment. 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\": \"I need to calculate the monthly mortgage payment, so I can ca...
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which area needs to be calculated"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The leng...
[ { "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 cap...
[{"name": "search_movies", "description": "Search for movies based on a keyword", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for movies"}, "year": {"type": "integer", "description": "The release year of the movies"}, "genre": {"type": "string", "d...
[ { "from": "human", "value": "Hey, I am looking for some good movies to watch. Can you help me with that? I am interested in action movies from the year 2019." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find action movies from the year 2019, so I can call search_movies and pass the k...
[{"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 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\": \"I need to determine the tip amount, so I can call calculate_tip and pass the bill amount and tip percentage as arguments.\", \"...
[{"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 1000 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert the amount from USD to EUR, so I can call convert_currency and pass the relevant amount and currencies as arguments.\", \"Action\": {\...
[{"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news (e.g. sports, entertainment)"}, "country": {"type": "string", "description": "The country for news coverage"}}}}]
[ { "from": "human", "value": "I want to know the latest sports news in the United States." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the latest sports news in the United States, so I can call get_news and pass category as sports and country as United States as arguments.\", \"A...
[{"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\": \"I need to calculate the distance between New York and Los Angeles, so I can call calculate_distance and pass the required cities as arguments.\", \"Action...
[{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "integer", "description": "The minimum value of the range"}, "max": {"type": "integer", "description": "The maximum value of the range"}}, "required": [...
[ { "from": "human", "value": "I need a random number between 1 and 100." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a random number within a specific range, so I can call the generate_random_number tool with min and max values.\", \"Action\": {\"name\": \"generate_random_num...
[{"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 to be ...
[ { "from": "human", "value": "Hi, I saw a dress that 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...
[{"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event (YYYY-MM-DD HH:MM)"}, "end_time": {"t...
[ { "from": "human", "value": "I need to schedule a meeting with my team. Can you help me with that? The meeting is titled \"Project Discussion\". It will start at 2022-04-15 10:00 and end at 2022-04-15 12:00. The location is Conference Room 1." }, { "from": "gpt", "value": "{\"Thought\": \"I need...
[{"name": "create_user_account", "description": "Create a new user account", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username for the account"}, "email": {"type": "string", "description": "The email address for the account"}, "password": {"type": "string", "des...
[ { "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 book flights as it's an ext...
[{"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 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_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\": \"I need to get the current stock price of Apple, so I can call get_stock_price and pass the symbol \\\"AAPL\\\" as an argument.\", \"Action\": {\"name\": \"get_stock_p...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to generate a QR code for"}}, "required": ["text"]}}]
[ { "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_bmi", "description": "Calculate the Body Mass Index", "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", "hei...
[ { "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\": \"To accurately determine the BMI value by using the weight and height provided.\", \"Action\": {\"name\": \"calculate_bmi\", \"argum...
[{"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_loca...
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the distance between New York and Los Angeles, so I can call calculate_distance and pass both locations as arguments.\", \"Action\": {...
[{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price"}, "discount": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price", "discount"...
[ { "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 not able to perform external tasks like ordering a pizza. I can assis...
[{"name": "generate_fibonacci_sequence", "description": "Generate a Fibonacci sequence up to a specified number", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "The maximum value in the sequence"}}, "required": ["limit"]}}, {"name": "generate_qr_code", "description": "Gener...
[ { "from": "human", "value": "Hi, I need a Fibonacci sequence up to 20." }, { "from": "gpt", "value": "{\"Thought\": \"To generate the Fibonacci sequence up to a specified limit, I will use the generate_fibonacci_sequence tool.\", \"Action\": {\"name\": \"generate_fibonacci_sequence\", \"argument...
[{"name": "convert_currency", "description": "Convert currency from one unit 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": "str...
[ { "from": "human", "value": "Hi, I need to convert 500 US dollars to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the conversion rate from USD to EUR, so I can call convert_currency and pass the amount and currencies as arguments.\", \"Action\":...
[{"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The name of the company"}}, "required": ["company_name"]}}, {"name": "calculate_tip", "description": "Calculate the tip amount for a ...
[ { "from": "human", "value": "Hi, can you tell me the current stock price of Apple Inc.?" }, { "from": "gpt", "value": "{\"Thought\": \"To retrieve the current stock price of Apple Inc., I can call get_stock_price and pass the company name as an argument.\", \"Action\": {\"name\": \"get_stock_pri...
[{"name": "calculate_age", "description": "Calculate the age based on date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth in format YYYY-MM-DD"}}, "required": ["date_of_birth"]}}]
[ { "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": "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 would like it to be 12 characters long and include both numbers and symbols." }, { "from": "gpt", "value": "{\"Thought\": \"The user requested a new password that includes both numbers and symbols and is 12 charac...
[{"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 need to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the BMI value of the person, so I can call calculate_bmi and pass height and weight as arguments.\", \"Action\": {\"name\"...
[{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (title or author)"}}, "required": ["query"]}}]
[ { "from": "human", "value": "I am looking for books by J.K. Rowling." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find books authored by J.K. Rowling, so I can call search_books and pass the query \\\"J.K. Rowling\\\" as an argument.\", \"Action\": {\"name\": \"search_books\", \"argu...
[{"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 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": "calculate_gcd", "description": "Calculate the Greatest Common Divisor (GCD) of two numbers", "parameters": {"type": "object", "properties": {"num1": {"type": "integer", "description": "The first number"}, "num2": {"type": "integer", "description": "The second number"}}, "required": ["num1", "num2"]}}]
[ { "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 assist with that. My current capabilities are limite...
[{"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 to generate the QR code"}, "size": {"type": "integer", "description": "The size of the QR code"}}, "required": ["text"]}}]
[ { "from": "human", "value": "Hi, I need a QR code for my website. Yes, it's www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a QR code for the website, so I can call generate_qr_code and pass the website URL as an argument.\", \"Action\": {\"name\": \"generate...
[{"name": "convert_currency", "description": "Convert currency from one type to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from": {"type": "string", "description": "The currency to convert from"}, "to": {"type": "string", "descri...
[ { "from": "human", "value": "Hi, I need to convert 1000 US dollars to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert the given amount from US dollars to Euros, so I can call convert_currency with the specified amount and currencies.\", \"Action...
[{"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"}, "to_currency": {"type": "string",...
[ { "from": "human", "value": "Hi, I need to convert 1000 USD to EUR. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert USD to EUR, so I can call convert_currency and pass the amount, from_currency, and to_currency as arguments.\", \"Action\": {\"name\": \...
[{"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, can you tell me the distance between New York and Los Angeles?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the exact distance between New York and Los Angeles, so I can call calculate_distance and pass the cities as arguments.\", \"Action\"...
[{"name": "search_book", "description": "Search for a book 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 title. The author's name is George Orwell and it's a dystopian novel." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the title of the dystopian novel written by George Orwell, so I can call search_book a...
[{"name": "calculate_rectangle_area", "description": "Calculate the area of a rectangle", "parameters": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}}, "required": ["length", "width"]...
[ { "from": "human", "value": "Hi, I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units." }, { "from": "gpt", "value": "{\"Thought\": \"** I need to calculate the area of the rectangle, so I can call calculate_rectangle_area and pass length and width as argu...
[{"name": "calculate_loan_emi", "description": "Calculate the monthly EMI for a loan", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "tenure": {"type": "i...
[ { "from": "human", "value": "Hi, I need help with calculating my loan EMI. Sure, the principal amount is $50000, the annual interest rate is 5% and the tenure is 60 months." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the EMI for the loan, so I can call calculate_loan_emi a...
[{"name": "play_music", "description": "Play music based on genre or artist", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of the music"}, "artist": {"type": "string", "description": "The name of the artist"}}}}]
[ { "from": "human", "value": "I want to listen to some music. Yes, I want to listen to pop music." }, { "from": "gpt", "value": "{\"Thought\": \"I need to play music based on the given genre, so I can call play_music and pass 'pop' as the genre.\", \"Action\": {\"name\": \"play_music\", \"argumen...
[{"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The title or author to search for"}}, "required": ["query"]}}]
[ { "from": "human", "value": "I am looking for books by J.K. Rowling. Can you help me find them?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find books authored by J.K. Rowling, so I can call search_books and pass \\\"J.K. Rowling\\\" as the query.\", \"Action\": {\"name\": \"search_...
[{"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 one for me? I would like it to be 12 characters long." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a new password, so I can call generate_password with the length parameter as 12.\", \"Action\": {\"name...
[{"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\": \"I need to generate a secure 12-character password for the user, so I can call generate_random_password and pass length as ...
[{"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 help with calculating my monthly mortgage payment. 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\": \"I need to calculate the monthly mortgage payment, so I can...
[{"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for movies"}, "genre": {"type": "string", "description": "The genre of the movie"}}, "required": ["query"]}}]
[ { "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": "translate_text", "description": "Translate text from one language to another", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be translated"}, "source_language": {"type": "string", "description": "The source language of the text"}, "target_language": {"...
[ { "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_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\": \"I need to calculate the distance between two cities, so I can call calculate_distance and pass the origin and destination as arguments.\", \"Action\": {\"...
[{"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": "Hi, can you tell me the distance between New York and Los Angeles?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the distance between New York and Los Angeles, so I can call calculate_distance and pass the origin and destination as arguments.\", ...
[{"name": "convert_currency", "description": "Convert currency from one type to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from": {"type": "string", "description": "The currency to convert from"}, "to": {"type": "string", "descri...
[ { "from": "human", "value": "Hi, I need to convert 500 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the equivalent value in Euros for the provided amount in USD, so I can call convert_currency and pass the amount along with the source and...