Dataset Viewer
Auto-converted to Parquet Duplicate
tools
stringlengths
117
1.13k
conversations
listlengths
2
4
[{"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 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 book flights. My current capabiliti...
[{"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\": \"To determine the equivalent amount in Euros, I can call convert_currency with the amount in USD and the target currency EUR.\", \"Action\": {\"name\": \...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}]
[ { "from": "human", "value": "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 can't assist with that. My current capab...
[{"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 person's current age, so I can call calculate_age and pass the birthdate as an argument.\", \"Action\": {\"name\": \"calculate_age...
[{"name": "calculate_loan_repayment", "description": "Calculate the monthly loan repayment amount", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The amount of the loan"}, "interest_rate": {"type": "number", "description": "The interest rate on the loan"}, "loan_term"...
[ { "from": "human", "value": "Hi, I need some help with my loan. I borrowed $50000 at an interest rate of 5% and I have to repay it in 60 months. Can you help me calculate my monthly repayment?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_loan_repayment t...
[{"name": "create_user", "description": "Create a new user", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username 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 user account. I want the username to be \"JohnDoe\", the email to be \"johndoe@example.com\", and the password to be \"password123\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new user account with specific details, so I...
[{"name": "analyze_text_language", "description": "Analyze the language of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "Text to analyze"}}, "required": ["text"]}}]
[ { "from": "human", "value": "Hi, I have a text here and I am not sure what language it is in. Can you help me identify it? Here it is - \"Je suis très heureux de vous rencontrer\"" }, { "from": "gpt", "value": "{\"Thought\": \"I need to identify the language of the given text; therefore, I can c...
[{"name": "get_movie_recommendations", "description": "Get movie recommendations based on user preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred genre of movies"}, "year": {"type": "integer", "description": "The preferred release year of movies"}, "a...
[ { "from": "human", "value": "I'm looking for a movie to watch. I like action movies, preferably from the 2000s, and I'm a big fan of Tom Cruise." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find action movies from the 2000s starring Tom Cruise, so I'll use the get_movie_recommendatio...
[{"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 new password for the user, so I can call generate_random_password and pass length as an argument.\", ...
[{"name": "send_email", "description": "Send an email", "parameters": {"type": "object", "properties": {"to": {"type": "string", "description": "The recipient email address"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description": "The body of the email"}}, "...
[ { "from": "human", "value": "Hey, can you send an email to my boss for me? The email is boss@company.com, the subject is \"Meeting Schedule\", and the body is \"Dear Boss, I would like to discuss the meeting schedule for next week. Best, User.\"" }, { "from": "gpt", "value": "{\"Thought\": \"I n...
[{"name": "calculate_loan_emis", "description": "Calculate the monthly loan EMI payments", "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 my loan calculations. 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 EMI for the loan, so I can call calculate_lo...
[{"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"]}}, {"name": "create_...
[ { "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 determine the BMI, I need to use the calculate_bmi tool with the given height and weight parameters.\", \"Action\": {\"name\": \...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encode in the QR code"}}, "required": ["text"]}}]
[ { "from": "human", "value": "Hi, I need a QR code for my website link. Can you help me with that? The website link is www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a QR code for the given website link, so I can call generate_qr_code and pass the URL as an a...
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "due_date": {"type": "string", "description": "The due date of the todo item"}, "priority": {"type": "string", "description": "The p...
[ { "from": "human", "value": "I need to create a new todo item. The title is \"Buy groceries\", the due date is \"2022-05-01\", and the priority level is \"High\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new todo item with specific details, so I will call create_todo and...
[{"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": "fin...
[ { "from": "human", "value": "Hi, I need to calculate my BMI. I am 1.75 meters tall and weigh 70 kilograms." }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the BMI value for the given height and weight, so I will use the calculate_bmi tool with the specified arguments.\", \"Act...
[{"name": "search_book", "description": "Search for a book based on title or author", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}}}}]
[ { "from": "human", "value": "I am looking for a book but I can't remember the title. The author's name is George Orwell." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find books authored by George Orwell, so I can call search_book and pass the author's name as an argument.\", \"Action...
[{"name": "generate_username", "description": "Generate a unique username based on user's name", "parameters": {"type": "object", "properties": {"first_name": {"type": "string", "description": "The first name of the user"}, "last_name": {"type": "string", "description": "The last name of the user"}}, "required": ["firs...
[ { "from": "human", "value": "Hi, I need a unique username for my new account. My name is John Doe." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a unique username using the user's first and last name, so I can call generate_username and pass first_name and last_name as argume...
[{"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type":...
[ { "from": "human", "value": "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 amount and currencies as arguments.\", \"Action\": {\"name\": ...
[{"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\": \"I need to calculate the person's BMI, so I will call calculate_bmi with the provided weight and height values.\", \"Action\": {\"nam...
[{"name": "create_event", "description": "Create a new event", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "date": {"type": "string", "format": "date", "description": "The date of the event"}, "location": {"type": "string", "description": "The lo...
[ { "from": "human", "value": "I need to create an event for my birthday party. The date is 25th December and the location is my home." }, { "from": "gpt", "value": "{\"Thought\": \"The user needs to create a calendar event for their birthday party, so I will use the create_event tool with the rel...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a given bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip"}}, "required": ["bill_amount", "ti...
[ { "from": "human", "value": "Hi, I need help with calculating the tip for my bill. The total bill amount is $100 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the tip amount for the bill, so I can call calculate_tip and pass the bill amount and...
[{"name": "generate_random_password", "description": "Generate a random password with a given length", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}}}]
[ { "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 capabiliti...
[{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "entertainment", "sports"], "description": "The category of news"}}, "required": ["category"]}}]
[ { "from": "human", "value": "Can you get me the latest news in technology?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to get the latest headlines about technology, so I can call get_news_headlines and pass the category as \\\"technology\\\".\", \"Action\": {\"name\": \"get_news_headli...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}]
[ { "from": "human", "value": "What's the current price of Apple's stock?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the current stock price of Apple, so I can call get_stock_price and pass the stock symbol \\\"AAPL\\\" as an argument.\", \"Action\": {\"name\": \"get_stock_price...
[{"name": "search_recipes", "description": "Search for recipes based on specific criteria", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients required for the recipe"}, "time": {"type": "integer", "description": "The maximum coo...
[ { "from": "human", "value": "I have some chicken, tomatoes and cheese. Can you find me a recipe that I can cook in 30 minutes?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find recipes that include chicken, tomatoes, and cheese, and can be cooked within 30 minutes, so I can call sear...
[{"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": "I have a sentence in French that I need translated into English. The sentence is \"Je suis très heureux de vous rencontrer.\"" }, { "from": "gpt", "value": "{\"Thought\": \"I need to translate a French sentence to English, so I can call translate_text and pass the te...
[{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient_email": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "desc...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? Sure, the email address is boss@company.com. The subject is \"Project Update\" and the message is \"Dear Boss, The project is on track and we are set to complete it by the end of this month. Regards, [User's Name]\"....
[{"name": "create_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "date": {"type": "string", "description": "The date of the event"}, "time": {"type": "string", "description": "The time of ...
[ { "from": "human", "value": "I need to create an event in my calendar. The title is \"Annual Sales Meeting\", the date is 15th June 2023, and the time is 10:00 AM. The location is our main office." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new calendar event with the speci...
[{"name": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate of the person"}}, "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 calculate the exact age of the person based on their birthdate, so I can call calculate_age and pass the birthdate 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": "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 as an AI, I don't have the capability...
[{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description":...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? The recipient's email is boss@company.com. The subject is \"Project Update\". And for the body, write \"Dear Boss, The project is on track and will be completed by the end of this week. Regards, [User's Name]\"." }...
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape"}, "dimensions": {"type": "object", "description": "The dimensions of the shape", "properties": {"length": {"type": "number", "descrip...
[ { "from": "human", "value": "I need to calculate the area of a rectangle. The length is 5 units and the width is 3 units." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the area of a rectangle, so I can call calculate_area and pass the length and width as arguments.\", \"Action\":...
[{"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 the bill to tip"}}, "required": ["bill_amount...
[ { "from": "human", "value": "Hi, I need help calculating the tip for my bill. The total amount 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 total and the desired tip percentage, so I call cal...
[{"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, 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 the origin and destination as arguments.\", \"Acti...
[{"name": "search_books", "description": "Search for books", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Search query"}, "category": {"type": "string", "description": "Book category"}, "author": {"type": "string", "description": "Author's name"}}}}, {"name": "create_todo"...
[ { "from": "human", "value": "I am looking for a book on gardening by Martha Stewart. Can you help me find it?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find a book on gardening by Martha Stewart, so I can call search_books and pass \\\"gardening\\\" as the query, \\\"Hobbies & Hom...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to give"}}, "required": ["bill_amount", ...
[ { "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 as an AI, I don't have the capability...
[{"name": "send_email", "description": "Send an email", "parameters": {"type": "object", "properties": {"to": {"type": "string", "description": "The recipient of the email"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description": "The body of the email"}}, "r...
[ { "from": "human", "value": "I need to send an email to my boss about the meeting tomorrow. The email address is boss@company.com. The subject should be \"Meeting Agenda for Tomorrow\". And for the body, write \"Dear Boss, I would like to discuss the following points in our meeting tomorrow: 1. Project Upda...
[{"name": "encrypt_text", "description": "Encrypt a text using a specified encryption algorithm", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be encrypted"}, "algorithm": {"type": "string", "description": "The encryption algorithm to be used"}}, "required": ["t...
[ { "from": "human", "value": "Hi, I need to encrypt a text. Can you help me with that? The text is \"Hello World\" and I want to use the AES encryption algorithm." }, { "from": "gpt", "value": "{\"Thought\": \"I need to encrypt the given text using the AES algorithm, so I can call encrypt_text an...
[{"name": "calculate_loan_repayment", "description": "Calculate the monthly loan repayment amount", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "...
[ { "from": "human", "value": "Can you please book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights ...
[{"name": "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 to tip"}, "split": {"type": "integer", "descript...
[ { "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 booking fli...
[{"name": "generate_random_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": {"ty...
[ { "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\": \"I need to generate a secure password that includes both numbers and symbols, so I can cal...
[{"name": "get_traffic_info", "description": "Get current traffic information", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Los Angeles, CA"}}, "required": ["location"]}}, {"name": "create_note", "description": "Create a new note", "parameters"...
[ { "from": "human", "value": "Can you tell me the current traffic situation in New York, NY?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to obtain the latest traffic information for New York, NY, so I can call get_traffic_info with the location as an argument.\", \"Action\": {\"name\": ...
[{"name": "calculate_gpa", "description": "Calculate the Grade Point Average (GPA)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "object", "properties": {"course": {"type": "string", "description": "The name of the course"}, "grade": {"type": "string", "description": "T...
[ { "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. Booking a ...
[{"name": "search_books", "description": "Search for books based on given criteria", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The...
[ { "from": "human", "value": "I am looking for a book but I can't remember the title. I know the author's name is George Orwell and it's a dystopian novel." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find dystopian novels written by George Orwell, so I can call search_books and pass ...
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "description": {"type": "string", "description": "The description of the todo item"}, "due_date": {"type": "string", "format": "date...
[ { "from": "human", "value": "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_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The 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\": \"I need to find recipes that use chicken, broccoli, and cheese, so I can call search_recipes and pass these ingredients as arguments.\", \"Action\": {...
[{"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"to": {"type": "string", "description": "The recipient's email address"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description": "The body o...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? Sure, the email address is boss@company.com. The subject should be \"Project Update\" and in the body, write \"Dear Boss, The project is on track and will be completed by the end of this week. Regards, [User's Name]\...
[{"name": "calculate_loan_interest", "description": "Calculate the total interest paid on a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "i...
[ { "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. Booking a ...
[{"name": "search_book", "description": "Search for a book based on title or author", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The name of the author"}}}}]
[ { "from": "human", "value": "I am looking for a book but I can't remember the full title. It's something like \"To Kill a...\" and it's by Harper Lee. Can you help me find it?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to identify the correct title of the book that matches the partial...
[{"name": "calculate_age", "description": "Calculate the age based on the date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth in the format YYYY-MM-DD"}}, "required": ["date_of_birth"]}}]
[ { "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, so I can call calculate_age and pass the date of birth as an argument.\", \"Action\": {\"name\": \"calc...
[{"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in format YYYY-MM-DD"}}, "required": ["birthdate"]}}]
[ { "from": "human", "value": "Hi, can you help me calculate my age? I was born on 1990-05-15." }, { "from": "gpt", "value": "{\"Thought\": \"** I need to determine the user's current age, so I can call calculate_age and pass the birthdate as an argument.\", \"Action\": {\"name\": \"calculate_age\...
[{"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 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", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name":...
[ { "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\": \"I need to calculate the tip amount, so I can call calculate_tip and pass the bill amount and tip percentage as arguments.\", \"...
[{"name": "generate_random_number", "description": "Generate a random number within a given 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",...
[ { "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": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get definition for"}}, "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 the argument.\", \"Action\": {\"name\": \"get_definition\...
[{"name": "recommend_movie", "description": "Recommend a movie based on user's preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred genre of the movie"}, "release_year": {"type": "integer", "description": "The preferred release year of the movie"}, "rat...
[ { "from": "human", "value": "I'm in the mood for a good movie. Can you recommend something? I love action movies. I don't care about the release year, but I would like it to have a rating of at least 7." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find a highly-rated action movie to ...
[{"name": "create_invoice", "description": "Create a new invoice", "parameters": {"type": "object", "properties": {"client_name": {"type": "string", "description": "The name of the client"}, "amount": {"type": "number", "description": "The amount of the invoice"}, "due_date": {"type": "string", "description": "The due ...
[ { "from": "human", "value": "I need to create an invoice for my client, John Doe. The amount is $5000 and it's due on 30th of this month." }, { "from": "gpt", "value": "{\"Thought\": \"** I need to create an invoice for my client with specific details, so I can call create_invoice and pass clien...
[{"name": "calculate_discount", "description": "Calculate the discounted price based on original price and discount percentage", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description":...
[ { "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": "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 year of release"}}, "required": ["title", "year"]}}, {"name": "calculate_distan...
[ { "from": "human", "value": "Can you tell me about the movie 'Inception' released in 2010?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to get detailed information about the movie \\\"Inception,\\\" so I can call get_movie_details and pass the title and year as arguments.\", \"Action\":...
[{"name": "get_movie_details", "description": "Get the details of a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}]
[ { "from": "human", "value": "Can you tell me about the movie \"Inception\"?" }, { "from": "gpt", "value": "{\"Thought\": \"To provide detailed information about the movie \\\"Inception\\\", I will use the get_movie_details tool with the title as an argument.\", \"Action\": {\"name\": \"get_movie...
[{"name": "search_music", "description": "Search for music albums or songs", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for music"}, "artist": {"type": "string", "description": "The artist's name"}}, "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 I'm unable to perform external tasks like ordering a pizza. My cur...
[{"name": "generate_password", "description": "Generate a random password with specified length and complexity", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "complexity": {"type": "string", "description": "The complexity level of the passwo...
[ { "from": "human", "value": "I need a new password. Can you generate one for me? I would like a password of 12 characters and high complexity." }, { "from": "gpt", "value": "{\"Thought\": \"The user needs a highly complex password of 12 characters, so I can call generate_password and specify the...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount in dollars"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to give"}}, "required": ["bill...
[ { "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 calculate the tip amount based on the bill, so I can call calculate_tip and pass bill_amount and tip_percentage as arguments...
[{"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, 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 the cities as arguments.\", \"Action\": {\"name\":...
[{"name": "find_movie_details", "description": "Find details about a movie based on its title", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}, {"name": "play_music", "description": "Play music based on user's preferences", ...
[ { "from": "human", "value": "Can you find details about the movie \"Inception\"?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the details of the movie \\\"Inception,\\\" so I can call find_movie_details and pass the title as an argument.\", \"Action\": {\"name\": \"find_movie_de...
[{"name": "create_todo", "description": "Create a new todo task", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The description of the todo task"}}, "required": ["task"]}}, {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment based on loan am...
[ { "from": "human", "value": "I need to create a new task for my day. I need to finish my project report by the end of the day." }, { "from": "gpt", "value": "{\"Thought\": \"I need to add a new task to my todo list, so I can call create_todo and pass the task details as arguments.\", \"Action\":...
[{"name": "generate_qrcode", "description": "Generate a QR code", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The data to be encoded in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ["data", "size"]}}, {"name":...
[ { "from": "human", "value": "Hi, I need a QR code for my website. The URL is www.mywebsite.com and I would like the QR code to be 500 pixels." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a QR code for the given URL, so I can call generate_qrcode and pass the website URL and ...
[{"name": "search_jobs", "description": "Search for job openings based on keywords and location", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for in job titles or descriptions"}, "location": {"type": "string", "descrip...
[ { "from": "human", "value": "Hi, I am looking for job openings in the field of data science in New York. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"To search for current job openings in the data science field in New York, call search_jobs with relevant keywords and...
[{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get definition for"}}, "required": ["word"]}}]
[ { "from": "human", "value": "What does the word 'serendipity' mean?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the meaning of the word \\\"serendipity,\\\" so I can call get_definition and pass the word as an argument.\", \"Action\": {\"name\": \"get_definition\", \"arguments\...
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the todo item"}, "priority": {"type": "string", "en...
[ { "from": "human", "value": "I need to create a new todo item. The title is \"Buy groceries\", the due date is \"2022-05-15\" and the priority is \"high\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new todo item with specified attributes, so I can call create_todo and pas...
[{"name": "get_news", "description": "Get the latest news based on category", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to retrieve"}}, "required": ["category"]}}]
[ { "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": "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": "Hi, I need to translate a sentence from English to French. The sentence is \"Hello, how are you?\"" }, { "from": "gpt", "value": "{\"Thought\": \"To translate the given sentence from English to French, I will use the translate_text tool with appropriate arguments.\",...
[{"name": "get_stock_price", "description": "Get the current stock price of a specified company", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The name of the company"}, "stock_exchange": {"type": "string", "description": "The stock exchange where the company is lis...
[ { "from": "human", "value": "Hi, I would like to know the current stock price of Apple listed on NASDAQ." }, { "from": "gpt", "value": "{\"Thought\": \"I need to obtain the current stock price of Apple, so I will use the get_stock_price tool and pass the company name and stock exchange as argume...
[{"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"}}, "required": ["title"]}}]
[ { "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 don't have the ability to order a pizza as it's an external task. My cu...
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the task"}}, "required": ["task", "due_date"]}}]
[ { "from": "human", "value": "I need to create a new todo item. The task is to buy groceries and the due date is 2022-03-15." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new todo item for the user, so I can call create_todo and pass task and due_date as arguments.\", \"Action...
[{"name": "generate_qr_code", "description": "Generate a QR code based on the provided data", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The data to encode in the QR code"}}, "required": ["data"]}}]
[ { "from": "human", "value": "Hi, I need to generate a QR code for my website. Can you help me with that? Sure, it's www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"** To generate a QR code for the provided website URL, we need to use the generate_qr_code tool and pass the URL a...
[{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min_value": {"type": "integer", "description": "The minimum value of the range"}, "max_value": {"type": "integer", "description": "The maximum value of the range"}}, "...
[ { "from": "human", "value": "Hi, I need a random number between 1 and 100." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a random number within a specified range, so I can call generate_random_number and pass min_value and max_value as arguments.\", \"Action\": {\"name\": \"g...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment amount", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "inte...
[ { "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 60 months." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the monthly loan payment, so I will call calcula...
[{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"total_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["total_amount",...
[ { "from": "human", "value": "I need to calculate a tip for my dinner bill. The total amount was $50 and I want to leave a 20% tip." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the tip amount for the bill, so I can call calculate_tip and pass the total amount and tip percentage a...
[{"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word for which definition is required"}}, "required": ["word"]}}]
[ { "from": "human", "value": "What is the definition of the word 'serendipity'?" }, { "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_d...
[{"name": "add_numbers", "description": "Add two numbers together", "parameters": {"type": "object", "properties": {"num1": {"type": "number", "description": "The first number to add"}, "num2": {"type": "number", "description": "The second number to add"}}, "required": ["num1", "num2"]}}, {"name": "calculate_loan_payme...
[ { "from": "human", "value": "Hi, I need help with some addition. Can you add 5 and 7 for me?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the sum of two numbers, so I can call add_numbers and pass 5 and 7 as arguments.\", \"Action\": {\"name\": \"add_numbers\", \"arguments\": {\...
[{"name": "create_reminder", "description": "Create a reminder for a specific date and time", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title or description of the reminder"}, "date": {"type": "string", "description": "The date of the reminder in YYYY-MM-DD format"}...
[ { "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": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type...
[ { "from": "human", "value": "Can you please book a flight for me from New York to London?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking flights....
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text for which QR code needs to be generated"}, "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 provided website URL, so I can call generate_qr_code and pass the website URL and size as arguments.\", \"Action\": {...
[{"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, can you help me calculate my age? I was born on 1990-05-15." }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine your current age based on your birthdate, so I can call calculate_age and pass the birthdate as an argument.\", \"Action\": {\"name\": \...
[{"name": "calculate_loan_interest", "description": "Calculate the total interest paid on a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount in dollars"}, "interest_rate": {"type": "number", "description": "The annual interest rate as a decimal"}, ...
[ { "from": "human", "value": "Hi, I need some help with calculating the interest on a loan I'm considering. 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_lo...
[{"name": "find_common_elements", "description": "Find the common elements between two arrays", "parameters": {"type": "object", "properties": {"array1": {"type": "array", "items": {"type": "number"}, "description": "The first array"}, "array2": {"type": "array", "items": {"type": "number"}, "description": "The second ...
[ { "from": "human", "value": "Hi, I have two lists of numbers and I want to find out the common elements between them. The first list is [1, 2, 3, 4, 5] and the second list is [4, 5, 6, 7, 8]." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the common elements between the two lists,...
[{"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 kg and my height is 1.75 m." }, { "from": "gpt", "value": "{\"Thought\": \"To determine the BMI, I need to call the calculate_bmi function using the provided height and weight values.\", \"Action\": {\"name\": \"calcul...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment amount", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term":...
[ { "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": "search_books", "description": "Search for books based on the given criteria", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": ...
[ { "from": "human", "value": "I am looking for a book but I can't remember the full title. I think it had the word \"Sun\" in it and it was a mystery novel." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find books with \\\"Sun\\\" in the title that belong to the mystery genre, so I wil...
[{"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 kg and my height is 1.75 m." }, { "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\": \"ca...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"stock_symbol": {"type": "string", "description": "The symbol of the stock"}}, "required": ["stock_symbol"]}}]
[ { "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 fetc...
[{"name": "generate_invoice", "description": "Generate an invoice for a specific customer", "parameters": {"type": "object", "properties": {"customer_name": {"type": "string", "description": "The name of the customer"}, "items": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "de...
[ { "from": "human", "value": "I need to generate an invoice for customer John Doe. He bought 5 units of apples at $2 each and 3 units of oranges at $3 each." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate an invoice for John Doe, so I can call generate_invoice and pass the custo...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}]
[ { "from": "human", "value": "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 the symbol as an argument.\", \"Action\": {\"name\": \"get_stock_price\", \"ar...
[{"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}, "genre": {"type": "string", "description": "The genre of the movie"}}, "required": ["query"]}}, {"name": "calculate_disco...
[ { "from": "human", "value": "I want to watch a movie but I can't decide. Can you suggest me some? I like action movies." }, { "from": "gpt", "value": "{\"Thought\": \"I need to suggest some action movies, so I can call search_movies and pass \\\"action\\\" as the query.\", \"Action\": {\"name\":...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly payment for a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integ...
[ { "from": "human", "value": "Hi, I need help with calculating my 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 will call calculate_loan...
[{"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"subtotal": {"type": "number", "description": "The subtotal amount"}, "tax_percentage": {"type": "number", "description": "The tax percentage"}}, "required": ["subtotal", "tax_percentage"]}}]
[ { "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 as...
[{"name": "create_calendar_event", "description": "Create a calendar event", "parameters": {"type": "object", "properties": {"event_title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event"}, "end_time": {"type": "string", "descrip...
[ { "from": "human", "value": "Hey, can you help me create a calendar event for my meeting tomorrow? Sure, the title is \"Project Discussion\", it starts at 10 AM and ends at 11 AM. The location is the conference room." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a calendar even...
[{"name": "calculate_discount", "description": "Calculate the discount amount for 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": "Hi, I saw a jacket I liked in a store. It was originally priced at $200 but it's on a 20% discount. How much will I save?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the amount saved from the discount, so I can call calculate_discount and pass ...
[{"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\": \"I need to convert the given amount from USD to EUR, so I can call convert_currency with 100 USD as the amount.\", \"Action\": {\"name\": \"convert_currency...
End of preview. Expand in Data Studio

Data from in ReAct_funcall_sharegpt with 2000 samples and gpt4 enhanced.

Downloads last month
5