tools
stringlengths
117
1.13k
conversations
listlengths
2
4
[{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}]
[ { "from": "human", "value": "I need to create a note for my meeting tomorrow. Let's title it \"Team Meeting Agenda\". The content should be \"Discuss project updates, review team performance, plan for next quarter\"." }, { "from": "gpt", "value": "{\"Thought\": \"To create a meeting note with sp...
[{"name": "create_account", "description": "Create a new user account", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The username for the account"}, "password": {"type": "string", "description": "The password for the account"}, "email": {"type": "string", "description":...
[ { "from": "human", "value": "I want to create a new account. My username will be \"JohnDoe\", password will be \"password123\", and email will be \"johndoe@example.com\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new account, so I can call create_account and pass the user...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text or URL", "parameters": {"type": "object", "properties": {"data": {"type": "string", "description": "The text or URL to encode"}}, "required": ["data"]}}, {"name": "check_spelling", "description": "Check the spelling of a word", "parameter...
[ { "from": "human", "value": "Hi, I need a QR code for my website. Can you help me with that? Sure, my website URL is www.mywebsite.com." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a QR code for the website URL, so I can call generate_qr_code and pass the URL as an argument....
[{"name": "calculate_interest", "description": "Calculate the interest earned on an investment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the investment"}, "rate": {"type": "number", "description": "The interest rate per year"}, "time": {"ty...
[ { "from": "human", "value": "Hi, I need some help with calculating the interest on my investment. Sure, the principal amount is $5000, the interest rate is 5% per year, and the time period is 3 years." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the interest on the given pr...
[{"name": "search_recipes", "description": "Search for recipes based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for"}, "cuisine": {"type": "string", "description": "The cuisine type"}, "diet": {"type": "...
[ { "from": "human", "value": "Can you book a table for two at my favorite restaurant for tonight?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to assist with booking t...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given text or URL", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text or URL to encode"}, "size": {"type": "integer", "description": "The size of the QR code in pixels"}}, "required": ["text"]}}]
[ { "from": "human", "value": "Hi, I need a QR code for my website. Yes, it's www.mywebsite.com. I think 500 pixels should be fine." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a QR code for the provided website URL, so I can call generate_qr_code and pass the text and size as a...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight",...
[ { "from": "human", "value": "Hi, I need to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"The user needs to determine their BMI, requiring the calculation using their weight and height.\", \"Action\": {\"name\": \"calculate_bmi...
[{"name": "create_user_account", "description": "Create a new user account", "parameters": {"type": "object", "properties": {"username": {"type": "string", "description": "The desired username for the account"}, "email": {"type": "string", "description": "The email address for the account"}, "password": {"type": "strin...
[ { "from": "human", "value": "I want to create a new 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 the provided details, so I ...
[{"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "r...
[ { "from": "human", "value": "Hi, I saw a dress that I liked. It was originally priced at $200 but it's on a 20% discount. Can you tell me how much it will cost after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the final price of the dress after applying the d...
[{"name": "calculate_age", "description": "Calculate the age based on birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date"}}, "required": ["birth_date"]}}]
[ { "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 title and author", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}}, "required": ["title", "author"]}}, {"name": ...
[ { "from": "human", "value": "Hi, I am looking for a book but I can't remember the exact title. I know it's by George Orwell. Yes, I think it had the word \"Farm\" in it." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find books by George Orwell with the word \\\"Farm\\\" in the title, ...
[{"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 total amount of the invoice"}, "due_date": {"type": "string", "description": "Th...
[ { "from": "human", "value": "I need to create an invoice for my client, John Doe. The total amount is $500 and it's due on 30th of this month." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate an invoice for the client with specific details, so I can call create_invoice and pass ...
[{"name": "search_books", "description": "Search for books based on a query", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}}, "required": ["query"]}}]
[ { "from": "human", "value": "Can you order a pizza for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My current ca...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) of a person", "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...
[ { "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 calculate the BMI using the provided weight and height, so I will call the calculate_bmi tool with the corresponding argu...
[{"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 origin and destination as arguments.\", \...
[{"name": "track_calories", "description": "Track daily calorie intake", "parameters": {"type": "object", "properties": {"meal": {"type": "string", "description": "The name of the meal"}, "calories": {"type": "number", "description": "The number of calories consumed"}}, "required": ["meal", "calories"]}}]
[ { "from": "human", "value": "I just had lunch and it was a cheeseburger with fries. I think it was around 800 calories. Can you track that for me?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to track the calorie intake for the user's lunch, so I can call the track_calories function and...
[{"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"}, "diet": {"type": "string", "description": "The dietary restriction to consi...
[ { "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 capabilities are currently limited to search...
[{"name": "create_note", "description": "Create a new note", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the note"}, "content": {"type": "string", "description": "The content of the note"}}, "required": ["title", "content"]}}]
[ { "from": "human", "value": "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 such as ordering a pizza. My current...
[{"name": "search_restaurant", "description": "Search for a restaurant based on location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}, "cuisine": {"type": "string", "description": "The cuisine type to filter restaur...
[ { "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 don't have the capability to book flights. My c...
[{"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": "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 can use the calculate_bmi tool and provide the weight and height as inputs.\", \"Action\": {\"name\": \"cal...
[{"name": "find_nearby_restaurants", "description": "Find nearby restaurants", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude coordinate"}, "longitude": {"type": "number", "description": "The longitude coordinate"}, "radius": {"type": "integer", "description"...
[ { "from": "human", "value": "I'm currently at the coordinates 40.7128 N, 74.0060 W. Can you find any restaurants within a 500 meter radius?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find nearby restaurants within a 500-meter radius using latitude and longitude coordinates, so I wi...
[{"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news (e.g. sports, politics)"}, "country": {"type": "string", "description": "The country for which the news should be retrieved"}}}}, {"name": "sear...
[ { "from": "human", "value": "Can you get me the latest sports news from the United States?" }, { "from": "gpt", "value": "{\"Thought\": \"Need to fetch the latest sports news from the United States, so I can call get_news with category \\\"sports\\\" and country \\\"United States\\\" as argument...
[{"name": "convert_currency", "description": "Convert currency from one type 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 1000 US dollars to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert the currency amount, so I can call convert_currency and pass the amount, from_currency, and to_currency as arguments.\", \"Acti...
[{"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\", and the due date is \"2022-03-15\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new todo item, so I can call create_todo and pass the...
[{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date in yyyy-mm-dd format"}}, "required": ["birth_date"]}}]
[ { "from": "human", "value": "Hi, can you tell me how old I am? I was born on 1990-05-15." }, { "from": "gpt", "value": "{\"Thought\": \"To determine the age of the user, I need to call the `calculate_age` tool and pass the birth date as an argument.\", \"Action\": {\"name\": \"calculate_age\", \...
[{"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percentage"]}}]
[ { "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 based on the given bill amount and tip percentage, so I can call calculate_tip and pass bill...
[{"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 the ingredients as arguments.\", \"Action\": {\"...
[{"name": "calculate_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage discount to be ...
[ { "from": "human", "value": "I saw a jacket I liked in a store. It was originally priced at $200, but they're offering a 20% discount. How much would it cost after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the discounted price of the jacket, so I can call calcul...
[{"name": "search_movies", "description": "Search for movies by title, genre, or release year", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}, "release_year": {"type": "integer", ...
[ { "from": "human", "value": "Can you find me some comedy movies from 2015?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find comedy movies released in 2015, so I can call search_movies and pass genre and release_year as arguments.\", \"Action\": {\"name\": \"search_movies\", \"argume...
[{"name": "calculate_discount", "description": "Calculate the discounted price for a given item", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percent": {"type": "number", "description": "The discount percentage"}}, "req...
[ { "from": "human", "value": "I saw a jacket I liked in a store. It was originally priced at $200 but there's a 20% discount. Can you tell me how much it will cost after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the discounted price using the original price ...
[{"name": "calculate_mortgage", "description": "Calculate the monthly mortgage 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 help with calculating my mortgage payment. I have a loan amount of $200,000, an annual interest rate of 3.5%, and a loan term of 30 years." }, { "from": "gpt", "value": "{\"Thought\": \"To determine the mortgage payment amount, I will use the `calculate_mo...
[{"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, 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_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required": ["bill_amount", "tip_percent...
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill is $50 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the tip amount, so I can call calculate_tip and pass the bill amount and tip percentage as arguments.\", \"Action\...
[{"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}]
[ { "from": "human", "value": "Hi, I need to calculate my tax. My income is $50000 and the tax rate is 20%." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the tax amount to be paid based on the provided income and tax rate, so I can call calculate_tax and pass income and tax rate as...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight",...
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"To calculate the BMI for the given weight and height, I need to use the calculate_bmi tool with the provided arguments.\", \"Action...
[{"name": "calculate_gpa", "description": "Calculate the GPA (Grade Point Average) based on grades and credit hours", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "object", "properties": {"course": {"type": "string", "description": "The name of the course"}, "grade": {"t...
[ { "from": "human", "value": "Can you help me calculate my GPA? I have the grades and credit hours for my courses. Sure, here they are. For Mathematics, I got an A and it was 3 credit hours. For English, I got a B and it was 4 credit hours. For Science, I got a C and it was 3 credit hours." }, { "fro...
[{"name": "create_todo", "description": "Create a todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task description"}, "due_date": {"type": "string", "description": "The due date of the task"}}, "required": ["task"]}}]
[ { "from": "human", "value": "I need to create a todo item for my project submission. The due date is on 15th of next month." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a todo item for the project submission, so I can call create_todo and pass the task and due date as argument...
[{"name": "count_occurrences", "description": "Count the occurrences of a specific element in an array", "parameters": {"type": "object", "properties": {"array": {"type": "array", "items": {}, "description": "The array to be analyzed"}, "element": {"type": "string", "description": "The element to count occurrences of"}...
[ { "from": "human", "value": "Hi, I have a list of words and I want to know how many times the word \"apple\" appears in it. Here it is: [\"apple\", \"banana\", \"apple\", \"orange\", \"apple\", \"banana\", \"apple\", \"apple\", \"grape\", \"apple\"]" }, { "from": "gpt", "value": "{\"Thought\": \...
[{"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 am planning a road trip. Can you tell me the distance between New York and Los Angeles?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the driving distance between New York and Los Angeles, so I can call calculate_distance and pass the sourc...
[{"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"]}}]
[ { "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": "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 1000 US dollars to Euros. 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 and pass the amount and currencies as arguments.\", \"Action\"...
[{"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "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 can call calculat...
[{"name": "create_event", "description": "Create a new event", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "date": {"type": "string", "description": "The date of the event"}, "location": {"type": "string", "description": "The location of the even...
[ { "from": "human", "value": "Can you please order a pizza for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I don't have the capability to perform external tasks like orderin...
[{"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The description of the todo task"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the todo task"}}, "required": ["task", "due_da...
[ { "from": "human", "value": "I need to create a new todo item. The task is to prepare a presentation for the next team meeting and the due date is 2022-03-15." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new todo item, so I can call create_todo and pass the task and due date...
[{"name": "get_movie_details", "description": "Get details of a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "release_year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["title"]}}]
[ { "from": "human", "value": "Hi, can you help me with some information? I want to know about the movie 'Inception'. Can you get me the details?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to fetch specific details about the movie 'Inception', so I can call get_movie_details and pass th...
[{"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 for job search"}, "location": {"type": "string", "description": "The location for job ...
[ { "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": "get_random_joke", "description": "Get a random joke from a specific category", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of the joke"}}}}]
[ { "from": "human", "value": "I need a good laugh. Can you tell me a joke from the category 'animals'?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find a joke from the category 'animals', so I can call get_random_joke and pass the category as an argument.\", \"Action\": {\"name\": \"...
[{"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\": \"The user requested a new password, so I can call generate_password and pass the desired length as an argument.\", \"Action...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the stock"}}, "required": ["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'm unable to perform external tasks such as ordering a pizza. My ...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI)", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight in kilograms"}, "height": {"type": "number", "description": "The height in meters"}}, "required": ["weight", "height"]}}]
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the BMI for given height and weight, so I can call calculate_bmi and pass the parameters.\", \"Action\": {\"nam...
[{"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 two cities, so I can call calculate_distance and pass the origin and destination as arguments.\", \"Action\": {\"name\...
[{"name": "send_email", "description": "Send an email to a specified 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", "des...
[ { "from": "human", "value": "I need to send an email to my boss. Can you help me with that? The recipient's email is boss@example.com. The subject is \"Monthly Report\" and the body should say \"Dear Boss, Please find attached the monthly report for your review. Best, [User]\"." }, { "from": "gpt", ...
[{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date of the person"}}, "required": ["birth_date"]}}]
[ { "from": "human", "value": "Hi, I was born on 1990-05-15. Can you tell me how old I am?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the age of the person based on their birth date, so I can call `calculate_age` with the birth date as an argument.\", \"Action\": {\"name\":...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the total bill and tip percentage", "parameters": {"type": "object", "properties": {"total_bill": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The tip percentage"}}, "required...
[ { "from": "human", "value": "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": "search_recipes", "description": "Search for recipes based on specified criteria", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to be used in the recipes"}, "dietary_restrictions": {"type": "array", "items": {"typ...
[ { "from": "human", "value": "Can you book a table for two at my favorite restaurant for tomorrow evening?" }, { "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 capabilit...
[{"name": "get_traffic_info", "description": "Get traffic information for a specific location", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to get traffic information for"}}, "required": ["location"]}}]
[ { "from": "human", "value": "Hi, I'm planning to drive to downtown Los Angeles. Can you tell me about the current traffic situation?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the current traffic situation in downtown Los Angeles, so I will call get_traffic_info and pass the l...
[{"name": "calculate_interest", "description": "Calculate the interest amount", "parameters": {"type": "object", "properties": {"principal_amount": {"type": "number", "description": "The principal amount"}, "interest_rate": {"type": "number", "description": "The interest rate"}, "time_period": {"type": "integer", "desc...
[ { "from": "human", "value": "Hi, I need to calculate the interest amount for a principal amount of $5000, with an interest rate of 5% for a period of 3 years. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"To determine the interest amount, I will use the calculate_inte...
[{"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price",...
[ { "from": "human", "value": "I saw a dress that I liked. It was originally priced at $200 but it's on a 20% discount. How much will it cost now?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the discounted price of the dress, so I can call calculate_discount and pass the original...
[{"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, I would like to know the current stock price of AAPL." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the current stock price of AAPL, so I can call get_stock_price and pass the symbol as an argument.\", \"Action\": {\"name\": \"get_stock_price\", \...
[{"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 have a sentence in French that I need translated to English. The sentence is \"Je suis très heureux de vous rencontrer\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to translate the French text to English, so I can call translate_text and pass the re...
[{"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The type of shape (e.g. circle, rectangle, triangle)"}, "dimensions": {"type": "object", "properties": {"radius": {"type": "number", "description": "The...
[ { "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 calculate the area of a rectangle, so I can call calculate_area and pass the length and width as arguments.\", \"Acti...
[{"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 percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentag...
[ { "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": "search_movie", "description": "Search for a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}, "year": {"type": "integer", "description": "The release year of the m...
[ { "from": "human", "value": "Can you help me find a movie? I am looking for a drama movie titled \"The Shawshank Redemption\" released in 1994." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the details of the movie \\\"The Shawshank Redemption,\\\" so I can call search_movie and ...
[{"name": "calculate_tip", "description": "Calculate the amount of tip based on the bill", "parameters": {"type": "object", "properties": {"total_bill": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "integer", "description": "The percentage of tip to be given"}}, "required": ["t...
[ { "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": "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\": \"To create a secure and random password, use generate_password with a specified length of 12 characters.\", \"Action\": {\"...
[{"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The annual income"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}]
[ { "from": "human", "value": "Hi, I need to calculate my tax for this year. My annual income is $75,000 and the tax rate is 20%." }, { "from": "gpt", "value": "{\"Thought\": \"I need to compute the tax amount based on the given income and tax rate, so I can call calculate_tax with the income and ...
[{"name": "convert_temperature", "description": "Convert temperature from one unit to another", "parameters": {"type": "object", "properties": {"temperature": {"type": "number", "description": "The temperature to be converted"}, "from_unit": {"type": "string", "description": "The original unit of temperature"}, "to_uni...
[ { "from": "human", "value": "Hi, I need to convert a temperature from Celsius to Fahrenheit. The temperature is 30 degrees Celsius." }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert the temperature from Celsius to Fahrenheit, so I can call convert_temperature and pass the temperat...
[{"name": "convert_temperature", "description": "Convert temperature from one unit to another", "parameters": {"type": "object", "properties": {"temperature": {"type": "number", "description": "The temperature value"}, "from_unit": {"type": "string", "description": "The unit to convert from"}, "to_unit": {"type": "stri...
[ { "from": "human", "value": "Hi, I need to convert a temperature from Fahrenheit to Celsius. The temperature is 98.6 degrees Fahrenheit." }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert the temperature from Fahrenheit to Celsius, so I can call convert_temperature and pass the tem...
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) for a person", "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"}}, "require...
[ { "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 determine the BMI value based on the provided height and weight, so I will use the calculate_bmi tool with the given argu...
[{"name": "search_recipes", "description": "Search for recipes based on specified criteria", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to be used in the recipes"}, "cuisine": {"type": "string", "description": "The cuisin...
[ { "from": "human", "value": "I'm looking for a vegetarian Italian recipe that uses tomatoes and has less than 500 calories. Can you help me find one?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find a recipe that meets the user's criteria, so I search for vegetarian Italian recipes ...
[{"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_date": {"type": "string", "format": "date-time", "description": "The start date and time of the event"}, "e...
[ { "from": "human", "value": "I need to schedule a meeting with my team. The title is \"Project Kickoff Meeting\". It should start on 2022-04-01 at 10:00 AM and end at 12:00 PM. The location is the Conference Room." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a calendar event f...
[{"name": "check_website_availability", "description": "Check if a website is accessible", "parameters": {"type": "object", "properties": {"website_url": {"type": "string", "description": "The URL of the website"}}, "required": ["website_url"]}}]
[ { "from": "human", "value": "Can you order a pizza for me from Domino's?" }, { "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 ...
[{"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", "format": "date-time", "description": "The start time of the event"}, "end_time":...
[ { "from": "human", "value": "I need to create a new event in my calendar. The title is \"Project Meeting\", the start time is \"2022-04-01T10:00:00\", and the end time is \"2022-04-01T12:00:00\"." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new event in the user's calendar, ...
[{"name": "convert_currency", "description": "Convert currency from one unit to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from": {"type": "string", "description": "The currency unit to convert from"}, "to": {"type": "string", "d...
[ { "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 USD to EUR, so I'll call convert_currency with the appropriate arguments.\", \"Action\": {\"name\": \"con...
[{"name": "calculate_loan_repayment", "description": "Calculate the monthly repayment amount for a loan", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate for the loan"...
[ { "from": "human", "value": "Hi, I need some help with a loan I'm considering. Sure, the loan amount is $50000, the interest rate is 5% annually, and the term is 10 years." }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the monthly repayment amount for the loan, so I can call ...
[{"name": "search_restaurants", "description": "Search for restaurants based on a given location and cuisine", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}, "cuisine": {"type": "string", "description": "The cuisine type"}, "price...
[ { "from": "human", "value": "I'm in New York and I'm craving for some Italian food. Can you find a restaurant for me?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find an Italian restaurant in New York for the user, so I can call search_restaurants and pass New York and Italian as ar...
[{"name": "get_movie_recommendations", "description": "Get movie recommendations based on user's preferences", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The preferred genre of movies"}, "release_year": {"type": "integer", "description": "The preferred release year of mo...
[ { "from": "human", "value": "Can you book a ticket for me for the next Lakers game?" }, { "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 funct...
[{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "The country for which headlines are required"}, "category": {"type": "string", "description": "The category of news"}}, "required": ["country", "c...
[ { "from": "human", "value": "Can you get me the latest news headlines from the United States in the category of politics?" }, { "from": "gpt", "value": "{\"Thought\": \"To provide the latest political news headlines from the United States, I will use the get_news_headlines tool with the specifie...
[{"name": "play_music", "description": "Play music from a specified playlist", "parameters": {"type": "object", "properties": {"playlist": {"type": "string", "description": "The name of the playlist"}}, "required": ["playlist"]}}]
[ { "from": "human", "value": "I want to listen to some music. Can you play my 'Chill Vibes' playlist?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to play the 'Chill Vibes' playlist for the user, so I can call play_music and pass the playlist name as an argument.\", \"Action\": {\"name\"...
[{"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The symbol of the stock"}}, "required": ["symbol"]}}]
[ { "from": "human", "value": "Hi, can you tell me the current price of Apple's stock?" }, { "from": "gpt", "value": "{\"Thought\": \"To obtain the current price of Apple's stock, I need to use the get_stock_price tool with the symbol \\\"AAPL\\\".\", \"Action\": {\"name\": \"get_stock_price\", \"...
[{"name": "generate_qr_code", "description": "Generate a QR code for a given content", "parameters": {"type": "object", "properties": {"content": {"type": "string", "description": "The content to be encoded in the QR code"}, "size": {"type": "integer", "description": "The size of the QR code image"}}, "required": ["con...
[ { "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 will call generate_qr_code and pass the content as \\\"www.mywebsite.com\\\".\", \"Action\...
[{"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 two locations, so I can call calculate_distance and pass the start and end locations as arguments.\", \"Action\":...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "requi...
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill total is $85 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the tip amount based on the bill total and tip percentage, so I can call calculate_tip and pass bill_total and ti...
[{"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"t...
[ { "from": "human", "value": "Hi, I need to convert 500 USD to EUR. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to find the equivalent amount in EUR for the provided USD, so I can call convert_currency and pass the amount and currencies as arguments.\", \"Acti...
[{"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": "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_discount", "description": "Calculate the discounted price of a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The percentage discount on the...
[ { "from": "human", "value": "I saw a jacket I liked in a store. It was originally priced at $200 but there's a 20% discount on it. Can you tell me how much it will cost after the discount?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to determine the final price of the jacket after appl...
[{"name": "calculate_tax", "description": "Calculate the amount of tax", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate as a percentage"}}, "required": ["income", "tax_rate"]}}]
[ { "from": "human", "value": "Hi, I need to calculate my tax. My income is $50000 and the tax rate is 20%." }, { "from": "gpt", "value": "{\"Thought\": \"I need to calculate the tax amount, so I can call calculate_tax and pass the income and tax_rate as arguments.\", \"Action\": {\"name\": \"calc...
[{"name": "convert_currency", "description": "Convert a certain amount of money from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount of money to be converted"}, "from_currency": {"type": "string", "description": "The currency to convert f...
[ { "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_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 as an AI, I don't have the capability to b...
[{"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_symbols": {"type": "boolean", "description": "Whether to include symbols in the password"}}, "required": ["leng...
[ { "from": "human", "value": "Can you please order a pizza for me from the nearby restaurant?" }, { "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 li...
[{"name": "search_jobs", "description": "Search for job openings based on title, company, or location", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for in job openings"}, "company": {"type": "string", "description": "The company name"}, "location":...
[ { "from": "human", "value": "Hi, I am looking for a job as a software engineer in Google, Mountain View." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find relevant job listings for a software engineer position at Google in Mountain View, so I can call `search_jobs` and pass the keywo...
[{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of the tip to calculate"}}, "required": [...
[ { "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 tip amount based on the bill total and the desired percentage, so I can call calculate_tip a...
[{"name": "generate_random_number", "description": "Generate a random number within a given range", "parameters": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum value"}, "max": {"type": "number", "description": "The maximum value"}}, "required": ["min", "max"]}}, {"name": "gener...
[ { "from": "human", "value": "I need a random number between 1 and 100." }, { "from": "gpt", "value": "{\"Thought\": \"I need to generate a random number within the specified range, so I can call generate_random_number and pass min and max as arguments.\", \"Action\": {\"name\": \"generate_random...
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total and tip percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be give...
[ { "from": "human", "value": "Hi, I need help calculating a tip. My bill total is $85 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"** I need to determine the amount for a 15% tip, so I can call calculate_tip and pass the bill total and tip percentage as arguments....
[{"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\": \"To determine the exact distance between New York and Los Angeles, I can call calculate_distance and pass the source and destination as arguments.\", \"Act...
[{"name": "search_product", "description": "Search for a product on an e-commerce website", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for the product"}, "category": {"type": "string", "description": "The category of the product"}}, "required": ["query"]...
[ { "from": "human", "value": "Hi, I am looking for a new laptop. Can you help me find one? I am looking for a Dell laptop with at least 8GB RAM and a good processor." }, { "from": "gpt", "value": "{\"Thought\": \"I need to find a Dell laptop that meets the user's specifications, so I can call sea...
[{"name": "calculate_average", "description": "Calculate the average of a list of numbers", "parameters": {"type": "object", "properties": {"numbers": {"type": "array", "items": {"type": "number"}, "description": "The list of numbers"}}, "required": ["numbers"]}}]
[ { "from": "human", "value": "Hi, I need help with some numbers. I have a list of numbers and I need to find the average. The numbers are 5, 10, 15, 20, 25." }, { "from": "gpt", "value": "{\"Thought\": \"\", \"Action\": {\"name\": \"calculate_average\", \"arguments\": {\"numbers\": [5, 10, 15, 20...
[{"name": "create_contact", "description": "Create a new contact", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the contact"}, "phone": {"type": "string", "description": "The phone number of the contact"}, "email": {"type": "string", "description": "The email ad...
[ { "from": "human", "value": "I need to create a new contact for my friend John Doe. His phone number is 123-456-7890 and his email is johndoe@example.com." }, { "from": "gpt", "value": "{\"Thought\": \"I need to create a new contact, so I can call create_contact and pass the name, phone, and ema...
[{"name": "search_books", "description": "Search for books based on a keyword", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}}, "required": ["keyword"]}}]
[ { "from": "human", "value": "I am looking for books on artificial intelligence. Can you help me find some?" }, { "from": "gpt", "value": "{\"Thought\": \"To find books on artificial intelligence, the tool `search_books` can be used with the keyword \\\"artificial intelligence\\\".\", \"Action\":...
[{"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 US dollars to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"I need to convert the amount from US dollars to Euros, so I can call convert_currency with the appropriate parameters.\", \"Action\": {\"name\": ...