prompt
list | completion
stringlengths 42
191
| tools
stringlengths 434
1.43k
| category
stringclasses 22
values | task
stringlengths 14
59
| source
stringclasses 1
value |
---|---|---|---|---|---|
[
{
"content": "Hi, I need to calculate the interest on a loan I'm considering. The principal amount is $5000, the interest rate is 5% and the loan period is 3 years. Can you help me with that?",
"role": "user"
}
] | {"name": "calculate_interest", "arguments": {"principal": 5000, "rate": 5, "time": 3}} | [{"type": "function", "function": {"name": "calculate_interest", "description": "Calculate the interest on a loan or investment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount"}, "rate": {"type": "number", "description": "The interest rate"}, "time": {"type": "number", "description": "The time period in years"}}, "required": ["principal", "rate", "time"]}}}, {"type": "function", "function": {"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 source currency code"}, "to_currency": {"type": "string", "description": "The target currency code"}}, "required": ["amount", "from_currency", "to_currency"]}}}] | Loan and Financial Calculations | Calculating Loan Interest | Glaive |
[
{
"content": "I am looking for a laptop under $1000. Can you help me find one?",
"role": "user"
}
] | {"name": "search_products", "arguments": {"name": "laptop", "category": "electronics", "price_range": {"min": 0, "max": 1000}}} | [{"type": "function", "function": {"name": "search_products", "description": "Search for products based on given criteria", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the product"}, "category": {"type": "string", "description": "The category of the product"}, "price_range": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum price range"}, "max": {"type": "number", "description": "The maximum price range"}}}}, "required": []}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in the format YYYY-MM-DD"}}, "required": ["birthdate"]}}}] | Technology | Laptop and Electronics Shopping | Glaive |
[
{
"content": "Hi, I need to convert a temperature from Fahrenheit to Celsius. The temperature is 98.6 degrees.",
"role": "user"
}
] | {"name": "convert_temperature", "arguments": {"temperature": 98.6, "from_unit": "Fahrenheit", "to_unit": "Celsius"}} | [{"type": "function", "function": {"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 current unit of temperature"}, "to_unit": {"type": "string", "description": "The desired unit of temperature"}}, "required": ["temperature", "from_unit", "to_unit"]}}}, {"type": "function", "function": {"name": "create_invoice", "description": "Create an invoice for a client", "parameters": {"type": "object", "properties": {"client_name": {"type": "string", "description": "The name of the client"}, "amount": {"type": "number", "description": "The invoice amount"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the invoice"}}, "required": ["client_name", "amount", "due_date"]}}}] | Flight Services | Temperature Conversion and Booking Requests | Glaive |
[
{
"content": "Hi, I need to know the distance between New York and Los Angeles.",
"role": "user"
}
] | {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to translate"}, "source_language": {"type": "string", "description": "The source language of the text"}, "target_language": {"type": "string", "description": "The target language for the translation"}}, "required": ["text", "source_language", "target_language"]}}}] | Location Services | Distance between New York and Chicago | Glaive |
[
{
"content": "I have some chicken, tomatoes, and garlic. What can I cook with these?",
"role": "user"
}
] | {"name": "search_recipe", "arguments": {"ingredients": ["chicken", "tomatoes", "garlic"]}} | [{"type": "function", "function": {"name": "search_recipe", "description": "Search for a recipe based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients available"}}, "required": ["ingredients"]}}}, {"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a specified range", "parameters": {"type": "object", "properties": {"min": {"type": "integer", "description": "The minimum value of the range"}, "max": {"type": "integer", "description": "The maximum value of the range"}}, "required": ["min", "max"]}}}] | Recipe Collections | Chicken and Vegetable Recipe Ideas | Glaive |
[
{
"content": "Can you check the status of flight BA 2156 for tomorrow?",
"role": "user"
}
] | {"name": "check_flight_status", "arguments": {"flight_number": "BA 2156", "date": "tomorrow"}} | [{"type": "function", "function": {"name": "check_flight_status", "description": "Check the status of a flight", "parameters": {"type": "object", "properties": {"flight_number": {"type": "string", "description": "The flight number"}, "date": {"type": "string", "description": "The date of the flight"}}, "required": ["flight_number", "date"]}}}, {"type": "function", "function": {"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"]}}}] | Flight Services | Flight Status Inquiries | Glaive |
[
{
"content": "I'm looking for a vegan Italian recipe.",
"role": "user"
}
] | {"name": "search_recipe", "arguments": {"query": "vegan", "cuisine": "Italian"}} | [{"type": "function", "function": {"name": "search_recipe", "description": "Search for a recipe", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}, "cuisine": {"type": "string", "description": "The cuisine type (e.g. Italian, Mexican)"}, "diet": {"type": "string", "description": "The diet type (e.g. vegetarian, vegan)"}}, "required": ["query"]}}}, {"type": "function", "function": {"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"]}}}] | Recipe Collections | Vegetarian Pasta Recipes | Glaive |
[
{
"content": "I'm looking for a comedy movie to watch, any suggestions?",
"role": "user"
}
] | {"name": "search_movies", "arguments": {"search_query": "comedy"}} | [{"type": "function", "function": {"name": "search_movies", "description": "Search for movies by title or genre", "parameters": {"type": "object", "properties": {"search_query": {"type": "string", "description": "The title or genre of the movie to search for"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["search_query"]}}}, {"type": "function", "function": {"name": "encrypt_text", "description": "Encrypt a given text using a specific 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"]}}}] | Movie | Movie Recommendations from 2015 | Glaive |
[
{
"content": "I need to create an invoice for a customer named John Doe. He bought 2 apples for $1 each and 3 oranges for $2 each.",
"role": "user"
}
] | {"name": "create_invoice", "arguments": {"customer_name": "John Doe", "items": [{"name": "apple", "quantity": 2, "price": 1}, {"name": "orange", "quantity": 3, "price": 2}]}} | [{"type": "function", "function": {"name": "create_invoice", "description": "Create a new 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"]}}}, {"type": "function", "function": {"name": "calculate_sales_tax", "description": "Calculate the sales tax on a purchase", "parameters": {"type": "object", "properties": {"purchase_amount": {"type": "number", "description": "The total purchase amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["purchase_amount", "tax_rate"]}}}] | Code Generation | Invoice Generation for Various Customers | Glaive |
[
{
"content": "I saw a dress that I liked. It was originally priced at $100 but it's on a 20% discount. Can you tell me how much it will cost after the discount?",
"role": "user"
}
] | {"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}} | [{"type": "function", "function": {"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 applied"}}, "required": ["original_price", "discount_percentage"]}}}, {"type": "function", "function": {"name": "perform_google_search", "description": "Perform a Google search", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}}, "required": ["query"]}}}] | Shopping and Finance Calculations | Calculating Discounted Prices | Glaive |
[
{
"content": "Hi, I need to convert 1000 US dollars to Euros. Can you help me with that?",
"role": "user"
}
] | {"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age of a person based on their date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth of the person"}}, "required": ["date_of_birth"]}}}] | Flight Services | Currency Conversion Queries | Glaive |
[
{
"content": "I'm bored. Can you tell me something interesting?",
"role": "user"
}
] | {"name": "get_random_fact", "arguments": {}} | [{"type": "function", "function": {"name": "get_random_fact", "description": "Get a random fact", "parameters": {"type": "object", "properties": {}, "required": []}}}, {"type": "function", "function": {"name": "generate_invoice", "description": "Generate an invoice for a product or service", "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"}, "price": {"type": "number", "description": "The price of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}}, "required": ["name", "price", "quantity"]}}}, "required": ["customer_name", "items"]}}}] | History and Culture | Interesting Facts | Glaive |
[
{
"content": "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?",
"role": "user"
}
] | {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}} | [{"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discount amount", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}}, {"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount based on the bill total and percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_total", "tip_percentage"]}}}] | Shopping and Finance Calculations | Calculating Jacket Discounts | Glaive |
[
{
"content": "Can you find me some news on the latest technology trends?",
"role": "user"
}
] | {"name": "search_news", "arguments": {"keywords": "latest technology trends"}} | [{"type": "function", "function": {"name": "search_news", "description": "Search for news articles based on keywords or category", "parameters": {"type": "object", "properties": {"keywords": {"type": "string", "description": "The search keywords"}, "category": {"type": "string", "description": "The news category"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "generate_meme", "description": "Generate a meme with custom text and image", "parameters": {"type": "object", "properties": {"top_text": {"type": "string", "description": "The text at the top of the meme"}, "bottom_text": {"type": "string", "description": "The text at the bottom of the meme"}, "image_url": {"type": "string", "description": "The URL of the image for the meme"}}, "required": ["top_text", "bottom_text", "image_url"]}}}] | History and Culture | News and Trend Analysis | Glaive |
[
{
"content": "I am looking for books on artificial intelligence. Can you help me find some?",
"role": "user"
}
] | {"name": "search_books", "arguments": {"keyword": "artificial intelligence"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a range", "parameters": {"type": "object", "properties": {"min": {"type": "number", "description": "The minimum value for the random number"}, "max": {"type": "number", "description": "The maximum value for the random number"}}, "required": ["min", "max"]}}}] | Machine Learning | Books on Artificial Intelligence | Glaive |
[
{
"content": "I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units.",
"role": "user"
}
] | {"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "width": 5}}} | [{"type": "function", "function": {"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 radius of the circle"}, "length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}, "base": {"type": "number", "description": "The base of the triangle"}, "height": {"type": "number", "description": "The height of the triangle"}}}}, "required": ["shape", "dimensions"]}}}, {"type": "function", "function": {"name": "generate_invoice", "description": "Generate an invoice for a client", "parameters": {"type": "object", "properties": {"client_name": {"type": "string", "description": "The name of the client"}, "items": {"type": "array", "items": {"type": "object", "properties": {"description": {"type": "string", "description": "The description of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}, "price": {"type": "number", "description": "The price per unit of the item"}}, "required": ["description", "quantity", "price"]}}, "tax_rate": {"type": "number", "description": "The tax rate to be applied"}}, "required": ["client_name", "items"]}}}] | Mathematics | Calculating Area of Shapes | Glaive |
[
{
"content": "I'm feeling a bit down today. Can you share something inspiring?",
"role": "user"
}
] | {"name": "generate_random_quote", "arguments": {}} | [{"type": "function", "function": {"name": "generate_random_quote", "description": "Generate a random inspirational quote", "parameters": {"type": "object", "properties": {}, "required": []}}}, {"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (title or genre)"}, "year": {"type": "integer", "description": "The release year of the movies"}}, "required": ["query"]}}}] | History and Culture | Cheerful Quote Sharing | Glaive |
[
{
"content": "Hi, I need to know the definition of 'Neural Network' in the domain of 'Computer Science'.",
"role": "user"
}
] | {"name": "get_definition", "arguments": {"term": "Neural Network", "domain": "Computer Science"}} | [{"type": "function", "function": {"name": "get_definition", "description": "Get the definition of a term from a specific domain", "parameters": {"type": "object", "properties": {"term": {"type": "string", "description": "The term to get the definition for"}, "domain": {"type": "string", "description": "The specific domain to search for the term"}}, "required": ["term", "domain"]}}}, {"type": "function", "function": {"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"]}}}] | Science Education | Explaining Technology and Concepts | Glaive |
[
{
"content": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?",
"role": "user"
}
] | {"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "search_restaurants", "description": "Search for restaurants 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 to search for"}}, "required": ["location", "cuisine"]}}}] | Flight Services | Currency Conversion Requests | Glaive |
[
{
"content": "Hi, I have a Toyota Corolla and I've traveled about 500 kilometers. Can you tell me how much carbon emissions my car has produced?",
"role": "user"
}
] | {"name": "calculate_car_emissions", "arguments": {"car_make": "Toyota", "car_model": "Corolla", "distance_traveled": 500}} | [{"type": "function", "function": {"name": "calculate_car_emissions", "description": "Calculate the carbon emissions of a car", "parameters": {"type": "object", "properties": {"car_make": {"type": "string", "description": "The make of the car"}, "car_model": {"type": "string", "description": "The model of the car"}, "distance_traveled": {"type": "number", "description": "The distance traveled in kilometers"}}, "required": ["car_make", "car_model", "distance_traveled"]}}}, {"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape ('circle', 'rectangle', 'triangle')"}, "radius": {"type": "number", "description": "The radius of the circle"}, "length": {"type": "number", "description": "The length of the rectangle or triangle"}, "width": {"type": "number", "description": "The width of the rectangle"}, "base": {"type": "number", "description": "The base of the triangle"}, "height": {"type": "number", "description": "The height of the triangle"}}, "required": ["shape"]}}}] | Climate and Environmental Solutions | Carbon Footprint Calculation and Fuel Efficiency | Glaive |
[
{
"content": "Can you analyze the sentiment of this text for me? \"I am feeling really happy today!\"",
"role": "user"
}
] | {"name": "analyze_sentiment", "arguments": {"text": "I am feeling really happy today!", "language": "English"}} | [{"type": "function", "function": {"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}, "language": {"type": "string", "description": "The language of the text"}}, "required": ["text"]}}}, {"type": "function", "function": {"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"]}}}] | Natural Language Processing | Sentiment Analysis Requests | Glaive |
[
{
"content": "I am looking for a job in the tech industry in San Francisco. Can you help me find some?",
"role": "user"
}
] | {"name": "search_jobs", "arguments": {"location": "San Francisco", "keywords": ["tech"], "industry": "Technology"}} | [{"type": "function", "function": {"name": "search_jobs", "description": "Search for job listings based on location, keywords, or industry", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The desired job location"}, "keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords related to the job"}, "industry": {"type": "string", "description": "The desired industry for the job"}}, "required": []}}}, {"type": "function", "function": {"name": "convert_currency", "description": "Convert currency from one type to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_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"]}}}] | Machine Learning | Job Openings in Data Science and Machine Learning | Glaive |
[
{
"content": "I'm looking for a book about space exploration. Can you help me find one?",
"role": "user"
}
] | {"name": "search_books", "arguments": {"keyword": "space exploration"}} | [{"type": "function", "function": {"name": "search_books", "description": "Search for books based on keyword", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}, "author": {"type": "string", "description": "The author's name"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"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"]}}}] | Exploration | Book Recommendations: Space Exploration and Science Fiction | Glaive |
[
{
"content": "Hi, I need a new UUID for my project. Can you generate one for me?",
"role": "user"
}
] | {"name": "generate_uuid", "arguments": {}} | [{"type": "function", "function": {"name": "generate_uuid", "description": "Generate a Universally Unique Identifier (UUID)", "parameters": {"type": "object", "properties": {}, "required": []}}}, {"type": "function", "function": {"name": "generate_username", "description": "Generate a unique username", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the user"}, "suffix": {"type": "string", "description": "The suffix to be appended to the username"}}, "required": ["name", "suffix"]}}}] | Code Generation | Generating Unique Project Identifiers | Glaive |
[
{
"content": "I am looking for a book but I can't remember the title. The author's name is George Orwell.",
"role": "user"
}
] | {"name": "search_books", "arguments": {"author": "George Orwell"}} | [{"type": "function", "function": {"name": "search_books", "description": "Search for books based on title, author, or genre", "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"}}, "required": []}}}, {"type": "function", "function": {"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"]}}}] | Book Search | George Orwell Book Recommendations | Glaive |
[
{
"content": "Hi, I need to translate a sentence from English to Spanish. The sentence is \"Hello, how are you?\"",
"role": "user"
}
] | {"name": "translate_text", "arguments": {"text": "Hello, how are you?", "source_language": "English", "target_language": "Spanish"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event in yyyy-mm-dd hh:mm format"}, "end_time": {"type": "string", "description": "The end time of the event in yyyy-mm-dd hh:mm format"}}, "required": ["title", "start_time", "end_time"]}}}] | Flight Services | Translation Assistance | Glaive |
[
{
"content": "Hi, I need to calculate the area of a rectangle. The length is 10 units and the breadth is 5 units.",
"role": "user"
}
] | {"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 10, "breadth": 5}}} | [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a given shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which area needs to be calculated"}, "dimensions": {"type": "object", "description": "The dimensions required to calculate the area"}}, "required": ["shape", "dimensions"]}}}, {"type": "function", "function": {"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition for"}}, "required": ["word"]}}}] | Mathematics | Calculating Area of Rectangle and Circle | Glaive |
[
{
"content": "Hi, I saw a dress that I liked in a store. It costs $200 but there's a 20% discount. Can you tell me how much it will cost after the discount?",
"role": "user"
}
] | {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_rate": 20}} | [{"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price based on original price and discount rate", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_rate": {"type": "number", "description": "The discount rate in percentage"}}, "required": ["original_price", "discount_rate"]}}}, {"type": "function", "function": {"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"}, "message": {"type": "string", "description": "The content of the email"}}, "required": ["recipient", "subject", "message"]}}}] | Shopping and Finance Calculations | Calculating Dress Discounts | Glaive |
[
{
"content": "I have a monthly subscription of $50. I want to know how much I will end up paying if I keep the subscription for 2 years.",
"role": "user"
}
] | {"name": "calculate_recurring_payment", "arguments": {"amount": 50, "frequency": "monthly", "duration": 24}} | [{"type": "function", "function": {"name": "calculate_recurring_payment", "description": "Calculate the total payment for a recurring expense", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount of the recurring payment"}, "frequency": {"type": "string", "description": "The frequency of the recurring payment (e.g. daily, weekly, monthly)"}, "duration": {"type": "integer", "description": "The duration of the recurring payment in months"}}, "required": ["amount", "frequency", "duration"]}}}, {"type": "function", "function": {"name": "get_nearby_restaurants", "description": "Get a list of nearby restaurants", "parameters": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude coordinate"}, "longitude": {"type": "number", "description": "The longitude coordinate"}, "radius": {"type": "integer", "description": "The radius in meters"}}, "required": ["latitude", "longitude", "radius"]}}}] | Shopping and Finance Calculations | Calculating Tips for $50 Bill | Glaive |
[
{
"content": "I am looking for books by J.K. Rowling.",
"role": "user"
}
] | {"name": "search_books", "arguments": {"query": "J.K. Rowling"}} | [{"type": "function", "function": {"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query to find books"}}, "required": ["query"]}}}, {"type": "function", "function": {"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"]}}}] | Book Search | Finding and Ordering J.K. Rowling Books | Glaive |
[
{
"content": "Hi, I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units.",
"role": "user"
}
] | {"name": "calculate_area", "arguments": {"length": 10, "width": 5}} | [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a rectangle", "parameters": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}}, "required": ["length", "width"]}}}, {"type": "function", "function": {"name": "schedule_meeting", "description": "Schedule a meeting with participants", "parameters": {"type": "object", "properties": {"participants": {"type": "array", "items": {"type": "string"}, "description": "The participants of the meeting"}, "date": {"type": "string", "description": "The date of the meeting"}, "time": {"type": "string", "description": "The time of the meeting"}}, "required": ["participants", "date", "time"]}}}] | Mathematics | Calculating Areas of Squares and Rectangles | Glaive |
[
{
"content": "Can you find me a quote by Albert Einstein?",
"role": "user"
}
] | {"name": "search_quotes", "arguments": {"author": "Albert Einstein"}} | [{"type": "function", "function": {"name": "search_quotes", "description": "Search for quotes based on author or topic", "parameters": {"type": "object", "properties": {"author": {"type": "string", "description": "The author of the quote"}, "topic": {"type": "string", "description": "The topic of the quote"}}, "required": []}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate in YYYY-MM-DD format"}}, "required": ["birthdate"]}}}] | History and Culture | Motivational and Inspirational Quotes | Glaive |
[
{
"content": "Hi, can you check if the word 'racecar' is a palindrome?",
"role": "user"
}
] | {"name": "check_palindrome", "arguments": {"word": "racecar"}} | [{"type": "function", "function": {"name": "check_palindrome", "description": "Check if a word is a palindrome", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to check"}}, "required": ["word"]}}}, {"type": "function", "function": {"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"]}}}] | Request Management | Palindrome Checking | Glaive |
[
{
"content": "What is the definition of the word 'serendipity'?",
"role": "user"
}
] | {"name": "get_definition", "arguments": {"word": "serendipity"}} | [{"type": "function", "function": {"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition for"}}, "required": ["word"]}}}, {"type": "function", "function": {"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"]}}}] | Language and Linguistics | Exploring Word Meanings | Glaive |
[
{
"content": "Hi, I want to create a new email address. Can you check if john.doe@gmail.com is available?",
"role": "user"
}
] | {"name": "check_email_availability", "arguments": {"email": "john.doe@gmail.com"}} | [{"type": "function", "function": {"name": "check_email_availability", "description": "Check the availability of an email address", "parameters": {"type": "object", "properties": {"email": {"type": "string", "description": "The email address to check"}}, "required": ["email"]}}}, {"type": "function", "function": {"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The list of ingredients"}, "cuisine": {"type": "string", "description": "The cuisine type"}}, "required": ["ingredients"]}}}] | Request Management | Email Address Verification and Assistance | Glaive |
[
{
"content": "Can you tell me the current stock price of AAPL?",
"role": "user"
}
] | {"name": "get_stock_price", "arguments": {"stock_symbol": "AAPL"}} | [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"stock_symbol": {"type": "string", "description": "The symbol of the stock, e.g. AAPL"}}, "required": ["stock_symbol"]}}}, {"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentage"]}}}] | Stocks and Orders | Checking Stock Prices | Glaive |
[
{
"content": "Can you find me some news articles about the recent Mars Rover landing?",
"role": "user"
}
] | {"name": "search_news", "arguments": {"keywords": ["Mars Rover landing"]}} | [{"type": "function", "function": {"name": "search_news", "description": "Search for news articles based on keywords", "parameters": {"type": "object", "properties": {"keywords": {"type": "array", "items": {"type": "string"}, "description": "The keywords to search for in news articles"}}, "required": ["keywords"]}}}, {"type": "function", "function": {"name": "track_expenses", "description": "Track expenses and calculate total spending", "parameters": {"type": "object", "properties": {"expenses": {"type": "array", "items": {"type": "number"}, "description": "List of expenses"}}, "required": ["expenses"]}}}] | Stocks and Orders | Mars Rover Landing News | Glaive |
[
{
"content": "Hi, I need a unique username for my new account. My name is John Doe.",
"role": "user"
}
] | {"name": "generate_username", "arguments": {"name": "John Doe"}} | [{"type": "function", "function": {"name": "generate_username", "description": "Generate a unique username", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name to generate username for"}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "generate_random_number", "description": "Generate a random number within a given 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"]}}}] | Request Management | Username Generation for John | Glaive |
[
{
"content": "I need to calculate the area of a triangle with a base of 10 units and a height of 5 units.",
"role": "user"
}
] | {"name": "calculate_triangle_area", "arguments": {"base": 10, "height": 5}} | [{"type": "function", "function": {"name": "calculate_triangle_area", "description": "Calculate the area of a triangle", "parameters": {"type": "object", "properties": {"base": {"type": "number", "description": "The length of the base of the triangle"}, "height": {"type": "number", "description": "The height of the triangle"}}, "required": ["base", "height"]}}}, {"type": "function", "function": {"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"]}}}] | Mathematics | Area and Volume Calculations | Glaive |
[
{
"content": "What is the definition of the word 'serendipity'?",
"role": "user"
}
] | {"name": "get_definition", "arguments": {"word": "serendipity"}} | [{"type": "function", "function": {"name": "get_definition", "description": "Get the definition of a word from a dictionary", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition of"}}, "required": ["word"]}}}, {"type": "function", "function": {"name": "calculate_sales_tax", "description": "Calculate the sales tax amount for a given purchase", "parameters": {"type": "object", "properties": {"purchase_amount": {"type": "number", "description": "The total purchase amount"}, "tax_rate": {"type": "number", "description": "The sales tax rate to apply"}}, "required": ["purchase_amount", "tax_rate"]}}}] | Language and Linguistics | Exploring Word Definitions | Glaive |
[
{
"content": "Hi, can you check if my website is working fine? The URL is www.mywebsite.com.",
"role": "user"
}
] | {"name": "check_website_status", "arguments": {"url": "www.mywebsite.com"}} | [{"type": "function", "function": {"name": "check_website_status", "description": "Check the status of a website", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The URL of the website to check"}}, "required": ["url"]}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on the date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "format": "date", "description": "The date of birth in YYYY-MM-DD format"}}, "required": ["date_of_birth"]}}}] | Request Management | Domain Availability Checks | Glaive |
[
{
"content": "Hi, I need to track my package. The tracking number is 123456789 and the carrier is FedEx.",
"role": "user"
}
] | {"name": "track_package", "arguments": {"tracking_number": "123456789", "carrier": "FedEx"}} | [{"type": "function", "function": {"name": "track_package", "description": "Track the status of a package", "parameters": {"type": "object", "properties": {"tracking_number": {"type": "string", "description": "The tracking number of the package"}, "carrier": {"type": "string", "description": "The carrier of the package"}}, "required": ["tracking_number", "carrier"]}}}, {"type": "function", "function": {"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to analyze"}}, "required": ["text"]}}}] | Stocks and Orders | Package Tracking and Additional Requests | Glaive |
[
{
"content": "Can you get me the lyrics of the song \"Imagine\" by John Lennon?",
"role": "user"
}
] | {"name": "get_lyrics", "arguments": {"artist": "John Lennon", "title": "Imagine"}} | [{"type": "function", "function": {"name": "get_lyrics", "description": "Get the lyrics of a song", "parameters": {"type": "object", "properties": {"artist": {"type": "string", "description": "The name of the artist"}, "title": {"type": "string", "description": "The title of the song"}}, "required": ["artist", "title"]}}}, {"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate BMI (Body Mass Index) using weight and height", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required": ["weight", "height"]}}}] | History and Culture | Lyrics of 'Imagine' by John Lennon | Glaive |
[
{
"content": "I am planning a trip to New York. Can you help me find hotels with free wifi and a gym?",
"role": "user"
}
] | {"name": "search_hotels", "arguments": {"location": "New York", "amenities": ["free wifi", "gym"]}} | [{"type": "function", "function": {"name": "search_hotels", "description": "Search for hotels based on location and amenities", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for hotels"}, "amenities": {"type": "array", "items": {"type": "string"}, "description": "The amenities to search for in hotels"}}, "required": ["location", "amenities"]}}}, {"type": "function", "function": {"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The news category to filter"}, "country": {"type": "string", "description": "The country code to filter the news"}}, "required": []}}}] | Location Services | Hotel booking in New York | Glaive |
[
{
"content": "Hi, can you tell me what's happening in the world today?",
"role": "user"
}
] | {"name": "get_news_headlines", "arguments": {}} | [{"type": "function", "function": {"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {}, "required": []}}}, {"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}}] | Stocks and Orders | News updates and headlines | Glaive |
[
{
"content": "I have some chicken, tomatoes, and garlic. Can you find me a recipe?",
"role": "user"
}
] | {"name": "search_recipe", "arguments": {"ingredients": ["chicken", "tomatoes", "garlic"]}} | [{"type": "function", "function": {"name": "search_recipe", "description": "Search for a recipe based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The list of ingredients to search for"}, "diet": {"type": "string", "description": "The dietary preference for the recipe"}}, "required": ["ingredients"]}}}, {"type": "function", "function": {"name": "analyze_text_language", "description": "Analyze the language of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be analyzed"}}, "required": ["text"]}}}] | Recipe Collections | Low-Carb Chicken Recipes with Various Ingredients | Glaive |
[
{
"content": "Hi, I need to encrypt a message using the AES algorithm. The message is \"Hello, World!\"",
"role": "user"
}
] | {"name": "encrypt_text", "arguments": {"text": "Hello, World!", "algorithm": "AES"}} | [{"type": "function", "function": {"name": "encrypt_text", "description": "Encrypt a text using a specific 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"]}}}, {"type": "function", "function": {"name": "search_definition", "description": "Search for the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "Word to search for"}, "language": {"type": "string", "description": "Language of the definition"}}, "required": ["word"]}}}] | Cybersecurity and Encryption | AES and RSA Encryption Requests | Glaive |
[
{
"content": "Hi, I need a barcode for the product \"Apple Juice\".",
"role": "user"
}
] | {"name": "generate_barcode", "arguments": {"input": "Apple Juice"}} | [{"type": "function", "function": {"name": "generate_barcode", "description": "Generate a barcode for a given input", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The input to generate barcode for"}}, "required": ["input"]}}}, {"type": "function", "function": {"name": "search_movie", "description": "Search for a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}, "director": {"type": "string", "description": "The director of the movie"}}, "required": []}}}] | Code Generation | Generating Barcodes for Products and Text | Glaive |
[
{
"content": "Hi, I have an image that I would like you to analyze. Here is the URL: www.example.com/image.jpg",
"role": "user"
}
] | {"name": "analyze_image", "arguments": {"image_url": "www.example.com/image.jpg"}} | [{"type": "function", "function": {"name": "analyze_image", "description": "Analyze the content of an image", "parameters": {"type": "object", "properties": {"image_url": {"type": "string", "description": "The URL of the image to analyze"}}, "required": ["image_url"]}}}, {"type": "function", "function": {"name": "search_movie", "description": "Search for movies based on a keyword", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for"}}, "required": ["keyword"]}}}] | Movie | Image and Video Analysis Requests | Glaive |
[
{
"content": "I need to calculate my monthly loan payment. I borrowed $200,000 at an annual interest rate of 3.5% and my loan term is 30 years.",
"role": "user"
}
] | {"name": "calculate_loan_payment", "arguments": {"principal": 200000, "interest_rate": 3.5, "loan_term": 30}} | [{"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment based on principal, interest rate, and loan term", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate of the loan"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["principal", "interest_rate", "loan_term"]}}}, {"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentage"]}}}] | Loan and Financial Calculations | Loan Payment Calculations | Glaive |
[
{
"content": "Hi, I need to find out the age difference between my brother and me. My birthdate is 1990-05-15 and my brother's birthdate is 1995-08-20. Can you help?",
"role": "user"
}
] | {"name": "calculate_age_difference", "arguments": {"person1_birthdate": "1990-05-15", "person2_birthdate": "1995-08-20"}} | [{"type": "function", "function": {"name": "calculate_age_difference", "description": "Calculate the age difference between two people", "parameters": {"type": "object", "properties": {"person1_birthdate": {"type": "string", "description": "The birthdate of the first person (YYYY-MM-DD)"}, "person2_birthdate": {"type": "string", "description": "The birthdate of the second person (YYYY-MM-DD)"}}, "required": ["person1_birthdate", "person2_birthdate"]}}}, {"type": "function", "function": {"name": "generate_random_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", "enum": ["low", "medium", "high"], "description": "The complexity level of the password"}}, "required": ["length"]}}}] | Utility | Calculating Age Difference Between Siblings | Glaive |
[
{
"content": "Hi, I need some help with calculating profit. I sold an item for $150 which I had bought for $100. Can you tell me how much profit I made?",
"role": "user"
}
] | {"name": "calculate_profit", "arguments": {"cost_price": 100, "selling_price": 150}} | [{"type": "function", "function": {"name": "calculate_profit", "description": "Calculate the profit based on cost and selling price", "parameters": {"type": "object", "properties": {"cost_price": {"type": "number", "description": "The cost price of the item"}, "selling_price": {"type": "number", "description": "The selling price of the item"}}, "required": ["cost_price", "selling_price"]}}}, {"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new calendar 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 in YYYY-MM-DD format"}, "time": {"type": "string", "format": "time", "description": "The time of the event in HH:MM format"}}, "required": ["title", "date", "time"]}}}] | Shopping and Finance Calculations | Calculating Profit and Profit Margin | Glaive |
[
{
"content": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters.",
"role": "user"
}
] | {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "get_current_time", "description": "Get the current time", "parameters": {"type": "object", "properties": {}, "required": []}}}] | Utility | BMI Calculation Requests | Glaive |
[
{
"content": "I am looking for a book but I can't remember the title. The author's name is George Orwell.",
"role": "user"
}
] | {"name": "search_book", "arguments": {"author": "George Orwell"}} | [{"type": "function", "function": {"name": "search_book", "description": "Search for a book based on title, author, or ISBN", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}, "isbn": {"type": "string", "description": "The ISBN (International Standard Book Number) of the book"}}, "required": []}}}, {"type": "function", "function": {"name": "get_random_quote", "description": "Get a random quote", "parameters": {"type": "object", "properties": {}, "required": []}}}] | Book Search | Requests for George Orwell's Book 'Animal Farm' | Glaive |
[
{
"content": "Hi, I need a Fibonacci sequence of length 10.",
"role": "user"
}
] | {"name": "generate_fibonacci_sequence", "arguments": {"length": 10}} | [{"type": "function", "function": {"name": "generate_fibonacci_sequence", "description": "Generate a Fibonacci sequence", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "Length of the sequence"}}, "required": ["length"]}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on a given birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "format": "date", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}}] | Mathematics | Calculating Fibonacci Sequences | Glaive |
[
{
"content": "Hi, I have a list of numbers and I need to find the average. The numbers are 5, 10, 15, 20, 25.",
"role": "user"
}
] | {"name": "calculate_average", "arguments": {"numbers": [5, 10, 15, 20, 25]}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"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"]}}}] | Utility | Calculating Averages and Making Reservations | Glaive |
[
{
"content": "Hi, I need to calculate the age difference between my two kids. The elder one was born on 2005-06-15 and the younger one on 2010-09-20. Can you help me with that?",
"role": "user"
}
] | {"name": "calculate_age_difference", "arguments": {"date1": "2005-06-15", "date2": "2010-09-20"}} | [{"type": "function", "function": {"name": "calculate_age_difference", "description": "Calculate the age difference between two dates", "parameters": {"type": "object", "properties": {"date1": {"type": "string", "description": "The first date in yyyy-mm-dd format"}, "date2": {"type": "string", "description": "The second date in yyyy-mm-dd format"}}, "required": ["date1", "date2"]}}}, {"type": "function", "function": {"name": "create_todo_list", "description": "Create a new todo list", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name of the todo list"}, "tasks": {"type": "array", "items": {"type": "string"}, "description": "The tasks to be included in the todo list"}}, "required": ["name", "tasks"]}}}] | Utility | Calculating Age and Restaurant Reservations | Glaive |
[
{
"content": "Hi, I need to calculate the square of 7.",
"role": "user"
}
] | {"name": "calculate_square", "arguments": {"number": 7}} | [{"type": "function", "function": {"name": "calculate_square", "description": "Calculate the square of a number", "parameters": {"type": "object", "properties": {"number": {"type": "number", "description": "The number to calculate the square of"}}, "required": ["number"]}}}, {"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on given criteria", "parameters": {"type": "object", "properties": {"genre": {"type": "string", "description": "The genre of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}, "actors": {"type": "array", "items": {"type": "string"}, "description": "The actors starring in the movie"}}, "required": []}}}] | Mathematics | Calculating Squares and Factorials | Glaive |
[
{
"content": "Hi, I need help with calculating my profit. My total revenue was $50000 and my expenses were $30000.",
"role": "user"
}
] | {"name": "calculate_profit", "arguments": {"revenue": 50000, "expenses": 30000}} | [{"type": "function", "function": {"name": "calculate_profit", "description": "Calculate the profit based on revenue and expenses", "parameters": {"type": "object", "properties": {"revenue": {"type": "number", "description": "The total revenue"}, "expenses": {"type": "number", "description": "The total expenses"}}, "required": ["revenue", "expenses"]}}}, {"type": "function", "function": {"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"]}}}] | Mathematics | Business Calculations and Profit Analysis | Glaive |
[
{
"content": "I am looking for a book but I can't remember the full title. It's something like \"To Kill a\" and I think it's a classic.",
"role": "user"
}
] | {"name": "search_books", "arguments": {"search_text": "To Kill a", "genre": "classic"}} | [{"type": "function", "function": {"name": "search_books", "description": "Search for books based on title, author, or genre", "parameters": {"type": "object", "properties": {"search_text": {"type": "string", "description": "The search text for books"}, "author": {"type": "string", "description": "The author name for filtering"}, "genre": {"type": "string", "description": "The genre of books"}}, "required": ["search_text"]}}}, {"type": "function", "function": {"name": "search_restaurants", "description": "Search for restaurants based on given criteria", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for in restaurant names or cuisines"}, "location": {"type": "string", "description": "The location to filter by"}, "rating": {"type": "number", "description": "The minimum rating to filter by"}}, "required": []}}}] | Book Search | Book Search and Recommendations | Glaive |
[
{
"content": "I need to send a notification to user with ID 12345. The message should be \"Your order has been dispatched\".",
"role": "user"
}
] | {"name": "send_notification", "arguments": {"user_id": "12345", "message": "Your order has been dispatched"}} | [{"type": "function", "function": {"name": "send_notification", "description": "Send a notification to a user", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to send the notification to"}, "message": {"type": "string", "description": "The message of the notification"}}, "required": ["user_id", "message"]}}}, {"type": "function", "function": {"name": "calculate_interest", "description": "Calculate the interest earned on an investment", "parameters": {"type": "object", "properties": {"principal_amount": {"type": "number", "description": "The principal amount of the investment"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "time_period": {"type": "integer", "description": "The time period in years"}}, "required": ["principal_amount", "interest_rate", "time_period"]}}}] | Productivity | Sending Messages and Making Arrangements | Glaive |
[
{
"content": "I am looking for a book but I can't remember the exact title. I know it's a mystery novel by Agatha Christie.",
"role": "user"
}
] | {"name": "search_book", "arguments": {"title": "", "author": "Agatha Christie", "genre": "mystery"}} | [{"type": "function", "function": {"name": "search_book", "description": "Search for a book", "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"}}, "required": ["title", "author", "genre"]}}}, {"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the total price after applying a discount", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "integer", "description": "The percentage of discount to be applied"}}, "required": ["original_price", "discount_percentage"]}}}] | Book Search | Requests for Mystery Novels by Agatha Christie | Glaive |
[
{
"content": "I need to calculate my monthly loan payment. The principal amount is $50000, the interest rate is 5% and the loan term is 60 months.",
"role": "user"
}
] | {"name": "calculate_loan_payment", "arguments": {"principal": 50000, "interest_rate": 5, "loan_term": 60}} | [{"type": "function", "function": {"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 interest rate of the loan"}, "loan_term": {"type": "integer", "description": "The term of the loan in months"}}, "required": ["principal", "interest_rate", "loan_term"]}}}, {"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape_type": {"type": "string", "description": "The type of shape (e.g. circle, rectangle, triangle)"}, "shape_dimensions": {"type": "object", "properties": {"radius": {"type": "number", "description": "The radius of the circle"}, "length": {"type": "number", "description": "The length of the rectangle"}, "width": {"type": "number", "description": "The width of the rectangle"}, "base": {"type": "number", "description": "The base of the triangle"}, "height": {"type": "number", "description": "The height of the triangle"}}, "required": ["radius", "length", "width", "base", "height"]}}, "required": ["shape_type", "shape_dimensions"]}}}] | Loan and Financial Calculations | Loan Repayment Calculations | Glaive |
[
{
"content": "I need to create a new task in my task management system. The task is to prepare a presentation for the upcoming meeting. The due date is 15th of this month and I want to assign it to John.",
"role": "user"
}
] | {"name": "create_task", "arguments": {"task_name": "Prepare a presentation for the upcoming meeting", "due_date": "15th of this month", "assignee": "John"}} | [{"type": "function", "function": {"name": "create_task", "description": "Create a new task in a task management system", "parameters": {"type": "object", "properties": {"task_name": {"type": "string", "description": "The name of the task"}, "due_date": {"type": "string", "description": "The due date of the task"}, "assignee": {"type": "string", "description": "The assignee of the task"}}, "required": ["task_name", "due_date", "assignee"]}}}, {"type": "function", "function": {"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"]}}}] | Productivity | Creating Presentation Tasks | Glaive |
[
{
"content": "I am in New York and I am craving for some Italian food. Can you help me find a restaurant?",
"role": "user"
}
] | {"name": "find_nearest_restaurant", "arguments": {"location": "New York", "cuisine": "Italian"}} | [{"type": "function", "function": {"name": "find_nearest_restaurant", "description": "Find the nearest restaurant", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for the restaurant"}, "cuisine": {"type": "string", "description": "The cuisine type to search for"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly payment 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"}, "loan_term": {"type": "integer", "description": "The term of the loan in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}}] | Location Services | Italian Restaurant Recommendations in New York | Glaive |
[
{
"content": "I need to send an email to my boss. The recipient is boss@company.com. The subject should be \"Monthly Report\" and the body should say \"Dear Boss, Please find attached the monthly report for your review. Best, [User]\".",
"role": "user"
}
] | {"name": "send_email", "arguments": {"recipient": "boss@company.com", "subject": "Monthly Report", "body": "Dear Boss, Please find attached the monthly report for your review. Best, [User]"}} | [{"type": "function", "function": {"name": "send_email", "description": "Send an email", "parameters": {"type": "object", "properties": {"recipient": {"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": ["recipient", "subject", "body"]}}}, {"type": "function", "function": {"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 body of the email"}}, "required": ["recipient", "subject", "body"]}}}] | Productivity | Emailing Boss for Monthly Report | Glaive |
[
{
"content": "Can you reverse the string \"Hello, World!\" for me?",
"role": "user"
}
] | {"name": "reverse_string", "arguments": {"input": "Hello, World!"}} | [{"type": "function", "function": {"name": "reverse_string", "description": "Reverse a given string", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The string to reverse"}}, "required": ["input"]}}}, {"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new event in the calendar", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the event"}, "start_time": {"type": "string", "description": "The start time of the event"}, "end_time": {"type": "string", "description": "The end time of the event"}, "location": {"type": "string", "description": "The location of the event"}}, "required": ["title", "start_time", "end_time", "location"]}}}] | Mathematics | Palindrome Algorithms and Solutions | Glaive |
[
{
"content": "Hi, I need to know the distance between New York and Los Angeles.",
"role": "user"
}
] | {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"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"}, "dietary_restrictions": {"type": "array", "items": {"type": "string"}, "description": "The dietary restrictions to consider"}}, "required": ["ingredients"]}}}] | Utility | Calculating Distances Between Cities | Glaive |
[
{
"content": "Can you tell me what events I have on my calendar for tomorrow?",
"role": "user"
}
] | {"name": "get_calendar_events", "arguments": {"date": "tomorrow"}} | [{"type": "function", "function": {"name": "get_calendar_events", "description": "Get the upcoming calendar events", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "The date for which to retrieve events"}}, "required": ["date"]}}}, {"type": "function", "function": {"name": "convert_currency", "description": "Convert currency from one to another", "parameters": {"type": "object", "properties": {"from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}, "amount": {"type": "number", "description": "The amount to convert"}}, "required": ["from_currency", "to_currency", "amount"]}}}] | Productivity | Calendar Event Management | Glaive |
[
{
"content": "Hey, I need to take some notes for my meeting. The title is \"Project Update\" and the content is \"Discussed the progress of the project. The design phase is complete. Development phase has started.\"",
"role": "user"
}
] | {"name": "take_notes", "arguments": {"title": "Project Update", "content": "Discussed the progress of the project. The design phase is complete. Development phase has started."}} | [{"type": "function", "function": {"name": "take_notes", "description": "Take notes during a meeting or lecture", "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"]}}}, {"type": "function", "function": {"name": "create_calendar_event", "description": "Create a new calendar event", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the calendar event"}, "date": {"type": "string", "format": "date", "description": "The date of the calendar event"}, "time_start": {"type": "string", "format": "time", "description": "The start time of the calendar event"}, "time_end": {"type": "string", "format": "time", "description": "The end time of the calendar event"}}, "required": ["title", "date", "time_start", "time_end"]}}}] | Productivity | Meeting Notes and Email Requests | Glaive |
[
{
"content": "Hi, I just had a meal at a restaurant and the total bill was $50. I want to leave a 20% tip. Can you help me calculate how much that would be?",
"role": "user"
}
] | {"name": "calculate_tip", "arguments": {"bill_total": 50, "tip_percentage": 20}} | [{"type": "function", "function": {"name": "calculate_tip", "description": "Calculate the amount to tip based on bill total and percentage", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage to tip"}}, "required": ["bill_total", "tip_percentage"]}}}, {"type": "function", "function": {"name": "get_news", "description": "Get the latest news", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news to retrieve", "enum": ["business", "sports", "entertainment", "technology"]}, "country": {"type": "string", "description": "The country from which to retrieve news", "enum": ["US", "UK", "CA", "AU"]}}, "required": ["category", "country"]}}}] | Utility | Calculating Tips and Booking Transportation | Glaive |
[
{
"content": "I have some chicken, broccoli, and cheese. What can I make with these ingredients?",
"role": "user"
}
] | {"name": "search_recipes", "arguments": {"ingredients": ["chicken", "broccoli", "cheese"]}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "calculate_tax", "description": "Calculate the income tax based on earnings", "parameters": {"type": "object", "properties": {"earnings": {"type": "number", "description": "The total earnings"}, "deductions": {"type": "number", "description": "The total deductions"}}, "required": ["earnings"]}}}] | Recipe Collections | Cooking with Chicken, Broccoli, and Cheese | Glaive |
[
{
"content": "Hi, I need help calculating my GPA. I have grades for 5 subjects. They are 85, 90, 95, 80, and 88.",
"role": "user"
}
] | {"name": "calculate_gpa", "arguments": {"grades": [85, 90, 95, 80, 88]}} | [{"type": "function", "function": {"name": "calculate_gpa", "description": "Calculate the GPA (Grade Point Average)", "parameters": {"type": "object", "properties": {"grades": {"type": "array", "items": {"type": "number"}, "description": "The list of grades"}}, "required": ["grades"]}}}, {"type": "function", "function": {"name": "get_translation", "description": "Get the translation of a word or phrase", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The word or phrase to translate"}, "source_language": {"type": "string", "description": "The source language of the text"}, "target_language": {"type": "string", "description": "The target language for the translation"}}, "required": ["text", "source_language", "target_language"]}}}] | Mathematics | Calculating GPA from Grades and Credits | Glaive |
[
{
"content": "Hi, I need to set a reminder for my meeting tomorrow at 10 AM.",
"role": "user"
}
] | {"name": "create_reminder", "arguments": {"description": "Meeting", "time": "10 AM tomorrow"}} | [{"type": "function", "function": {"name": "create_reminder", "description": "Create a reminder for a specific time", "parameters": {"type": "object", "properties": {"description": {"type": "string", "description": "The reminder description"}, "time": {"type": "string", "description": "The time of the reminder"}}, "required": ["description", "time"]}}}, {"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The release year of the movie"}}, "required": ["title"]}}}] | Productivity | Setting Reminders and Appointments | Glaive |
[
{
"content": "Hey, I wrote a poem and I want to know its sentiment. Here it is: \"The sun sets, the moon rises, the world turns. Life is a cycle of joy and pain, but in the end, love remains.\"",
"role": "user"
}
] | {"name": "analyze_sentiment", "arguments": {"text": "The sun sets, the moon rises, the world turns. Life is a cycle of joy and pain, but in the end, love remains."}} | [{"type": "function", "function": {"name": "analyze_sentiment", "description": "Analyze the sentiment of a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be analyzed"}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "get_movie_details", "description": "Get details about a specific 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"]}}}] | Natural Language Processing | Sentiment Analysis of Poems and Movie Review | Glaive |
[
{
"content": "Hey, I want to know the lyrics of the song \"Shape of You\" by Ed Sheeran.",
"role": "user"
}
] | {"name": "get_lyrics", "arguments": {"artist": "Ed Sheeran", "song_title": "Shape of You"}} | [{"type": "function", "function": {"name": "get_lyrics", "description": "Get the lyrics of a song based on the artist and song title", "parameters": {"type": "object", "properties": {"artist": {"type": "string", "description": "The name of the artist"}, "song_title": {"type": "string", "description": "The title of the song"}}, "required": ["artist", "song_title"]}}}, {"type": "function", "function": {"name": "check_palindrome", "description": "Check if a given string is a palindrome", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The string to be checked"}}, "required": ["text"]}}}] | Book Search | Song Search and Lyrics Retrieval | Glaive |
[
{
"content": "Can you find me a movie with the title \"Inception\", genre \"Science Fiction\" and actor \"Leonardo DiCaprio\"?",
"role": "user"
}
] | {"name": "search_movies", "arguments": {"title": "Inception", "genre": "Science Fiction", "actor": "Leonardo DiCaprio"}} | [{"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on title, genre, or actor", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}, "actor": {"type": "string", "description": "The actor in the movie"}}, "required": ["title", "genre", "actor"]}}}, {"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate 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"]}}}] | Movie | Movie Search: Inception | Glaive |
[
{
"content": "I need to create a new event in my calendar. The event is called \"Project Meeting\", it starts on 2022-04-01T10:00:00 and ends on 2022-04-01T12:00:00.",
"role": "user"
}
] | {"name": "create_calendar_event", "arguments": {"title": "Project Meeting", "start_time": "2022-04-01T10:00:00", "end_time": "2022-04-01T12:00:00"}} | [{"type": "function", "function": {"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": {"type": "string", "format": "date-time", "description": "The end time of the event"}}, "required": ["title", "start_time", "end_time"]}}}, {"type": "function", "function": {"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 content of the email"}}, "required": ["recipient", "subject", "message"]}}}] | Productivity | Creating Calendar Events | Glaive |
[
{
"content": "Can you tell me how many words are in this text? \"Artificial intelligence is the simulation of human intelligence processes by machines, especially computer systems.\"",
"role": "user"
}
] | {"name": "check_word_count", "arguments": {"text": "Artificial intelligence is the simulation of human intelligence processes by machines, especially computer systems."}} | [{"type": "function", "function": {"name": "check_word_count", "description": "Check the word count of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to count words in"}}, "required": ["text"]}}}, {"type": "function", "function": {"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"}, "term": {"type": "integer", "description": "The loan term in years"}}, "required": ["principal", "interest_rate", "term"]}}}] | Language and Linguistics | Word Count and Translation | Glaive |
[
{
"content": "Hi, I have a sentence in French that I need translated to English. The sentence is \"Je suis très heureux de vous rencontrer\".",
"role": "user"
}
] | {"name": "translate_text", "arguments": {"text": "Je suis tr\u00e8s heureux de vous rencontrer", "source_language": "French", "target_language": "English"}} | [{"type": "function", "function": {"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"}}, "required": ["text", "source_language", "target_language"]}}}, {"type": "function", "function": {"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", "description": "The dimensions required to calculate the area"}}, "required": ["shape", "dimensions"]}}}] | Flight Services | Translation Requests | Glaive |
[
{
"content": "Hi, I need help with calculating the tip for my bill. The total bill amount is $100 and I want to give a 15% tip.",
"role": "user"
}
] | {"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}} | [{"type": "function", "function": {"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 to be given"}}, "required": ["bill_amount", "tip_percentage"]}}}, {"type": "function", "function": {"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"]}}}] | Utility | Calculating Tips and Booking Cabs | Glaive |
[
{
"content": "I saw a dress that I liked. It was originally priced at $100 but it's on sale for 20% off. How much will it cost now?",
"role": "user"
}
] | {"name": "calculate_discount", "arguments": {"original_price": 100, "discount_percentage": 20}} | [{"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discount on a product", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["original_price", "discount_percentage"]}}}, {"type": "function", "function": {"name": "get_random_joke", "description": "Get a random joke", "parameters": {"type": "object", "properties": {}, "required": []}}}] | Shopping and Finance Calculations | Calculating Dress Discounts and Prices | Glaive |
[
{
"content": "I want to listen to some music. Can you play my 'Chill Vibes' playlist?",
"role": "user"
}
] | {"name": "play_music", "arguments": {"playlist_name": "Chill Vibes"}} | [{"type": "function", "function": {"name": "play_music", "description": "Play music from a specific playlist", "parameters": {"type": "object", "properties": {"playlist_name": {"type": "string", "description": "The name of the playlist"}}, "required": ["playlist_name"]}}}, {"type": "function", "function": {"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"]}}}] | Exploration | Music Requests | Glaive |
[
{
"content": "I need to generate an invoice for my client, John Doe. The items are 5 notebooks at $2 each and 3 pens at $1 each.",
"role": "user"
}
] | {"name": "generate_invoice", "arguments": {"client_name": "John Doe", "items": [{"description": "notebook", "price": 2, "quantity": 5}, {"description": "pen", "price": 1, "quantity": 3}]}} | [{"type": "function", "function": {"name": "generate_invoice", "description": "Generate an invoice", "parameters": {"type": "object", "properties": {"client_name": {"type": "string", "description": "The name of the client"}, "items": {"type": "array", "items": {"type": "object", "properties": {"description": {"type": "string", "description": "The description of the item"}, "price": {"type": "number", "description": "The price of the item"}, "quantity": {"type": "integer", "description": "The quantity of the item"}}, "required": ["description", "price", "quantity"]}}}, "required": ["client_name", "items"]}}}, {"type": "function", "function": {"name": "get_random_joke", "description": "Get a random joke", "parameters": {"type": "object", "properties": {}, "required": []}}}] | Code Generation | Invoice Generation for John Doe | Glaive |
[
{
"content": "I have some chicken, tomatoes and basil. Can you find a recipe for me?",
"role": "user"
}
] | {"name": "search_recipes", "arguments": {"ingredients": ["chicken", "tomatoes", "basil"]}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "description": "The birth date in YYYY-MM-DD format"}}, "required": ["birth_date"]}}}] | Recipe Collections | Recipe Assistance with Common Ingredients | Glaive |
[
{
"content": "I have some leftover chicken and broccoli. Can you find me a recipe?",
"role": "user"
}
] | {"name": "search_recipes", "arguments": {"ingredients": ["chicken", "broccoli"]}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}}, "required": []}}}] | Recipe Collections | Chicken, Broccoli, and Cheese Recipes | Glaive |
[
{
"content": "Hi, I need to create an email signature. My name is John Doe and I am a Software Engineer.",
"role": "user"
}
] | {"name": "generate_email_signature", "arguments": {"name": "John Doe", "job_title": "Software Engineer"}} | [{"type": "function", "function": {"name": "generate_email_signature", "description": "Generate an email signature for a given name and job title", "parameters": {"type": "object", "properties": {"name": {"type": "string", "description": "The name"}, "job_title": {"type": "string", "description": "The job title"}}, "required": ["name", "job_title"]}}}, {"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on date of birth", "parameters": {"type": "object", "properties": {"date_of_birth": {"type": "string", "description": "The date of birth in format YYYY-MM-DD"}}, "required": ["date_of_birth"]}}}] | Request Management | Account Creation Requests | Glaive |
[
{
"content": "I am looking for some good action movies to watch. Can you help me find some?",
"role": "user"
}
] | {"name": "search_movies", "arguments": {"keyword": "action"}} | [{"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on title or genre", "parameters": {"type": "object", "properties": {"keyword": {"type": "string", "description": "The keyword to search for (title or genre)"}}, "required": ["keyword"]}}}, {"type": "function", "function": {"name": "generate_random_color", "description": "Generate a random color code", "parameters": {"type": "object", "properties": {}, "required": []}}}] | Movie | Movie Recommendations | Glaive |
[
{
"content": "I need to send an email to my boss. The email address is boss@company.com. The subject should be \"Project Update\" and the body should say \"The project is on track and will be completed by the end of this week.\"",
"role": "user"
}
] | {"name": "send_email", "arguments": {"to": "boss@company.com", "subject": "Project Update", "body": "The project is on track and will be completed by the end of this week."}} | [{"type": "function", "function": {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"to": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "body": {"type": "string", "description": "The body/content of the email"}, "attachment": {"type": "string", "description": "The path or URL of an attachment (optional)"}}, "required": ["to", "subject", "body"]}}}, {"type": "function", "function": {"name": "convert_currency", "description": "Convert currency from one unit to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount of currency to convert"}, "from": {"type": "string", "description": "The unit to convert from"}, "to": {"type": "string", "description": "The unit to convert to"}}, "required": ["amount", "from", "to"]}}}] | Productivity | Emails to Boss for Project Update | Glaive |
[
{
"content": "Can you tell me about the movie \"Inception\" released in 2010?",
"role": "user"
}
] | {"name": "get_movie_details", "arguments": {"title": "Inception", "year": 2010}} | [{"type": "function", "function": {"name": "get_movie_details", "description": "Get details of a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "year": {"type": "integer", "description": "The year of release of the movie"}}, "required": ["title", "year"]}}}, {"type": "function", "function": {"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": "string", "description": "The unit to convert to"}}, "required": ["temperature", "from_unit", "to_unit"]}}}] | Movie | Movie Information Requests | Glaive |
[
{
"content": "Hi, I would like to know the latest news in technology.",
"role": "user"
}
] | {"name": "get_news", "arguments": {"category": "technology"}} | [{"type": "function", "function": {"name": "get_news", "description": "Get the latest news articles", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The category of news, e.g. technology, sports"}}, "required": ["category"]}}}, {"type": "function", "function": {"name": "search_recipes", "description": "Search for recipes based on given ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}, "dietary_requirements": {"type": "array", "items": {"type": "string"}, "description": "Any dietary requirements or restrictions"}, "maximum_prep_time": {"type": "integer", "description": "The maximum preparation time in minutes"}}, "required": []}}}] | Stocks and Orders | Latest News Requests | Glaive |
[
{
"content": "I need to calculate the area of a rectangle. The length is 5 and the width is 3.",
"role": "user"
}
] | {"name": "calculate_area", "arguments": {"shape": "rectangle", "dimensions": {"length": 5, "width": 3}}} | [{"type": "function", "function": {"name": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which the area needs to be calculated"}, "dimensions": {"type": "object", "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": ["shape"]}}}, {"type": "function", "function": {"name": "search_song_lyrics", "description": "Search for lyrics of a song", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the song"}, "artist": {"type": "string", "description": "The name of the artist"}}, "required": ["title"]}}}] | Utility | Calculating Areas and Ordering Pizza | Glaive |
[
{
"content": "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?",
"role": "user"
}
] | {"name": "calculate_discount", "arguments": {"original_price": 200, "discount_percentage": 20}} | [{"type": "function", "function": {"name": "calculate_discount", "description": "Calculate the discounted price", "parameters": {"type": "object", "properties": {"original_price": {"type": "number", "description": "The original price of the item"}, "discount_percentage": {"type": "number", "description": "The percentage of discount"}}, "required": ["original_price", "discount_percentage"]}}}, {"type": "function", "function": {"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"}, "body": {"type": "string", "description": "The body of the email"}}, "required": ["recipient_email", "subject", "body"]}}}] | Shopping and Finance Calculations | Calculating 20% Discount on a $200 Dress | Glaive |
[
{
"content": "Hi, I need to calculate my BMI. I weigh 70 kg and my height is 1.75 meters.",
"role": "user"
}
] | {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The total income"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}}] | Utility | BMI calculation requests | Glaive |
[
{
"content": "I need a new password. Can you generate one for me? I want it to be 12 characters long and include uppercase letters, lowercase letters, numbers, and special characters.",
"role": "user"
}
] | {"name": "generate_password", "arguments": {"length": 12, "include_uppercase": true, "include_lowercase": true, "include_numbers": true, "include_special_characters": true}} | [{"type": "function", "function": {"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"}, "include_uppercase": {"type": "boolean", "description": "Include uppercase letters in the password"}, "include_lowercase": {"type": "boolean", "description": "Include lowercase letters in the password"}, "include_numbers": {"type": "boolean", "description": "Include numbers in the password"}, "include_special_characters": {"type": "boolean", "description": "Include special characters in the password"}}, "required": ["length"]}}}, {"type": "function", "function": {"name": "encrypt_text", "description": "Encrypt text using a specified 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"]}}}] | Code Generation | Password Generation with Specific Criteria | Glaive |
[
{
"content": "I need to add milk to my shopping list.",
"role": "user"
}
] | {"name": "add_to_shopping_list", "arguments": {"item": "milk"}} | [{"type": "function", "function": {"name": "add_to_shopping_list", "description": "Add an item to the shopping list", "parameters": {"type": "object", "properties": {"item": {"type": "string", "description": "The item to add to the shopping list"}}, "required": ["item"]}}}, {"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}}] | Productivity | Note-Taking: Grocery Lists | Glaive |
[
{
"content": "Hi, I need help with calculating my monthly mortgage payment. I have a loan amount of $200,000 with an interest rate of 3.5% and a loan term of 30 years.",
"role": "user"
}
] | {"name": "calculate_mortgage_payment", "arguments": {"loan_amount": 200000, "interest_rate": 3.5, "loan_term": 30}} | [{"type": "function", "function": {"name": "calculate_mortgage_payment", "description": "Calculate the monthly mortgage payment", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The interest rate in percentage"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}}, {"type": "function", "function": {"name": "play_song", "description": "Play a song", "parameters": {"type": "object", "properties": {"song": {"type": "string", "description": "The name of the song"}, "artist": {"type": "string", "description": "The artist of the song"}}, "required": ["song", "artist"]}}}] | Loan and Financial Calculations | Mortgage Payment Calculations | Glaive |
[
{
"content": "Hi, can you tell me the current stock price of Apple?",
"role": "user"
}
] | {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two points", "parameters": {"type": "object", "properties": {"point1": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the first point"}, "longitude": {"type": "number", "description": "The longitude of the first point"}}, "required": ["latitude", "longitude"]}, "point2": {"type": "object", "properties": {"latitude": {"type": "number", "description": "The latitude of the second point"}, "longitude": {"type": "number", "description": "The longitude of the second point"}}, "required": ["latitude", "longitude"]}}, "required": ["point1", "point2"]}}}] | Stocks and Orders | Stock Price Inquiries | Glaive |
[
{
"content": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?",
"role": "user"
}
] | {"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}} | [{"type": "function", "function": {"name": "calculate_age", "description": "Calculate the age based on the birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate in the format YYYY-MM-DD"}}, "required": ["birthdate"]}}}, {"type": "function", "function": {"name": "convert_currency", "description": "Convert one currency to another", "parameters": {"type": "object", "properties": {"base_currency": {"type": "string", "description": "The base currency to convert from"}, "target_currency": {"type": "string", "description": "The target currency to convert to"}, "amount": {"type": "number", "description": "The amount to convert"}}, "required": ["base_currency", "target_currency", "amount"]}}}] | Utility | Calculating Age from Birthdate | Glaive |
[
{
"content": "Hi, I need to know the distance between New York and Los Angeles.",
"role": "user"
}
] | {"name": "calculate_distance", "arguments": {"origin": "New York", "destination": "Los Angeles"}} | [{"type": "function", "function": {"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"]}}}, {"type": "function", "function": {"name": "get_flight_status", "description": "Get the status of a flight", "parameters": {"type": "object", "properties": {"flight_number": {"type": "string", "description": "The flight number"}, "date": {"type": "string", "description": "The date of the flight"}}, "required": ["flight_number", "date"]}}}] | Location Services | Distance between New York and Los Angeles | Glaive |
README.md exists but content is empty.
- Downloads last month
- 37