tools listlengths 0 8 ⌀ | messages listlengths 3 15 |
|---|---|
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on specified ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "array",
"items": {
"... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I have some chicken, broccoli, and cheese. Can you find a recipe for me?"
},
{
"role": "assistant",
... |
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters": {
"type": "object",
"properties": {
"start_location": {
"type": "string",
"description": "The sta... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, can you tell me the distance between New York and Los Angeles?"
},
{
"role": "assistant",
"con... |
[
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on keywords",
"parameters": {
"type": "object",
"properties": {
"keywords": {
"type": "array",
"items": {
"type": "string"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you help me find some movies to watch?"
},
{
"role": "assistant",
"content": "Of course! I ... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "What are the factors that can cause a car to slide on a frigid road? Can you provide a Python code snippet to s... |
[
{
"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 be encoded in th... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please book a flight for me from New York to Los Angeles?"
},
{
"role": "assistant",
"conte... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Create a model that classifies the following dataset into two categories.\nCup, Car, Carrot, Shirt"
},
{
... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Provide an appropriate metaphor for the following situation while also incorporating the color of the sky and t... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "You find yourself in a room with two doors. One door is guarded by a truth-telling guard and the other by a gua... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some inspiration. Can you give me a quote?"
},
{
"role": "assistant",
"content": "<functionc... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please add a requirement for including a summary of the action items discussed during the meeting and a... |
[
{
"type": "function",
"function": {
"name": "create_event",
"description": "Create a new event with specified details",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the event"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need to create an event."
},
{
"role": "assistant",
"content": "Sure, I can help with that. Could... |
[
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two points on a map",
"parameters": {
"type": "object",
"properties": {
"point1": {
"type": "object",
"properties": {
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please book a flight for me from New York to London?"
},
{
"role": "assistant",
"content": ... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "How can we integrate the fitness tracking features of our new smartwatch into our Swift app? Specifically, we w... |
[
{
"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"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need to send an email to my boss about the meeting tomorrow. Can you help me with that?"
},
{
"role":... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Calculate the area of the triangle given its sides are 5 cm, 10 cm, and 8 cm."
},
{
"role": "assistant"... |
[
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need a new password. Can you generate one for me?"
},
{
"role": "assistant",
"content": "Of cours... |
[
{
"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 check word count"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I have a text and I need to know how many words it contains. Can you help me with that?"
},
{
"role... |
[
{
"type": "function",
"function": {
"name": "calculate_shipping_cost",
"description": "Calculate the shipping cost based on weight and destination",
"parameters": {
"type": "object",
"properties": {
"weight": {
"type": "number",
"descriptio... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need to ship a package to New York. It weighs around 5 kilograms. Can you tell me how much it will cost?"... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Generate a computer program to remove all 'a' from a string\nabcabcabc"
},
{
"role": "assistant",
"... |
[
{
"type": "function",
"function": {
"name": "create_todo_list",
"description": "Create a new todo list with tasks",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the todo list"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need to create a todo list for my weekend. Can you help me with that?"
},
{
"role": "assistant",
... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "What is network topology?"
},
{
"role": "assistant",
"content": "Network topology refers to the phy... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "How can I generate the total count and a table of unique four-letter words that can be formed from a list of wo... |
[
{
"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 (title o... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you order a pizza for me?"
},
{
"role": "assistant",
"content": "I'm sorry, but as an AI, I don... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Please rewrite the following sentence using a synonym for the word \"partook\" and add a requirement that the r... |
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for the given text",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to encode in the ... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please book a flight for me from New York to London?"
},
{
"role": "assistant",
"content": ... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Select two colors from the RGB spectrum and adjust their saturation and brightness values to create a smooth gr... |
[
{
"type": "function",
"function": {
"name": "find_nearest_gas_station",
"description": "Find the nearest gas station",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The location to search ... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I am currently in New York and I need to find the nearest gas station. Can you help me with that?"
},
{
... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Convert the following USD34.86 amount to GBP."
},
{
"role": "assistant",
"content": "Using the curr... |
[
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the Body Mass Index (BMI) of a person",
"parameters": {
"type": "object",
"properties": {
"weight": {
"type": "number",
"description": "The weight of the... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please order a pizza for me?"
},
{
"role": "assistant",
"content": "I'm sorry, but I'm unab... |
[
{
"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"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need to create a new event in my calendar."
},
{
"role": "assistant",
"content": "Sure, I can hel... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Using the XML data provided, can you apply your reasoning skills to determine the optimal item to bring for a p... |
[
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books by title or author",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query"
}
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I am looking for books by J.K. Rowling. Can you help me find them?"
},
{
"role": "assistant",
"cont... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some inspiration. Can you give me a quote?"
},
{
"role": "assistant",
"content": "<functionc... |
[
{
"type": "function",
"function": {
"name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me the latest news headlines?"
},
{
"role": "assistant",
"content": "Sure, let me ... |
[
{
"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 to calculate th... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need to calculate the area of a rectangle. The width is 5 units and the height is 10 units."
},
{
"ro... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Imagine you have a collection of 20 musical scores, each containing 15 songs written by different composers. Yo... |
[
{
"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"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need to create an invoice for my client, John Doe. The total amount is $5000 and it's due on 30th of this mon... |
[
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on given ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "array",
"items": {
"type... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I have some chicken, broccoli, and cheese. What can I make with these?"
},
{
"role": "assistant",
"... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "How can I create an Excel table with conditional formatting that highlights cells based on their values? The ta... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Imagine you're a detective trying to solve a case involving a group of six suspects. Each suspect has a differe... |
[
{
"type": "function",
"function": {
"name": "calculate_factorial",
"description": "Calculate the factorial of a given number",
"parameters": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"description": "The number for w... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you book a flight for me from New York to London?"
},
{
"role": "assistant",
"content": "I'm so... |
[
{
"type": "function",
"function": {
"name": "play_music",
"description": "Play music based on the genre",
"parameters": {
"type": "object",
"properties": {
"genre": {
"type": "string",
"description": "The genre of music to play"
}... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I want to listen to some music. Can you play some jazz for me?"
},
{
"role": "assistant",
"content"... |
[
{
"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 ... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I am looking for a book but I can't remember the full title. I think it had the word 'Sun' in it and it was a m... |
[
{
"type": "function",
"function": {
"name": "calculate_salary",
"description": "Calculate the monthly salary based on hourly rate and number of hours worked",
"parameters": {
"type": "object",
"properties": {
"hourly_rate": {
"type": "number",
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please book a flight for me from New York to London?"
},
{
"role": "assistant",
"content": ... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Select all illustrations that depict a beach."
},
{
"role": "assistant",
"content": "All three illu... |
[
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need a new password for my account. Can you generate one for me?"
},
{
"role": "assistant",
"... |
[
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount based on bill amount and tip percentage",
"parameters": {
"type": "object",
"properties": {
"bill_amount": {
"type": "number",
"descriptio... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need help with calculating the tip for my bill. The total bill amount is $50 and I want to give a 20% tip... |
[
{
"type": "function",
"function": {
"name": "search_music",
"description": "Search for music tracks or albums based on artist or title",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The arti... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you find some music by The Beatles?"
},
{
"role": "assistant",
"content": "<functioncall> {\"na... |
[
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given text or URL",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The text or URL to... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Can you please order a pizza for me?"
},
{
"role": "assistant",
"content": "I'm sorry, but I can't ... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "What is the formula for calculating the mean, standard deviation, and variance of a dataset? Please provide the... |
[
{
"type": "function",
"function": {
"name": "search_product",
"description": "Search for a product based on name or category",
"parameters": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the pro... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I am looking for a product named \"iPhone 12\"."
},
{
"role": "assistant",
"content": "<functioncal... |
[
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current price of a stock",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The stock symbol"
}
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, can you tell me the current price of the Apple stock?"
},
{
"role": "assistant",
"content": "S... |
[] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Calculate the standard deviation of the following array of numbers, [1, 2, 3, 4, 5].\n[1, 2, 3, 4, 5]"
},
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.