Dataset Viewer
Auto-converted to Parquet Duplicate
tools
stringlengths
110
1.59k
conversations
listlengths
2
4
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) based on height and weight", "parameters": {"type": "object", "properties": {"height": {"type": "number", "description": "The height in meters"}, "weight": {"type": "number", "description": "The weight in kilograms"}}, "required": ["height", "weight"]}}]
[ { "from": "human", "value": "Hi, I want to know my BMI. I am 1.75 meters tall and weigh 70 kilograms." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: height is of type number, weig...
[{"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", "destination"]}}]
[ { "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", "description": "The currency to convert to"}}, "required": ["amount", "from_currency", "to_currency"]}}]
[ { "from": "human", "value": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool convert_currency to solve this problem. This involves providing the following parameters: amount is of type number, from_c...
[{"name": "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\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Ac...
[{"name": "calculate_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": {"type": "integer", "description": "The term of the loan in months"}}, "required": ["loan_amount", "interest_rate", "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 for the user"}}, "required": ["username", "email", "password"]}}, {"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", "destination"]}}]
[ { "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\": \"First, I need to use the tool create_user to solve this problem...
[{"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\": \"First, I need to use the tool analyze_text_language to solve this pro...
[{"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"}, "actor": {"type": "string", "description": "The preferred actor in movies"}}, "required": ["genre", "year", "actor"]}}]
[ { "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\": \"First, I need to use the tool get_movie_recommendations to solve this problem. This involves providing t...
[{"name": "generate_random_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}}, "required": ["length"]}}]
[ { "from": "human", "value": "Hi, I need a new password. Can you generate one for me? I would like it to be 12 characters long." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_random_password to solve this problem. This involves providing the following parame...
[{"name": "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"}}, "required": ["to", "subject", "body"]}}]
[ { "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\": \"Fir...
[{"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", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}]
[ { "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\": \"First, I need to use the tool calculate_loan_emis to solve this problem. Thi...
[{"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_calendar_event", "description": "Create a new calendar event", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "format": "date-time", "description": "The start time of the event"}, "end_time": {"type": "string", "format": "date-time", "description": "The end time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "start_time", "end_time"]}}]
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: weight is of t...
[{"name": "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\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following para...
[{"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 priority level of the todo item"}}, "required": ["title"]}}]
[ { "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\": \"First, I need to use the tool create_todo to solve this problem. This involves providi...
[{"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": "find_nearby_places", "description": "Find nearby places of interest", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the current location"}, "longitude": {"type": "number", "description": "The longitude of the current location"}, "radius": {"type": "integer", "description": "The search radius in meters"}, "category": {"type": "string", "description": "The category of places to search for"}}, "required": ["latitude", "longitude", "radius", "category"]}}]
[ { "from": "human", "value": "Hi, I need to calculate my BMI. I am 1.75 meters tall and weigh 70 kilograms." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: height is of type number,...
[{"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\": \"First, I need to use the tool search_book to solve this problem. This involves providing the following parameters: title is of t...
[{"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": ["first_name", "last_name"]}}]
[ { "from": "human", "value": "Hi, I need a unique username for my new account. My name is John Doe." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_username to solve this problem. This involves providing the following parameters: first_name is of type string,...
[{"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": "string", "description": "The currency to convert to"}}, "required": ["amount", "from_currency", "to_currency"]}}, {"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": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool convert_currency to solve this problem. This involves providing the following parameters: amount is of type number, from_c...
[{"name": "calculate_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": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query for movies"}, "genre": {"type": "string", "description": "The genre of the movies"}}}}]
[ { "from": "human", "value": "Hi, I would like to calculate my BMI. I weigh 75 kilograms and my height is 1.8 meters." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: weight is of ty...
[{"name": "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 location of the event"}}, "required": ["title", "date", "location"]}}]
[ { "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\": \"First, I need to use the tool create_event to solve this problem. This involves providing the following parameters: ...
[{"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", "tip_percentage"]}}]
[ { "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\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following ...
[{"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\": \"First, I need to use the tool get_news_headlines to solve this problem. This involves providing the following parameters: category is of type string, \", \"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": "What's the current price of Apple's stock?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: symbol is of type string, \", \"Action\": {\"name\": \"get...
[{"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 cooking time in minutes"}, "cuisine": {"type": "string", "description": "The cuisine of the recipe"}}, "required": ["ingredients"]}}]
[ { "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\": \"First, I need to use the tool search_recipes to solve this problem. This involves providing the following parameters: ingr...
[{"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": {"type": "string", "description": "The target language to translate the text into"}}, "required": ["text", "source_language", "target_language"]}}, {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "description": "The body of the email"}}, "required": ["recipient", "subject", "message"]}}]
[ { "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\": \"First, I need to use the tool translate_text to solve this problem. This involves providing th...
[{"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", "description": "The content of the email"}}, "required": ["recipient_email", "subject", "message"]}}]
[ { "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 the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "date", "time"]}}]
[ { "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\": \"First, I need to use the tool create_event to solve ...
[{"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\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Ac...
[{"name": "calculate_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", "destination"]}}]
[ { "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": "The content of the email"}}, "required": ["recipient", "subject", "body"]}}]
[ { "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", "description": "The length of the shape"}, "width": {"type": "number", "description": "The width of the shape"}, "radius": {"type": "number", "description": "The radius of the shape"}}, "required": ["length", "width", "radius"]}}, "required": ["shape", "dimensions"]}}]
[ { "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\": \"First, I need to use the tool calculate_area to solve this problem. This involves providing the following parameters: shape is ...
[{"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", "tip_percentage"]}}]
[ { "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\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters:...
[{"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", "destination"]}}]
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: origin is of type string, destin...
[{"name": "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", "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": "The due date of the todo item"}, "priority": {"type": "string", "description": "The priority level of the todo item"}}, "required": ["title", "due_date"]}}]
[ { "from": "human", "value": "I am looking for a book on gardening by Martha Stewart. Can you help me find it?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool search_books to solve this problem. This involves providing the following parameters: query is of type string...
[{"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", "tip_percentage"]}}]
[ { "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"}}, "required": ["to", "subject", "body"]}}, {"name": "generate_invoice", "description": "Generate an invoice for a 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", "description": "The name of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}, "price": {"type": "number", "description": "The price of the item"}}, "required": ["name", "quantity", "price"]}, "description": "The items in the invoice"}}, "required": ["customer_name", "items"]}}]
[ { "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": ["text", "algorithm"]}}, {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape to calculate the area for"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the shape"}, "width": {"type": "number", "description": "The width of the shape"}}, "required": ["length", "width"]}}, "required": ["shape", "dimensions"]}}]
[ { "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\": \"First, I need to use the tool encrypt_text to solve this problem. This involves providi...
[{"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": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "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 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", "description": "The number of people to split the bill with"}}, "required": ["bill_amount", "tip_percentage"]}}]
[ { "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": {"type": "boolean", "description": "Include symbols in the password"}}, "required": ["length"]}}]
[ { "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\": \"First, I need to use the tool generate_random_password to solve this problem. This involv...
[{"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": {"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 tell me the current traffic situation in New York, NY?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_traffic_info to solve this problem. This involves providing the following parameters: location is of type string, \", \"Act...
[{"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": "The grade received in the course"}, "credit_hours": {"type": "number", "description": "The credit hours of the course"}}, "required": ["course", "grade", "credit_hours"]}}}, "required": ["grades"]}}]
[ { "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 genre of the book"}}}}, {"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The name of the company"}}, "required": ["company"]}}]
[ { "from": "human", "value": "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\": \"First, I need to use the tool search_books to solve this problem. This involves providing the ...
[{"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", "description": "The due date of the todo item"}}, "required": ["title"]}}]
[ { "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\": \"First, I need to use the tool search_recipes to solve this problem. This involves providing the following parameters: ingredients is of type array, \...
[{"name": "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 of the email"}}, "required": ["to", "subject", "body"]}}]
[ { "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": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "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. 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\": \"First, I need to use the tool search_book to solve this problem. This inv...
[{"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\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: date_of_birth is of type string, \", ...
[{"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\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Acti...
[{"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", "destination"]}}]
[ { "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": "play_music", "description": "Play music from a specific genre or artist", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of music"}, "artist": {"type": "string", "description": "The name of the artist"}}}}]
[ { "from": "human", "value": "Hi, I need help with calculating a tip. My bill amount is $50 and I want to leave a 15% tip." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters: bill_amoun...
[{"name": "generate_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", "max"]}}]
[ { "from": "human", "value": "Can you please order a pizza for me?" }, { "from": "gpt", "value": "{\"Thought\": \"There are no relevant tools to solve this problem.\", \"Action\": {\"name\": \"Finish\", \"value\": \"I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My 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\": \"First, I need to use the tool get_definition to solve this problem. This involves providing the following parameters: word is of type string, \", \"Action\": {\"name\": \"get_defini...
[{"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"}, "rating": {"type": "number", "description": "The minimum rating of the movie"}}, "required": ["genre"]}}]
[ { "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\": \"First, I need to use the tool recommend_movie ...
[{"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 date of the invoice"}}, "required": ["client_name", "amount"]}}]
[ { "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\": \"First, I need to use the tool create_invoice to solve this problem. This involves providing the following param...
[{"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": "The percentage of discount to be applied"}}, "required": ["original_price", "discount_percentage"]}}]
[ { "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_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", "destination"]}}]
[ { "from": "human", "value": "Can you tell me about the movie 'Inception' released in 2010?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_movie_details to solve this problem. This involves providing the following parameters: title is of type string, year is of t...
[{"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\": \"First, I need to use the tool get_movie_details to solve this problem. This involves providing the following parameters: title is of type string, \", \"Action\": {\"name\": ...
[{"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 password (e.g. low, medium, high)"}}, "required": ["length"]}}, {"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": "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\": \"First, I need to use the tool generate_password to solve this problem. This involves providing the followi...
[{"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_amount", "tip_percentage"]}}]
[ { "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\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters: bill_amount is of...
[{"name": "calculate_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", "destination"]}}]
[ { "from": "human", "value": "Hi, I need to know the distance between New York and Los Angeles." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_distance to solve this problem. This involves providing the following parameters: origin is of type string, destin...
[{"name": "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", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of music to play"}, "mood": {"type": "string", "description": "The mood of the music to play"}}, "required": ["genre", "mood"]}}]
[ { "from": "human", "value": "Can you find details about the movie \"Inception\"?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool find_movie_details to solve this problem. This involves providing the following parameters: title is of type string, \", \"Action\": {\"na...
[{"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 amount, interest rate, and term", "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": "integer", "description": "The term of the loan in months"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}]
[ { "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\": \"First, I need to use the tool create_todo to solve this problem. This involves providing the following parameters: task is...
[{"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": "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 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\": \"First, I need to use the tool generate_qrcode to solve this problem. This involves providing the following ...
[{"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", "description": "The location to filter the job openings"}}, "required": ["keywords"]}}]
[ { "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\": \"First, I need to use the tool search_jobs to solve this problem. This involves providing the following parameters: ke...
[{"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\": \"First, I need to use the tool get_definition to solve this problem. This involves providing the following parameters: word is of type string, \", \"Action\": {\"name\": \"get_defini...
[{"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", "enum": ["high", "medium", "low"], "description": "The priority of the todo item"}}, "required": ["title"]}}]
[ { "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\": \"First, I need to use the tool create_todo to solve this problem. This involves providing the ...
[{"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": {"type": "string", "description": "The target language to translate the text to"}}, "required": ["text", "source_language", "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\": \"First, I need to use the tool translate_text to solve this problem. This involves providing the following parameters: tex...
[{"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 listed"}}, "required": ["company_name", "stock_exchange"]}}]
[ { "from": "human", "value": "Hi, I would like to know the current stock price of Apple listed on NASDAQ." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: company_name is of type s...
[{"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\": \"First, I need to use the tool create_todo to solve this problem. This involves providing the following parameters: task is of...
[{"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\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parame...
[{"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min_value": {"type": "integer", "description": "The minimum value of the range"}, "max_value": {"type": "integer", "description": "The maximum value of the range"}}, "required": ["min_value", "max_value"]}}]
[ { "from": "human", "value": "Hi, I need a random number between 1 and 100." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool generate_random_number to solve this problem. This involves providing the following parameters: min_value is of type integer, max_value is of ty...
[{"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": "integer", "description": "The loan term in months"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}, {"name": "play_music", "description": "Play music based on genre", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of music to be played"}}, "required": ["genre"]}}]
[ { "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\": \"First, I need to use the tool calculate_loan_payment to solve this p...
[{"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", "tip_percentage"]}}]
[ { "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\": \"First, I need to use the tool calculate_tip to solve this problem. This involves providing the following parameters: t...
[{"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\": \"First, I need to use the tool get_definition to solve this problem. This involves providing the following parameters: word is of type string, \", \"Action\": {\"name\": \...
[{"name": "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_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount in dollars"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in months"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}]
[ { "from": "human", "value": "Hi, I need help with some addition. Can you add 5 and 7 for me?" }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool add_numbers to solve this problem. This involves providing the following parameters: num1 is of type number, num2 is of type n...
[{"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"}, "time": {"type": "string", "description": "The time of the reminder in HH:MM format"}}, "required": ["title", "date", "time"]}}]
[ { "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": "number", "description": "The loan term in years"}}, "required": ["principal", "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 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\": \"First, I need to use the tool generate_qr_code to solve this problem. This involves providing the following parameters: text is of type string, size is of...
[{"name": "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\": \"First, I need to use the tool calculate_age to solve this problem. This involves providing the following parameters: birthdate is of type string, \", \"Acti...
[{"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"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}]
[ { "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 array"}}, "required": ["array1", "array2"]}}]
[ { "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\": \"First, I need to use the tool find_common_elements to sol...
[{"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\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: weight is of type number, ...
[{"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": {"type": "number", "description": "The loan term in years"}}, "required": ["principal", "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": "The genre of the book"}, "language": {"type": "string", "description": "The language of the book"}}, "required": ["title"]}}, {"name": "generate_random_username", "description": "Generate a random username", "parameters": {"type": "object", "properties": {}, "required": []}}]
[ { "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\": \"First, I need to use the tool search_books to solve this problem. This involves providing the...
[{"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\": \"First, I need to use the tool calculate_bmi to solve this problem. This involves providing the following parameters: weight is of type number, ...
[{"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", "description": "The name of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}, "price": {"type": "number", "description": "The price per unit of the item"}}, "required": ["name", "quantity", "price"]}}}, "required": ["customer_name", "items"]}}]
[ { "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\": \"First, I need to use the tool generate_invoice to solve this problem. This involves providing...
[{"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\": \"First, I need to use the tool get_stock_price to solve this problem. This involves providing the following parameters: symbol is of type string, \", \"Action\": {\"na...
[{"name": "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_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage discount"}}, "required": ["original_price", "discount_percentage"]}}]
[ { "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\": \"First, I need to use the tool search_movies to solve this problem. This involves providing the following parameters: query is of ...
[{"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": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}, {"name": "calculate_distance", "description": "Calculate the distance between two locations", "parameters": {"type": "object", "properties": {"location1": {"type": "string", "description": "The first location"}, "location2": {"type": "string", "description": "The second location"}}, "required": ["location1", "location2"]}}]
[ { "from": "human", "value": "Hi, I need help with calculating my loan payment. Sure, the loan amount is $50000, the annual interest rate is 5% and the loan term is 10 years." }, { "from": "gpt", "value": "{\"Thought\": \"First, I need to use the tool calculate_loan_payment to solve this problem....
[{"name": "calculate_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", "description": "The end time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["event_title", "start_time", "end_time"]}}]
[ { "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\": \"First, I need to use the tool cr...
[{"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"}}, "required": ["original_price", "discount_percentage"]}}, {"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 the movie was released"}}, "required": ["title", "year"]}}]
[ { "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\": \"First, I need to use the tool calculate_discount to solve this problem. This involves providing th...
End of preview. Expand in Data Studio

Data from hiyoga Function Calling

Downloads last month
7