AlexHung29629/fix_magistral_fc
Text Generation
•
24B
•
Updated
•
1
segments
listlengths 2
2
|
---|
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly loan payment\", \"parameters\": {\"type\": \"object\", \"properties\": {\"principal\": {\"type\": \"number\", \"description\": \"The loan principal amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in years\"}}, \"required\": [\"principal\", \"interest_rate\", \"loan_term\"]}}}, {\"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\"}, \"location\": {\"type\": \"string\", \"description\": \"The location of the event\"}}, \"required\": [\"title\", \"start_time\", \"end_time\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need some help with calculating my loan payment.[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Could you please provide the principal amount, the annual interest rate, and the loan term in years?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_gcd\", \"description\": \"Calculate the greatest common divisor of two numbers\", \"parameters\": {\"type\": \"object\", \"properties\": {\"number1\": {\"type\": \"integer\", \"description\": \"The first number\"}, \"number2\": {\"type\": \"integer\", \"description\": \"The second number\"}}, \"required\": [\"number1\", \"number2\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need to find the greatest common divisor of two numbers.[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Can you please provide the two numbers?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need a new password for my email account. Can you generate a random one for me?[/INST]Of course, I can help with that. How long would you like your password to be?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_random_password\", \"description\": \"Generate a random password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}}, \"required\": [\"length\"]}}}][/AVAILABLE_TOOLS][INST]I would like it to be 12 characters long.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_password[ARGS]{\"length\": 12}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount based on income and tax rate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"income\": {\"type\": \"number\", \"description\": \"The annual income\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate (e.g. 25 for 25%)\"}}, \"required\": [\"income\", \"tax_rate\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"search_books\", \"description\": \"Search for books based on a query\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"The search query\"}, \"author\": {\"type\": \"string\", \"description\": \"Filter books by author\"}, \"genre\": {\"type\": \"string\", \"description\": \"Filter books by genre\"}}, \"required\": [\"query\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need to calculate my tax for this year. My annual income is $75,000 and the tax rate is 25%.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_tax[ARGS]{\"income\": 75000, \"tax_rate\": 25}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you tell me the current stock price of Apple?[/INST][TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"symbol\": \"AAPL\"}, \"id\": \"faa5aab7d\"}]</s>[TOOL_RESULTS] {\"content\": {\"price\": 150.75}, \"call_id\": \"faa5aab7d\"}[/TOOL_RESULTS]The current stock price of Apple (AAPL) is $150.75.</s>[AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]That's great. Can you also tell me the current stock price of Microsoft?[/INST][TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"symbol\": \"MSFT\"}, \"id\": \"cfdbf1daf\"}]</s>[TOOL_RESULTS] {\"content\": {\"price\": 216.25}, \"call_id\": \"cfdbf1daf\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The current stock price of Microsoft (MSFT) is $216.25.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"}}, \"required\": [\"query\"]}}}][/AVAILABLE_TOOLS][INST]Can you order a pizza for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to order a pizza for you. However, I can help you find a pizza place nearby or even guide you through the process of ordering online if you'd like!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]What's the current stock price of Apple?[/INST][TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"company\": \"Apple\"}, \"id\": \"4328c88a6\"}]</s>[TOOL_RESULTS] {\"content\": {\"stock_price\": \"$150.75\"}, \"call_id\": \"4328c88a6\"}[/TOOL_RESULTS]The current stock price of Apple is $150.75.</s>[AVAILABLE_TOOLS] [{\"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\"]}}}, {\"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\"}}}}}][/AVAILABLE_TOOLS][INST]And what about Microsoft?[/INST][TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"company\": \"Microsoft\"}, \"id\": \"6c946bbf0\"}]</s>[TOOL_RESULTS] {\"content\": {\"stock_price\": \"$210.22\"}, \"call_id\": \"6c946bbf0\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The current stock price of Microsoft is $210.22.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_random_name\", \"description\": \"Generate a random name\", \"parameters\": {\"type\": \"object\", \"properties\": {\"gender\": {\"type\": \"string\", \"description\": \"The gender of the name\"}}, \"required\": [\"gender\"]}}}][/AVAILABLE_TOOLS][INST]I need a random male name for my novel's character.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_name[ARGS]{\"gender\": \"male\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to calculate the factorial of 5. Can you help me with that?[/INST][TOOL_CALLS] [{\"name\": \"calculate_factorial\", \"arguments\": {\"number\": 5}, \"id\": \"844863b23\"}]</s>[TOOL_RESULTS] {\"content\": {\"result\": 120}, \"call_id\": \"844863b23\"}[/TOOL_RESULTS]The factorial of 5 is 120.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_factorial\", \"description\": \"Calculate the factorial of a number\", \"parameters\": {\"type\": \"object\", \"properties\": {\"number\": {\"type\": \"integer\", \"description\": \"The number to calculate the factorial\"}}, \"required\": [\"number\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"get_movie_recommendations\", \"description\": \"Get movie recommendations based on user's preferences\", \"parameters\": {\"type\": \"object\", \"properties\": {\"genre\": {\"type\": \"string\", \"description\": \"The preferred genre of movies\"}, \"year\": {\"type\": \"integer\", \"description\": \"The preferred year of movies\"}, \"rating\": {\"type\": \"number\", \"description\": \"The minimum rating of movies\"}}, \"required\": [\"genre\", \"year\", \"rating\"]}}}][/AVAILABLE_TOOLS][INST]That was quick! Now, can you calculate the factorial of 7?[/INST][TOOL_CALLS] [{\"name\": \"calculate_factorial\", \"arguments\": {\"number\": 7}, \"id\": \"24a16d62c\"}]</s>[TOOL_RESULTS] {\"content\": {\"result\": 5040}, \"call_id\": \"24a16d62c\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The factorial of 7 is 5040.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to know the distance between New York and Los Angeles.[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"start_location\": \"New York\", \"end_location\": \"Los Angeles\"}, \"id\": \"c88eb19fc\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 2448.5, \"units\": \"miles\"}, \"call_id\": \"c88eb19fc\"}[/TOOL_RESULTS]The distance between New York and Los Angeles is approximately 2448.5 miles.</s>[INST]That's quite a distance. What about the distance from Los Angeles to Miami?[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"start_location\": \"Los Angeles\", \"end_location\": \"Miami\"}, \"id\": \"170d4a360\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 2342.3, \"units\": \"miles\"}, \"call_id\": \"170d4a360\"}[/TOOL_RESULTS]The distance between Los Angeles and Miami is approximately 2342.3 miles.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two locations\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start_location\": {\"type\": \"string\", \"description\": \"The starting location\"}, \"end_location\": {\"type\": \"string\", \"description\": \"The ending location\"}}, \"required\": [\"start_location\", \"end_location\"]}}}][/AVAILABLE_TOOLS][INST]Thank you for the information.[/INST]"
},
{
"label": true,
"text": "You're welcome! If you need any more information or assistance, feel free to ask.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_recipes\", \"description\": \"Search for recipes based on specified criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"cuisine\": {\"type\": \"string\", \"description\": \"The cuisine type of the recipes\"}, \"ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients to be included in the recipes\"}, \"exclude_ingredients\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The ingredients to be excluded from the recipes\"}}, \"required\": [\"cuisine\"]}}}][/AVAILABLE_TOOLS][INST]I'm looking for a Mexican recipe that includes chicken and excludes cheese.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_recipes[ARGS]{\"cuisine\": \"Mexican\", \"ingredients\": [\"chicken\"], \"exclude_ingredients\": [\"cheese\"]}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\", \"description\": \"The complexity level of the password (low, medium, high)\"}}, \"required\": [\"length\", \"complexity\"]}}}][/AVAILABLE_TOOLS][INST]I need a new password. Can you generate one for me?[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Could you please specify the length of the password and the complexity level (low, medium, high)?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Can you help me find a book?[/INST]Of course! Could you please provide me with the title of the book?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_book\", \"description\": \"Search for a book by title or author\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the book\"}, \"author\": {\"type\": \"string\", \"description\": \"The author of the book\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the book\"}}, \"required\": [\"title\"]}}}][/AVAILABLE_TOOLS][INST]The title is \"To Kill a Mockingbird\".[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_book[ARGS]{\"title\": \"To Kill a Mockingbird\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Can you get me the latest sports news from the United States?[/INST][TOOL_CALLS] [{\"name\": \"get_news\", \"arguments\": {\"category\": \"sports\", \"country\": \"United States\"}, \"id\": \"9cf9e1eea\"}]</s>[TOOL_RESULTS] {\"content\": {\"news\": [{\"title\": \"NBA Finals: Lakers beat Heat to capture 17th title\", \"url\": \"https://www.nba.com/news\"}, {\"title\": \"NFL: Patriots' game postponed due to COVID-19 cases\", \"url\": \"https://www.nfl.com/news\"}]}, \"call_id\": \"9cf9e1eea\"}[/TOOL_RESULTS]Here are the latest sports news from the United States:\n1. [NBA Finals: Lakers beat Heat to capture 17th title](https://www.nba.com/news)\n2. [NFL: Patriots' game postponed due to COVID-19 cases](https://www.nfl.com/news)</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_news\", \"description\": \"Get the latest news\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of news\"}, \"country\": {\"type\": \"string\", \"description\": \"The country for which to get news\"}}, \"required\": [\"category\", \"country\"]}}}][/AVAILABLE_TOOLS][INST]That's interesting. How about the latest technology news from Japan?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_news[ARGS]{\"category\": \"technology\", \"country\": \"Japan\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_news\", \"description\": \"Get the latest news\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of news (e.g., sports, politics, entertainment)\"}, \"country\": {\"type\": \"string\", \"description\": \"The country for localized news\"}}}}}, {\"type\": \"function\", \"function\": {\"name\": \"calculate_bmi\", \"description\": \"Calculate Body Mass Index (BMI) based on weight and height\", \"parameters\": {\"type\": \"object\", \"properties\": {\"weight\": {\"type\": \"number\", \"description\": \"The weight in kilograms\"}, \"height\": {\"type\": \"number\", \"description\": \"The height in meters\"}}, \"required\": [\"weight\", \"height\"]}}}][/AVAILABLE_TOOLS][INST]Can you get me the latest sports news from the United States?[/INST][TOOL_CALLS] [{\"name\": \"get_news\", \"arguments\": {\"category\": \"sports\", \"country\": \"United States\"}, \"id\": \"79f508364\"}]</s>[TOOL_RESULTS] {\"content\": {\"news\": [{\"title\": \"NBA Finals: Lakers vs. Heat Game 5\", \"description\": \"The Los Angeles Lakers are one win away from their 17th championship. Can the Miami Heat force a Game 6?\"}, {\"title\": \"NFL Week 5: Chiefs vs. Raiders\", \"description\": \"The Kansas City Chiefs look to continue their undefeated streak against the Las Vegas Raiders.\"}]}, \"call_id\": \"79f508364\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Here are the latest sports news headlines from the United States:\n\n1. **NBA Finals: Lakers vs. Heat Game 5** - The Los Angeles Lakers are one win away from their 17th championship. Can the Miami Heat force a Game 6?\n\n2. **NFL Week 5: Chiefs vs. Raiders** - The Kansas City Chiefs look to continue their undefeated streak against the Las Vegas Raiders.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"}, \"cuisine\": {\"type\": \"string\", \"description\": \"The cuisine type to filter\"}}, \"required\": [\"ingredients\"]}}}, {\"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\"]}}}][/AVAILABLE_TOOLS][INST]I have some chicken, tomatoes and garlic. Can you find me a recipe?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_recipes[ARGS]{\"ingredients\": [\"chicken\", \"tomatoes\", \"garlic\"]}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to convert 1000 US dollars to Euros. Can you help me with that?[/INST][TOOL_CALLS] [{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 1000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}, \"id\": \"bff9d14c9\"}]</s>[TOOL_RESULTS] {\"content\": {\"converted_amount\": 850.50, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}, \"call_id\": \"bff9d14c9\"}[/TOOL_RESULTS]Sure, 1000 US dollars is approximately 850.50 Euros.</s>[AVAILABLE_TOOLS] [{\"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 currency to convert from\"}, \"to_currency\": {\"type\": \"string\", \"description\": \"The currency to convert to\"}}, \"required\": [\"amount\", \"from_currency\", \"to_currency\"]}}}][/AVAILABLE_TOOLS][INST]That's great! Now, can you convert 500 Euros to Japanese Yen?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]convert_currency[ARGS]{\"amount\": 500, \"from_currency\": \"EUR\", \"to_currency\": \"JPY\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"create_todo\", \"description\": \"Create a new todo item\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the todo item\"}, \"description\": {\"type\": \"string\", \"description\": \"The description of the todo item\"}, \"due_date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The due date of the todo item\"}}, \"required\": [\"title\", \"due_date\"]}}}][/AVAILABLE_TOOLS][INST]I need to create a new todo item.[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. What is the title of the todo item and when is it due?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I have some chicken and broccoli. Can you find me a recipe?[/INST][TOOL_CALLS] [{\"name\": \"search_recipes\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"]}, \"id\": \"6afc5309a\"}]</s>[TOOL_RESULTS] {\"content\": {\"recipes\": [{\"name\": \"Chicken and Broccoli Stir Fry\", \"ingredients\": [\"chicken\", \"broccoli\", \"soy sauce\", \"garlic\", \"ginger\"], \"instructions\": \"Stir fry chicken and broccoli in a pan with soy sauce, garlic and ginger.\"}, {\"name\": \"Chicken and Broccoli Casserole\", \"ingredients\": [\"chicken\", \"broccoli\", \"cheese\", \"milk\", \"flour\"], \"instructions\": \"Bake chicken and broccoli with cheese, milk and flour in a casserole dish.\"}]}, \"call_id\": \"6afc5309a\"}[/TOOL_RESULTS]I found two recipes for you. The first one is \"Chicken and Broccoli Stir Fry\". You'll need chicken, broccoli, soy sauce, garlic, and ginger. The instructions are to stir fry chicken and broccoli in a pan with soy sauce, garlic and ginger. The second one is \"Chicken and Broccoli Casserole\". For this, you'll need chicken, broccoli, cheese, milk, and flour. The instructions are to bake chicken and broccoli with cheese, milk and flour in a casserole dish.</s>[AVAILABLE_TOOLS] [{\"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\"}, \"diet\": {\"type\": \"string\", \"description\": \"The diet type to filter by\"}}, \"required\": [\"ingredients\"]}}}][/AVAILABLE_TOOLS][INST]I am on a keto diet. Can you find me a recipe with the same ingredients?[/INST][TOOL_CALLS] [{\"name\": \"search_recipes\", \"arguments\": {\"ingredients\": [\"chicken\", \"broccoli\"], \"diet\": \"keto\"}, \"id\": \"65f26ffc9\"}]</s>[TOOL_RESULTS] {\"content\": {\"recipes\": [{\"name\": \"Keto Chicken and Broccoli Casserole\", \"ingredients\": [\"chicken\", \"broccoli\", \"cheese\", \"heavy cream\"], \"instructions\": \"Bake chicken and broccoli with cheese and heavy cream in a casserole dish.\"}]}, \"call_id\": \"65f26ffc9\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "I found a keto-friendly recipe for you: \"Keto Chicken and Broccoli Casserole\". You'll need chicken, broccoli, cheese, and heavy cream. The instructions are to bake chicken and broccoli with cheese and heavy cream in a casserole dish.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I need a random color in hex format.[/INST][TOOL_CALLS] [{\"name\": \"generate_random_color\", \"arguments\": {\"format\": \"hex\"}, \"id\": \"d617e83d0\"}]</s>[TOOL_RESULTS] {\"content\": {\"color\": \"#a3b1c2\"}, \"call_id\": \"d617e83d0\"}[/TOOL_RESULTS]The random color generated in hex format is #a3b1c2.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_random_color\", \"description\": \"Generate a random color\", \"parameters\": {\"type\": \"object\", \"properties\": {\"format\": {\"type\": \"string\", \"enum\": [\"hex\", \"rgb\", \"hsl\"], \"description\": \"The format of the color\"}}, \"required\": [\"format\"]}}}][/AVAILABLE_TOOLS][INST]Can you generate another one but this time in rgb format?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_color[ARGS]{\"format\": \"rgb\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need to know the distance between New York and Los Angeles.[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"Los Angeles\"}, \"id\": \"b4d6d801e\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 2448.2, \"unit\": \"miles\"}, \"call_id\": \"b4d6d801e\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The distance between New York and Los Angeles is approximately 2,448.2 miles.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units.[/INST][TOOL_CALLS] [{\"name\": \"calculate_area\", \"arguments\": {\"shape\": \"rectangle\", \"dimensions\": {\"length\": 10, \"width\": 5}}, \"id\": \"edba5e3e2\"}]</s>[TOOL_RESULTS] {\"content\": {\"area\": 50}, \"call_id\": \"edba5e3e2\"}[/TOOL_RESULTS]The area of the rectangle with length 10 units and width 5 units is 50 square units.</s>[INST]Now, I need to calculate the area of a circle with a radius of 7 units.[/INST][TOOL_CALLS] [{\"name\": \"calculate_area\", \"arguments\": {\"shape\": \"circle\", \"dimensions\": {\"radius\": 7}}, \"id\": \"681e81fe7\"}]</s>[TOOL_RESULTS] {\"content\": {\"area\": 153.94}, \"call_id\": \"681e81fe7\"}[/TOOL_RESULTS]The area of the circle with radius 7 units is approximately 153.94 square units.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_area\", \"description\": \"Calculate the area of a geometric shape\", \"parameters\": {\"type\": \"object\", \"properties\": {\"shape\": {\"type\": \"string\", \"description\": \"The type of shape (e.g. rectangle, triangle, circle)\"}, \"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\"}, \"base\": {\"type\": \"number\", \"description\": \"The base length of the shape (e.g. for triangles)\"}, \"height\": {\"type\": \"number\", \"description\": \"The height of the shape (e.g. for triangles)\"}}, \"required\": [\"length\", \"width\", \"radius\"]}}, \"required\": [\"shape\", \"dimensions\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"calculate_bmi\", \"description\": \"Calculate the Body Mass Index (BMI) based on height and weight\", \"parameters\": {\"type\": \"object\", \"properties\": {\"height\": {\"type\": \"number\", \"description\": \"The height in meters\"}, \"weight\": {\"type\": \"number\", \"description\": \"The weight in kilograms\"}}, \"required\": [\"height\", \"weight\"]}}}][/AVAILABLE_TOOLS][INST]Lastly, I need to calculate the area of a triangle with a base of 8 units and a height of 12 units.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_area[ARGS]{\"shape\": \"triangle\", \"dimensions\": {\"base\": 8, \"height\": 12}}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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 company name\"}}, \"required\": [\"company\"]}}}][/AVAILABLE_TOOLS][INST]Hey, can you tell me the current stock price of Apple?[/INST]Sure, let me fetch that information for you.</s>"
},
{
"label": true,
"text": "[TOOL_CALLS]get_stock_price[ARGS]{\"company\": \"Apple\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_news_headlines\", \"description\": \"Get the latest news headlines\", \"parameters\": {\"type\": \"object\", \"properties\": {\"country\": {\"type\": \"string\", \"description\": \"The country for which the news headlines should be retrieved\"}, \"category\": {\"type\": \"string\", \"enum\": [\"business\", \"entertainment\", \"health\", \"science\", \"sports\", \"technology\"], \"description\": \"The category of news headlines\"}}, \"required\": [\"country\", \"category\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"validate_email\", \"description\": \"Check if an email address is valid\", \"parameters\": {\"type\": \"object\", \"properties\": {\"email\": {\"type\": \"string\", \"description\": \"The email address to validate\"}}, \"required\": [\"email\"]}}}][/AVAILABLE_TOOLS][INST]Can you get me the latest sports news from the United States?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_news_headlines[ARGS]{\"country\": \"United States\", \"category\": \"sports\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_movies\", \"description\": \"Search for movies based on specified 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\"}}}}}][/AVAILABLE_TOOLS][INST]I want to watch a movie but I can't decide. Can you suggest me a comedy movie?[/INST][TOOL_CALLS] [{\"name\": \"search_movies\", \"arguments\": {\"genre\": \"comedy\"}, \"id\": \"45c3e0416\"}]</s>[TOOL_RESULTS] {\"content\": {\"movies\": [\"Superbad\", \"The Hangover\", \"Bridesmaids\", \"Step Brothers\", \"Anchorman\"]}, \"call_id\": \"45c3e0416\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Here are some comedy movies you might enjoy:\n\n- Superbad\n- The Hangover\n- Bridesmaids\n- Step Brothers\n- Anchorman</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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 bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The percentage of tip to calculate\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need help with calculating the tip for my bill. The total amount is $50 and I want to leave a 20% tip.[/INST]"
},
{
"label": true,
"text": "[{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20}}]</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_password\", \"description\": \"Generate a random password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}, \"include_symbols\": {\"type\": \"boolean\", \"description\": \"Include symbols in the password\"}}, \"required\": [\"length\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"search_movies\", \"description\": \"Search for movies based on a keyword\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keyword\": {\"type\": \"string\", \"description\": \"The keyword to search for\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the movies to search in\"}, \"year\": {\"type\": \"integer\", \"description\": \"The release year of the movies to search for\"}}, \"required\": [\"keyword\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need a new password. Can you generate one for me?[/INST]"
},
{
"label": true,
"text": "Sure, how long would you like the password to be? Do you want it to include symbols?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\", \"year\"]}}}][/AVAILABLE_TOOLS][INST]Can you tell me about the movie \"Inception\" released in 2010?[/INST][TOOL_CALLS] [{\"name\": \"get_movie_details\", \"arguments\": {\"title\": \"Inception\", \"year\": 2010}, \"id\": \"66148cc27\"}]</s>[TOOL_RESULTS] {\"content\": {\"title\": \"Inception\", \"year\": 2010, \"director\": \"Christopher Nolan\", \"genre\": \"Science Fiction\", \"rating\": 8.8, \"description\": \"A thief who steals corporate secrets through the use of dream-sharing technology is given the inverse task of planting an idea into the mind of a CEO.\"}, \"call_id\": \"66148cc27\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "\"Inception\" is a 2010 science fiction film directed by Christopher Nolan. The movie follows a thief who specializes in corporate espionage through the use of dream-sharing technology. He is given the task of planting an idea into the mind of a CEO. The film is renowned for its complex narrative and innovative visual effects, and it has a rating of 8.8.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Can you help me create a calendar event for my meeting tomorrow?[/INST]Of course! I can help with that. Could you please provide me with the details of the event such as the title, start time, end time, and location?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"create_calendar_event\", \"description\": \"Create a calendar event with given details\", \"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\"]}}}][/AVAILABLE_TOOLS][INST]The title is \"Project Discussion\", it starts at 10:00 AM and ends at 11:30 AM. The location is the conference room.[/INST][TOOL_CALLS] [{\"name\": \"create_calendar_event\", \"arguments\": {\"title\": \"Project Discussion\", \"start_time\": \"10:00 AM\", \"end_time\": \"11:30 AM\", \"location\": \"conference room\"}, \"id\": \"115d8cacd\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"message\": \"Event 'Project Discussion' has been successfully created for the time slot 10:00 AM to 11:30 AM at the location 'conference room'.\"}, \"call_id\": \"115d8cacd\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The event \"Project Discussion\" has been successfully created for the time slot 10:00 AM to 11:30 AM at the location \"conference room\".</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you help me find the details of a book?[/INST]Of course! I can help with that. Could you please provide me with the ISBN number of the book?</s>[INST]Sure, the ISBN is 978-3-16-148410-0.[/INST][TOOL_CALLS] [{\"name\": \"get_book_details\", \"arguments\": {\"isbn\": \"978-3-16-148410-0\"}, \"id\": \"2812200b4\"}]</s>[TOOL_RESULTS] {\"content\": {\"title\": \"The Great Gatsby\", \"author\": \"F. Scott Fitzgerald\", \"publisher\": \"Charles Scribner's Sons\", \"year\": \"1925\", \"pages\": \"180\"}, \"call_id\": \"2812200b4\"}[/TOOL_RESULTS]The book with ISBN 978-3-16-148410-0 is \"The Great Gatsby\" by F. Scott Fitzgerald. It was published by Charles Scribner's Sons in 1925 and has 180 pages.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_book_details\", \"description\": \"Get the details of a book\", \"parameters\": {\"type\": \"object\", \"properties\": {\"isbn\": {\"type\": \"string\", \"description\": \"The ISBN number of the book\"}}, \"required\": [\"isbn\"]}}}][/AVAILABLE_TOOLS][INST]That's great! Can you also order this book for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to order books for you. However, I can certainly help you find information about the book or suggest where you might be able to purchase it!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need help with calculating the tip for my bill. The total bill amount is $50 and I want to leave a 20% tip.[/INST][TOOL_CALLS] [{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 50, \"tip_percentage\": 20}, \"id\": \"7c88c24f8\"}]</s>[TOOL_RESULTS] {\"content\": {\"tip_amount\": 10}, \"call_id\": \"7c88c24f8\"}[/TOOL_RESULTS]Based on the bill amount of $50 and a tip percentage of 20%, the tip amount you should leave is $10.</s>[AVAILABLE_TOOLS] [{\"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\", \"description\": \"The total bill amount\"}, \"tip_percentage\": {\"type\": \"number\", \"description\": \"The tip percentage to be applied\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}}][/AVAILABLE_TOOLS][INST]Great, thanks for the help![/INST]"
},
{
"label": true,
"text": "You're welcome! If you need any further assistance, feel free to ask.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_movies\", \"description\": \"Search for movies based on a given keyword\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keyword\": {\"type\": \"string\", \"description\": \"The keyword to search for in movie titles\"}}, \"required\": [\"keyword\"]}}}][/AVAILABLE_TOOLS][INST]I'm in the mood for a movie. Can you suggest something with the keyword 'adventure'?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_movies[ARGS]{\"keyword\": \"adventure\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_bmi\", \"description\": \"Calculate the Body Mass Index\", \"parameters\": {\"type\": \"object\", \"properties\": {\"weight\": {\"type\": \"number\", \"description\": \"The weight of the person in kg\"}, \"height\": {\"type\": \"number\", \"description\": \"The height of the person in meters\"}}, \"required\": [\"weight\", \"height\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I would like to calculate my BMI. I weigh 70 kg and my height is 1.75 meters.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_bmi[ARGS]{\"weight\": 70, \"height\": 1.75}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need some help with calculating my loan payment.[/INST]Of course, I can help with that. Could you please provide me with the loan amount, the interest rate, and the loan term in years?</s>[AVAILABLE_TOOLS] [{\"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 interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The loan term in years\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"generate_random_number\", \"description\": \"Generate a random number within a specified range\", \"parameters\": {\"type\": \"object\", \"properties\": {\"min\": {\"type\": \"number\", \"description\": \"The minimum value of the range\"}, \"max\": {\"type\": \"number\", \"description\": \"The maximum value of the range\"}}, \"required\": [\"min\", \"max\"]}}}][/AVAILABLE_TOOLS][INST]Sure, the loan amount is $50000, the interest rate is 3.5%, and the loan term is 10 years.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_loan_payment[ARGS]{\"loan_amount\": 50000, \"interest_rate\": 3.5, \"loan_term\": 10}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I need to calculate the area of a rectangle. The length is 10 units and the width is 5 units.[/INST][TOOL_CALLS] [{\"name\": \"calculate_area\", \"arguments\": {\"shape\": \"rectangle\", \"dimensions\": {\"length\": 10, \"width\": 5}}, \"id\": \"f748c9912\"}]</s>[TOOL_RESULTS] {\"content\": {\"area\": 50}, \"call_id\": \"f748c9912\"}[/TOOL_RESULTS]The area of the rectangle with length 10 units and width 5 units is 50 square units.</s>[INST]Now, I want to calculate the area of a circle with a radius of 7 units.[/INST][TOOL_CALLS] [{\"name\": \"calculate_area\", \"arguments\": {\"shape\": \"circle\", \"dimensions\": {\"radius\": 7}}, \"id\": \"68db1718b\"}]</s>[TOOL_RESULTS] {\"content\": {\"area\": 153.94}, \"call_id\": \"68db1718b\"}[/TOOL_RESULTS]The area of the circle with radius 7 units is approximately 153.94 square units.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_area\", \"description\": \"Calculate the area of a geometric shape\", \"parameters\": {\"type\": \"object\", \"properties\": {\"shape\": {\"type\": \"string\", \"description\": \"The geometric shape (rectangle, circle, triangle, etc.)\"}, \"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\"}, \"base\": {\"type\": \"number\", \"description\": \"The base of the shape\"}, \"height\": {\"type\": \"number\", \"description\": \"The height of the shape\"}}}}, \"required\": [\"shape\", \"dimensions\"]}}}][/AVAILABLE_TOOLS][INST]Lastly, I need to calculate the area of a triangle with a base of 8 units and a height of 12 units.[/INST][TOOL_CALLS] [{\"name\": \"calculate_area\", \"arguments\": {\"shape\": \"triangle\", \"dimensions\": {\"base\": 8, \"height\": 12}}, \"id\": \"8f2dc22b6\"}]</s>[TOOL_RESULTS] {\"content\": {\"area\": 48}, \"call_id\": \"8f2dc22b6\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The area of the triangle with a base of 8 units and a height of 12 units is 48 square units.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]What does the word 'serendipity' mean?[/INST][TOOL_CALLS] [{\"name\": \"get_definition\", \"arguments\": {\"word\": \"serendipity\"}, \"id\": \"7f7951e6c\"}]</s>[TOOL_RESULTS] {\"content\": {\"definition\": \"Serendipity is the occurrence and development of events by chance in a happy or beneficial way.\"}, \"call_id\": \"7f7951e6c\"}[/TOOL_RESULTS]The word 'serendipity' means the occurrence and development of events by chance in a happy or beneficial way.</s>[AVAILABLE_TOOLS] [{\"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 of\"}}, \"required\": [\"word\"]}}}][/AVAILABLE_TOOLS][INST]What about 'ephemeral'?[/INST][TOOL_CALLS] [{\"name\": \"get_definition\", \"arguments\": {\"word\": \"ephemeral\"}, \"id\": \"64574da46\"}]</s>[TOOL_RESULTS] {\"content\": {\"definition\": \"Ephemeral means lasting for a very short time.\"}, \"call_id\": \"64574da46\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The word 'ephemeral' means lasting for a very short time.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"check_stock_price\", \"description\": \"Check the stock price of a specific company\", \"parameters\": {\"type\": \"object\", \"properties\": {\"company_name\": {\"type\": \"string\", \"description\": \"The name of the company\"}}, \"required\": [\"company_name\"]}}}][/AVAILABLE_TOOLS][INST]Hey, can you tell me the stock price of Apple Inc.?[/INST]Sure, let me check that for you.</s>"
},
{
"label": true,
"text": "[TOOL_CALLS]check_stock_price[ARGS]{\"company_name\": \"Apple Inc.\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I have a temperature reading of 100 degrees Fahrenheit. Can you convert it to Celsius for me?[/INST][TOOL_CALLS] [{\"name\": \"convert_temperature\", \"arguments\": {\"temperature\": 100, \"from_unit\": \"Fahrenheit\", \"to_unit\": \"Celsius\"}, \"id\": \"5bf152146\"}]</s>[TOOL_RESULTS] {\"content\": {\"converted_temperature\": 37.78}, \"call_id\": \"5bf152146\"}[/TOOL_RESULTS]The converted temperature from 100 degrees Fahrenheit to Celsius is approximately 37.78 degrees Celsius.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"convert_temperature\", \"description\": \"Convert temperature from one unit to another\", \"parameters\": {\"type\": \"object\", \"properties\": {\"temperature\": {\"type\": \"number\", \"description\": \"The temperature to be converted\"}, \"from_unit\": {\"type\": \"string\", \"description\": \"The unit to convert from\"}, \"to_unit\": {\"type\": \"string\", \"description\": \"The unit to convert to\"}}, \"required\": [\"temperature\", \"from_unit\", \"to_unit\"]}}}][/AVAILABLE_TOOLS][INST]That's great! Now, can you convert 0 degrees Celsius to Fahrenheit?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]convert_temperature[ARGS]{\"temperature\": 0, \"from_unit\": \"Celsius\", \"to_unit\": \"Fahrenheit\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"create_contact\", \"description\": \"Create a new contact\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"description\": \"The name of the contact\"}, \"phone\": {\"type\": \"string\", \"description\": \"The phone number of the contact\"}, \"email\": {\"type\": \"string\", \"description\": \"The email address of the contact\"}}, \"required\": [\"name\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"generate_password\", \"description\": \"Generate a random password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}}, \"required\": [\"length\"]}}}][/AVAILABLE_TOOLS][INST]I need to create a new contact for my friend John Doe.[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Can you provide me with John's phone number and email address?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need a random number between 1 and 100.[/INST]Sure, I can help with that. Let me generate it for you.</s>"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_number[ARGS]{\"min\": 1, \"max\": 100}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to know the distance between New York and Los Angeles.[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"source\": \"New York\", \"destination\": \"Los Angeles\"}, \"id\": \"87e048606\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 2448.2, \"unit\": \"miles\"}, \"call_id\": \"87e048606\"}[/TOOL_RESULTS]The distance between New York and Los Angeles is approximately 2448.2 miles.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two locations\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"The source location\"}, \"destination\": {\"type\": \"string\", \"description\": \"The destination location\"}}, \"required\": [\"source\", \"destination\"]}}}][/AVAILABLE_TOOLS][INST]That's quite a distance! What about the distance from London to Paris?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_distance[ARGS]{\"source\": \"London\", \"destination\": \"Paris\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_product\", \"description\": \"Search for a specific product in a database\", \"parameters\": {\"type\": \"object\", \"properties\": {\"product_name\": {\"type\": \"string\", \"description\": \"The name of the product to search for\"}, \"category\": {\"type\": \"string\", \"description\": \"The category of the product\"}}, \"required\": [\"product_name\", \"category\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I'm looking for a specific product. Can you help me find it?[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Could you please provide the name of the product and its category?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_discount\", \"description\": \"Calculate the discounted price of an item\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the item\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The discount percentage to apply\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}}][/AVAILABLE_TOOLS][INST]I saw a dress that I liked in a store. It was priced at $100 and they are offering a 20% discount. Can you tell me how much I will have to pay after the discount?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_discount[ARGS]{\"original_price\": 100, \"discount_percentage\": 20}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to know the distance between New York and Los Angeles.[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"location1\": \"New York\", \"location2\": \"Los Angeles\"}, \"id\": \"87f4d5bdc\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 2448.5, \"unit\": \"miles\"}, \"call_id\": \"87f4d5bdc\"}[/TOOL_RESULTS]The distance between New York and Los Angeles is approximately 2448.5 miles.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two locations\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location1\": {\"type\": \"string\", \"description\": \"The first location\"}, \"location2\": {\"type\": \"string\", \"description\": \"The second location\"}}, \"required\": [\"location1\", \"location2\"]}}}][/AVAILABLE_TOOLS][INST]Great, now can you tell me the distance between London and Paris?[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"location1\": \"London\", \"location2\": \"Paris\"}, \"id\": \"27e717b24\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 214.3, \"unit\": \"miles\"}, \"call_id\": \"27e717b24\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The distance between London and Paris is approximately 214.3 miles.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_gpa\", \"description\": \"Calculate the Grade Point Average (GPA) based on grades and credit hours\", \"parameters\": {\"type\": \"object\", \"properties\": {\"grades\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The grades earned for each course\"}, \"credit_hours\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"description\": \"The credit hours for each course\"}}, \"required\": [\"grades\", \"credit_hours\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need help calculating my GPA. I have the grades and credit hours for each of my courses.[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Please provide the grades and the corresponding credit hours for each course.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Can you help me create a new todo item?[/INST]Of course! I can help with that. Could you please provide me with the task description and the due date?</s>[INST]Sure, the task is to \"Buy groceries\" and it's due tomorrow.[/INST][TOOL_CALLS] [{\"name\": \"create_todo\", \"arguments\": {\"task\": \"Buy groceries\", \"due_date\": \"tomorrow\"}, \"id\": \"03bc99e9c\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"message\": \"Todo item created successfully\"}, \"call_id\": \"03bc99e9c\"}[/TOOL_RESULTS]Your todo item has been created successfully!</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"create_todo\", \"description\": \"Create a new todo item\", \"parameters\": {\"type\": \"object\", \"properties\": {\"task\": {\"type\": \"string\", \"description\": \"The task description\"}, \"due_date\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The due date of the task\"}}, \"required\": [\"task\", \"due_date\"]}}}][/AVAILABLE_TOOLS][INST]Great! Can you also help me book a flight to New York?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to book flights directly. However, I can certainly guide you on how to do it yourself or provide information on travel websites and apps that can help you book your flight to New York. Would that be helpful?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_random_joke\", \"description\": \"Get a random joke\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of the joke\"}}, \"required\": []}}}, {\"type\": \"function\", \"function\": {\"name\": \"execute_program\", \"description\": \"Execute a program\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program_code\": {\"type\": \"string\", \"description\": \"The code of the program to be executed\"}, \"input\": {\"type\": \"string\", \"description\": \"The input for the program\"}}, \"required\": [\"program_code\", \"input\"]}}}][/AVAILABLE_TOOLS][INST]I need a good laugh. Can you tell me a joke?[/INST][TOOL_CALLS] [{\"name\": \"get_random_joke\", \"arguments\": {\"category\": \"general\"}, \"id\": \"9a86bdeaf\"}]</s>[TOOL_RESULTS] {\"content\": {\"joke\": \"Why don't scientists trust atoms? Because they make up everything!\"}, \"call_id\": \"9a86bdeaf\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Here's a joke for you:\n\nWhy don't scientists trust atoms? Because they make up everything!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_age\", \"description\": \"Calculate the age based on a specified date of birth\", \"parameters\": {\"type\": \"object\", \"properties\": {\"date_of_birth\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The date of birth\"}}, \"required\": [\"date_of_birth\"]}}}][/AVAILABLE_TOOLS][INST]Can you book a flight for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to book flights directly. However, I can guide you on how to do it yourself or provide information on travel websites and apps that can help you with booking. Would you like some assistance with that?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_discount\", \"description\": \"Calculate the discounted price based on a percentage\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the item\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The discount percentage to be applied\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"calculate_age\", \"description\": \"Calculate the age based on birthdate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"birthdate\": {\"type\": \"string\", \"description\": \"The birthdate in format YYYY-MM-DD\"}}, \"required\": [\"birthdate\"]}}}][/AVAILABLE_TOOLS][INST]I saw a jacket I liked for $200, but it's a bit too expensive for me. If it goes on sale for 20% off, how much would it cost?[/INST][TOOL_CALLS] [{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 200, \"discount_percentage\": 20}, \"id\": \"2f1e63640\"}]</s>[TOOL_RESULTS] {\"content\": {\"discounted_price\": 160}, \"call_id\": \"2f1e63640\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The jacket would cost $160 after a 20% discount.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I am looking for a movie. It's called \"Inception\".[/INST][TOOL_CALLS] [{\"name\": \"search_movie\", \"arguments\": {\"title\": \"Inception\"}, \"id\": \"0214be6d0\"}]</s>[TOOL_RESULTS] {\"content\": {\"title\": \"Inception\", \"year\": 2010, \"genre\": \"Science Fiction\", \"rating\": 8.8, \"description\": \"A thief who steals corporate secrets through the use of dream-sharing technology is given the inverse task of planting an idea into the mind of a CEO.\"}, \"call_id\": \"0214be6d0\"}[/TOOL_RESULTS]I found the movie you were looking for. \"Inception\" is a Science Fiction movie released in 2010. It has a rating of 8.8. The movie is about a thief who steals corporate secrets through the use of dream-sharing technology and is given the inverse task of planting an idea into the mind of a CEO.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_movie\", \"description\": \"Search for a movie by title\", \"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\"}, \"rating\": {\"type\": \"number\", \"description\": \"The minimum rating of the movie\"}}, \"required\": [\"title\"]}}}, {\"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\"]}}}][/AVAILABLE_TOOLS][INST]That's the one! Can you also find a movie called \"The Dark Knight\" released in 2008?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_movie[ARGS]{\"title\": \"The Dark Knight\", \"year\": 2008}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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 tip percentage to give\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need help with calculating the tip for my bill. The total amount is $100 and I want to give a 15% tip.[/INST][TOOL_CALLS] [{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 100, \"tip_percentage\": 15}, \"id\": \"5ee60ff9d\"}]</s>[TOOL_RESULTS] {\"content\": {\"tip_amount\": 15}, \"call_id\": \"5ee60ff9d\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The tip amount for a $100 bill with a 15% tip is $15.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need a QR code for my website.[/INST]Sure, I can help with that. Could you please provide me with the URL of your website?</s>[AVAILABLE_TOOLS] [{\"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\"}, \"size\": {\"type\": \"integer\", \"description\": \"The size of the QR code in pixels\"}}, \"required\": [\"text\"]}}}][/AVAILABLE_TOOLS][INST]Yes, it's www.mywebsite.com.[/INST][TOOL_CALLS] [{\"name\": \"generate_qr_code\", \"arguments\": {\"text\": \"www.mywebsite.com\"}, \"id\": \"b4a8e47db\"}]</s>[TOOL_RESULTS] {\"content\": {\"qr_code\": \"image_link\"}, \"call_id\": \"b4a8e47db\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Here is your QR code: image_link. You can use this to direct users to your website.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I am looking for some books to read. Can you help me find them?[/INST]Of course! Could you please provide me with some keywords or the genre of the books you are interested in?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_books\", \"description\": \"Search for books in a library\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Keywords for book search\"}, \"genre\": {\"type\": \"string\", \"description\": \"Genre of books to search\"}}, \"required\": [\"keywords\"]}}}][/AVAILABLE_TOOLS][INST]I am interested in science fiction and some of the keywords could be \"space\", \"aliens\" and \"future\".[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_books[ARGS]{\"keywords\": [\"space\", \"aliens\", \"future\"], \"genre\": \"science fiction\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_news_headlines\", \"description\": \"Get the latest news headlines\", \"parameters\": {}}}][/AVAILABLE_TOOLS][INST]Can you please order a pizza for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to order a pizza for you. However, I can help you find a pizza place nearby or even guide you through the ordering process if you'd like!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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 analyze\"}}, \"required\": [\"text\"]}}}, {\"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 (YYYY-MM-DD)\"}}, \"required\": [\"birthdate\"]}}}][/AVAILABLE_TOOLS][INST]Can you analyze the sentiment of this text for me? \"I am feeling really happy today because I got a promotion at work.\"[/INST][TOOL_CALLS] [{\"name\": \"analyze_sentiment\", \"arguments\": {\"text\": \"I am feeling really happy today because I got a promotion at work.\"}, \"id\": \"e69e04b98\"}]</s>[TOOL_RESULTS] {\"content\": {\"sentiment\": \"positive\", \"confidence\": 0.98}, \"call_id\": \"e69e04b98\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The sentiment of the text \"I am feeling really happy today because I got a promotion at work.\" is positive with a confidence of 0.98.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I need a random number between 1 and 100.[/INST][TOOL_CALLS] [{\"name\": \"get_random_number\", \"arguments\": {\"min\": 1, \"max\": 100}, \"id\": \"e593f8ce6\"}]</s>[TOOL_RESULTS] {\"content\": {\"result\": 42}, \"call_id\": \"e593f8ce6\"}[/TOOL_RESULTS]The random number generated between 1 and 100 is 42.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_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\"]}}}][/AVAILABLE_TOOLS][INST]Can you generate another random number but this time between 200 and 300?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_random_number[ARGS]{\"min\": 200, \"max\": 300}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"}}, \"required\": [\"symbol\"]}}}][/AVAILABLE_TOOLS][INST]Hi, can you tell me the current price of Apple's stock?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_stock_price[ARGS]{\"symbol\": \"AAPL\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"convert_temperature\", \"description\": \"Convert a temperature from one unit to another\", \"parameters\": {\"type\": \"object\", \"properties\": {\"temperature\": {\"type\": \"number\", \"description\": \"The temperature to convert\"}, \"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\"]}}}][/AVAILABLE_TOOLS][INST]Can you order a pizza for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to order a pizza for you. However, I can help you with a recipe or suggest some pizza places nearby if you'd like!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Can you tell me the definition of the word 'serendipity' in English?[/INST][TOOL_CALLS] [{\"name\": \"get_definition\", \"arguments\": {\"word\": \"serendipity\", \"language\": \"English\"}, \"id\": \"82779229a\"}]</s>[TOOL_RESULTS] {\"content\": {\"definition\": \"The occurrence and development of events by chance in a happy or beneficial way.\"}, \"call_id\": \"82779229a\"}[/TOOL_RESULTS]The definition of the word 'serendipity' in English is \"The occurrence and development of events by chance in a happy or beneficial way.\"</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_definition\", \"description\": \"Get the definition of a word\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\", \"description\": \"The word for which definition is required\"}, \"language\": {\"type\": \"string\", \"description\": \"The language of the word (e.g. English, French, Spanish)\"}}, \"required\": [\"word\", \"language\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"create_account\", \"description\": \"Create a new user account\", \"parameters\": {\"type\": \"object\", \"properties\": {\"username\": {\"type\": \"string\", \"description\": \"The username for the new account\"}, \"password\": {\"type\": \"string\", \"description\": \"The password for the new account\"}, \"email\": {\"type\": \"string\", \"description\": \"The email address for the new account\"}}, \"required\": [\"username\", \"password\", \"email\"]}}}][/AVAILABLE_TOOLS][INST]What about the word 'amor' in Spanish?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_definition[ARGS]{\"word\": \"amor\", \"language\": \"Spanish\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need a QR code for my website.[/INST]Sure, I can help with that. Could you please provide me with the URL of your website?</s>[INST]Yes, it's www.mywebsite.com.[/INST][TOOL_CALLS] [{\"name\": \"generate_qr_code\", \"arguments\": {\"text\": \"www.mywebsite.com\"}, \"id\": \"872aca507\"}]</s>[TOOL_RESULTS] {\"content\": {\"qr_code\": \"QR_CODE_IMAGE_DATA\"}, \"call_id\": \"872aca507\"}[/TOOL_RESULTS]I have generated the QR code for your website. You can download it using this link: [QR_CODE_IMAGE_DATA].</s>[AVAILABLE_TOOLS] [{\"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 for which QR code is to be generated\"}, \"size\": {\"type\": \"integer\", \"description\": \"The size of the QR code\"}}, \"required\": [\"text\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"calculate_area\", \"description\": \"Calculate the area of a geometric shape\", \"parameters\": {\"type\": \"object\", \"properties\": {\"shape\": {\"type\": \"string\", \"description\": \"The geometric shape\"}, \"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\": [\"length\", \"width\"]}}, \"required\": [\"shape\", \"dimensions\"]}}}][/AVAILABLE_TOOLS][INST]That's great! Can I also get a larger version of the same QR code?[/INST][TOOL_CALLS] [{\"name\": \"generate_qr_code\", \"arguments\": {\"text\": \"www.mywebsite.com\", \"size\": 500}, \"id\": \"169babb50\"}]</s>[TOOL_RESULTS] {\"content\": {\"qr_code\": \"LARGER_QR_CODE_IMAGE_DATA\"}, \"call_id\": \"169babb50\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "I have generated a larger version of the QR code for your website. You can download it using this link: [LARGER_QR_CODE_IMAGE_DATA].</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_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\"]}}}][/AVAILABLE_TOOLS][INST]I need a random number between 1 and 100.[/INST][TOOL_CALLS] [{\"name\": \"get_random_number\", \"arguments\": {\"min\": 1, \"max\": 100}, \"id\": \"e593f8ce6\"}]</s>[TOOL_RESULTS] {\"content\": {\"result\": 42}, \"call_id\": \"e593f8ce6\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The random number between 1 and 100 is 42.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_password\", \"description\": \"Generate a random password with given length\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}}, \"required\": [\"length\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need a new password. Can you generate one for me?[/INST]"
},
{
"label": true,
"text": "Sure, how long would you like the password to be?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I am looking for a science fiction book published in 2015. Can you help me find one?[/INST][TOOL_CALLS] [{\"name\": \"search_books\", \"arguments\": {\"keywords\": [\"science fiction\"], \"year\": 2015}, \"id\": \"7b30fbe7b\"}]</s>[TOOL_RESULTS] {\"content\": {\"results\": [{\"title\": \"The Water Will Come: Rising Seas, Sinking Cities, and the Remaking of the Civilized World\", \"author\": \"Jeff Goodell\", \"year\": 2015, \"genre\": \"Science Fiction\"}]}, \"call_id\": \"7b30fbe7b\"}[/TOOL_RESULTS]I found a book that matches your criteria. It's called \"The Water Will Come: Rising Seas, Sinking Cities, and the Remaking of the Civilized World\" by Jeff Goodell, published in 2015 in the genre of Science Fiction.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_books\", \"description\": \"Search for books based on specified criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"Keywords to search for in the book title or author\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the book\"}, \"year\": {\"type\": \"integer\", \"description\": \"The publication year of the book\"}}, \"required\": [\"keywords\"]}}}][/AVAILABLE_TOOLS][INST]That sounds interesting. Can you find more books by the same author?[/INST][TOOL_CALLS] [{\"name\": \"search_books\", \"arguments\": {\"keywords\": [\"Jeff Goodell\"]}, \"id\": \"a0d3d43b7\"}]</s>[TOOL_RESULTS] {\"content\": {\"results\": [{\"title\": \"Big Coal: The Dirty Secret Behind America's Energy Future\", \"author\": \"Jeff Goodell\", \"year\": 2006, \"genre\": \"Non-fiction\"}, {\"title\": \"How to Cool the Planet: Geoengineering and the Audacious Quest to Fix Earth's Climate\", \"author\": \"Jeff Goodell\", \"year\": 2010, \"genre\": \"Non-fiction\"}]}, \"call_id\": \"a0d3d43b7\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Here are some other books by Jeff Goodell:\n\n- \"Big Coal: The Dirty Secret Behind America's Energy Future\" (2006) - Non-fiction\n- \"How to Cool the Planet: Geoengineering and the Audacious Quest to Fix Earth's Climate\" (2010) - Non-fiction</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]Can you order a pizza for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to order a pizza for you. However, I can certainly help you find a good pizza place nearby or even guide you through the process of ordering online if you'd like!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you help me calculate my age? My birthdate is 1990-05-15.[/INST]Of course, let me calculate that for you.</s>[TOOL_CALLS] [{\"name\": \"calculate_age\", \"arguments\": {\"birthdate\": \"1990-05-15\"}, \"id\": \"2732a9c20\"}]</s>[TOOL_RESULTS] {\"content\": {\"age\": 31}, \"call_id\": \"2732a9c20\"}[/TOOL_RESULTS]Based on the birthdate you provided, you are 31 years old.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_age\", \"description\": \"Calculate age based on given birthdate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"birthdate\": {\"type\": \"string\", \"format\": \"date\", \"description\": \"The birthdate of the person\"}}, \"required\": [\"birthdate\"]}}}][/AVAILABLE_TOOLS][INST]Great, thank you! Can you also help me book a flight to New York?[/INST]"
},
{
"label": true,
"text": "I'm glad you reached out and I'm sorry that I can't assist with booking flights directly. However, I can guide you on how to do it yourself or provide information on travel websites and apps that can help you with that. Would that be helpful?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"}}, \"required\": [\"ingredients\"]}}}, {\"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\"]}}}][/AVAILABLE_TOOLS][INST]I have some chicken, broccoli, and cheese. What can I make with these?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_recipes[ARGS]{\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"]}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I forgot my password. Can you help me reset it?[/INST]Of course, I can help you with that. Could you please provide me with your user ID?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_password_reset_link\", \"description\": \"Generate a password reset link for a user\", \"parameters\": {\"type\": \"object\", \"properties\": {\"user_id\": {\"type\": \"string\", \"description\": \"The ID of the user\"}}, \"required\": [\"user_id\"]}}}][/AVAILABLE_TOOLS][INST]Sure, my user ID is 12345.[/INST][TOOL_CALLS] [{\"name\": \"generate_password_reset_link\", \"arguments\": {\"user_id\": \"12345\"}, \"id\": \"98a14f196\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"message\": \"Password reset link has been generated\", \"reset_link\": \"https://resetpassword.com/12345\"}, \"call_id\": \"98a14f196\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "I have generated a password reset link for you. Please click on the following link to reset your password: https://resetpassword.com/12345</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_random_number\", \"description\": \"Generate a random number within a given 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\"]}}}][/AVAILABLE_TOOLS][INST]Hi, can you generate a random number between 1 and 100 for me?[/INST]Sure, I can do that. Let me generate that for you.</s>"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_number[ARGS]{\"min\": 1, \"max\": 100}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I'm in the mood for a good movie. Can you recommend something?[/INST]Of course! Could you please tell me your preferred genre and if you have a minimum rating in mind?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_movie_recommendations\", \"description\": \"Get recommendations for movies to watch\", \"parameters\": {\"type\": \"object\", \"properties\": {\"genre\": {\"type\": \"string\", \"description\": \"The preferred genre of movies\"}, \"rating\": {\"type\": \"number\", \"description\": \"The minimum rating for recommended movies\"}}, \"required\": [\"genre\"]}}}][/AVAILABLE_TOOLS][INST]I love action movies. And I prefer movies with a rating of at least 7.[/INST][TOOL_CALLS] [{\"name\": \"get_movie_recommendations\", \"arguments\": {\"genre\": \"action\", \"rating\": 7}, \"id\": \"6b9c35154\"}]</s>[TOOL_RESULTS] {\"content\": {\"movies\": [\"Die Hard\", \"Mad Max: Fury Road\", \"The Dark Knight\", \"Inception\", \"The Matrix\"]}, \"call_id\": \"6b9c35154\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Here are some action movies with a rating of at least 7 that you might enjoy:\n\n- Die Hard\n- Mad Max: Fury Road\n- The Dark Knight\n- Inception\n- The Matrix</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\": {\"type\": \"string\", \"description\": \"The currency to convert from\"}, \"to\": {\"type\": \"string\", \"description\": \"The currency to convert to\"}}, \"required\": [\"amount\", \"from\", \"to\"]}}}][/AVAILABLE_TOOLS][INST]Hey, I need to convert 100 USD to Euros. Can you help me with that?[/INST]"
},
{
"label": true,
"text": "[{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 100, \"from\": \"USD\", \"to\": \"EUR\"}}]</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_books\", \"description\": \"Search for books based on given criteria\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the book\"}, \"author\": {\"type\": \"string\", \"description\": \"The author of the book\"}, \"genre\": {\"type\": \"string\", \"description\": \"The genre of the book\"}}}}}][/AVAILABLE_TOOLS][INST]I'm looking for a book but I can't remember the title. The author's name is George Orwell and it's a dystopian novel.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]search_books[ARGS]{\"author\": \"George Orwell\", \"genre\": \"dystopian\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"find_closest_gas_station\", \"description\": \"Find the closest gas station to a location\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location to find gas station near\"}}, \"required\": [\"location\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I am currently in New York. Can you find the closest gas station to me?[/INST]"
},
{
"label": true,
"text": "[{\"name\": \"find_closest_gas_station\", \"arguments\": {\"location\": \"New York\"}}]</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]I need a random number between 1 and 100.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_number[ARGS]{\"min\": 1, \"max\": 100}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I need a random number between 1 and 100.[/INST][TOOL_CALLS] [{\"name\": \"generate_random_number\", \"arguments\": {\"min\": 1, \"max\": 100}, \"id\": \"1f390850a\"}]</s>[TOOL_RESULTS] {\"content\": {\"number\": 42}, \"call_id\": \"1f390850a\"}[/TOOL_RESULTS]The random number generated between 1 and 100 is 42.</s>[AVAILABLE_TOOLS] [{\"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\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"check_email_availability\", \"description\": \"Check if an email address is available\", \"parameters\": {\"type\": \"object\", \"properties\": {\"email\": {\"type\": \"string\", \"description\": \"The email address to check\"}}, \"required\": [\"email\"]}}}][/AVAILABLE_TOOLS][INST]Can you generate another random number but this time between 200 and 300?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_number[ARGS]{\"min\": 200, \"max\": 300}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_distance\", \"description\": \"Calculate the distance between two points on a coordinate plane\", \"parameters\": {\"type\": \"object\", \"properties\": {\"x1\": {\"type\": \"number\", \"description\": \"The x-coordinate of the first point\"}, \"y1\": {\"type\": \"number\", \"description\": \"The y-coordinate of the first point\"}, \"x2\": {\"type\": \"number\", \"description\": \"The x-coordinate of the second point\"}, \"y2\": {\"type\": \"number\", \"description\": \"The y-coordinate of the second point\"}}, \"required\": [\"x1\", \"y1\", \"x2\", \"y2\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need to calculate the distance between two points. The coordinates are (3, 4) and (7, 9).[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"x1\": 3, \"y1\": 4, \"x2\": 7, \"y2\": 9}, \"id\": \"8d542fc44\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 6.4031242374328485}, \"call_id\": \"8d542fc44\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The distance between the points (3, 4) and (7, 9) is approximately 6.40 units.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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\", \"enum\": [\"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 or base of the triangle\"}, \"width\": {\"type\": \"number\", \"description\": \"The width of the rectangle\"}, \"height\": {\"type\": \"number\", \"description\": \"The height of the triangle\"}}, \"required\": [\"radius\", \"length\", \"width\", \"height\"], \"dependencies\": {\"shape\": [\"circle\"]}}}, \"required\": [\"shape\", \"dimensions\"]}}}][/AVAILABLE_TOOLS][INST]Can you calculate the area of a rectangle with a length of 5 and width of 3?[/INST][TOOL_CALLS] [{\"name\": \"calculate_area\", \"arguments\": {\"shape\": \"rectangle\", \"dimensions\": {\"length\": 5, \"width\": 3}}, \"id\": \"3c9dc5b9c\"}]</s>[TOOL_RESULTS] {\"content\": {\"area\": 15}, \"call_id\": \"3c9dc5b9c\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The area of the rectangle is 15 square units.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_random_password\", \"description\": \"Generate a random password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"Length of the password\"}}, \"required\": [\"length\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need a new password. Can you generate a random one for me?[/INST]"
},
{
"label": true,
"text": "Sure, how long would you like the password to be?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I am in New York and I am looking for some good restaurants within 2 kilometers. Can you help me find some?[/INST][TOOL_CALLS] [{\"name\": \"find_nearby_places\", \"arguments\": {\"location\": \"New York\", \"radius\": 2000, \"category\": \"restaurant\"}, \"id\": \"e13b6f1b7\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"data\": [{\"name\": \"The Modern\", \"address\": \"9 W 53rd St, New York, NY 10019, United States\"}, {\"name\": \"Le Bernardin\", \"address\": \"155 W 51st St, New York, NY 10019, United States\"}, {\"name\": \"Eleven Madison Park\", \"address\": \"11 Madison Ave, New York, NY 10010, United States\"}]}, \"call_id\": \"e13b6f1b7\"}[/TOOL_RESULTS]I found some restaurants for you. Here they are:\n1. The Modern - 9 W 53rd St, New York, NY 10019, United States\n2. Le Bernardin - 155 W 51st St, New York, NY 10019, United States\n3. Eleven Madison Park - 11 Madison Ave, New York, NY 10010, United States</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"find_nearby_places\", \"description\": \"Find nearby places of interest\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location to search nearby\"}, \"radius\": {\"type\": \"integer\", \"description\": \"The radius in meters from the location to search\"}, \"category\": {\"type\": \"string\", \"description\": \"The category of places to search (e.g. restaurant, museum)\"}}, \"required\": [\"location\", \"radius\"]}}}][/AVAILABLE_TOOLS][INST]That's great! Can you also find some museums nearby within 1 kilometer?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]find_nearby_places[ARGS]{\"location\": \"New York\", \"radius\": 1000, \"category\": \"museum\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I would like to know the latest news about technology in the United States.[/INST][TOOL_CALLS] [{\"name\": \"get_news_feed\", \"arguments\": {\"category\": \"technology\", \"country\": \"United States\"}, \"id\": \"5be1bacad\"}]</s>[TOOL_RESULTS] {\"content\": {\"articles\": [{\"title\": \"Tech giant releases new gadget\", \"source\": \"TechCrunch\", \"url\": \"https://techcrunch.com/2021/09/01/tech-giant-releases-new-gadget/\"}, {\"title\": \"Start-up secures major funding\", \"source\": \"VentureBeat\", \"url\": \"https://venturebeat.com/2021/09/01/start-up-secures-major-funding/\"}]}, \"call_id\": \"5be1bacad\"}[/TOOL_RESULTS]Here are the latest technology news articles in the United States:\n1. \"Tech giant releases new gadget\" from TechCrunch. You can read it [here](https://techcrunch.com/2021/09/01/tech-giant-releases-new-gadget/)\n2. \"Start-up secures major funding\" from VentureBeat. You can read it [here](https://venturebeat.com/2021/09/01/start-up-secures-major-funding/)</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_news_feed\", \"description\": \"Get the latest news articles\", \"parameters\": {\"type\": \"object\", \"properties\": {\"category\": {\"type\": \"string\", \"description\": \"The category of news articles to fetch\"}, \"country\": {\"type\": \"string\", \"description\": \"The country for which news articles should be fetched\"}}, \"required\": [\"category\", \"country\"]}}}][/AVAILABLE_TOOLS][INST]That's great! Can you also fetch me the latest sports news in the United Kingdom?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_news_feed[ARGS]{\"category\": \"sports\", \"country\": \"United Kingdom\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you tell me the current price of Apple's stock?[/INST][TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"symbol\": \"AAPL\"}, \"id\": \"7391a6c24\"}]</s>[TOOL_RESULTS] {\"content\": {\"price\": 150.75}, \"call_id\": \"7391a6c24\"}[/TOOL_RESULTS]The current price of Apple's stock (AAPL) is $150.75.</s>[AVAILABLE_TOOLS] [{\"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\"}}, \"required\": [\"symbol\"]}}}, {\"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\"}, \"diet\": {\"type\": \"string\", \"enum\": [\"vegetarian\", \"vegan\", \"gluten-free\", \"paleo\", \"keto\"], \"description\": \"The dietary restriction (optional)\"}}, \"required\": [\"ingredients\"]}}}][/AVAILABLE_TOOLS][INST]Great, what about Microsoft?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_stock_price[ARGS]{\"symbol\": \"MSFT\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I saw a dress that I liked. It was originally priced at $100 but there's a 20% discount on it. Can you tell me how much it will cost after the discount?[/INST][TOOL_CALLS] [{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 100, \"discount_percentage\": 20}, \"id\": \"bb74c0d12\"}]</s>[TOOL_RESULTS] {\"content\": {\"discounted_price\": 80}, \"call_id\": \"bb74c0d12\"}[/TOOL_RESULTS]The dress will cost you $80 after the 20% discount.</s>[INST]That's a good deal! What about a pair of shoes that was originally $75 but now has a 15% discount?[/INST][TOOL_CALLS] [{\"name\": \"calculate_discount\", \"arguments\": {\"original_price\": 75, \"discount_percentage\": 15}, \"id\": \"ffb727cff\"}]</s>[TOOL_RESULTS] {\"content\": {\"discounted_price\": 63.75}, \"call_id\": \"ffb727cff\"}[/TOOL_RESULTS]The pair of shoes will cost you $63.75 after the 15% discount.</s>[AVAILABLE_TOOLS] [{\"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 to be applied\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}}][/AVAILABLE_TOOLS][INST]Great, thanks for the help![/INST]"
},
{
"label": true,
"text": "You're welcome! If you need any more assistance, feel free to ask.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need help with some numbers.[/INST]Of course! I'm here to help. What do you need assistance with?</s>[INST]I have a list of numbers and I need to find the average.[/INST]Sure, I can help with that. Please provide me with the list of numbers.</s>[AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]The numbers are 5, 10, 15, 20, 25.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_average[ARGS]{\"numbers\": [5, 10, 15, 20, 25]}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to know the distance between New York and Los Angeles.[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"origin\": \"New York\", \"destination\": \"Los Angeles\"}, \"id\": \"6a8f6ea11\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 2448.2, \"unit\": \"miles\"}, \"call_id\": \"6a8f6ea11\"}[/TOOL_RESULTS]The distance between New York and Los Angeles is approximately 2448.2 miles.</s>[INST]That's quite far. What about the distance between London and Paris?[/INST][TOOL_CALLS] [{\"name\": \"calculate_distance\", \"arguments\": {\"origin\": \"London\", \"destination\": \"Paris\"}, \"id\": \"ee99829c4\"}]</s>[TOOL_RESULTS] {\"content\": {\"distance\": 214.4, \"unit\": \"miles\"}, \"call_id\": \"ee99829c4\"}[/TOOL_RESULTS]The distance between London and Paris is approximately 214.4 miles.</s>[AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]Thanks for the information![/INST]"
},
{
"label": true,
"text": "You're welcome! If you have any more questions or need further assistance, feel free to ask.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I need to create a task for my project.[/INST]Sure, I can help with that. Could you please provide me with the title, due date, and priority level of the task?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"create_task\", \"description\": \"Create a new task\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"string\", \"description\": \"The title of the task\"}, \"due_date\": {\"type\": \"string\", \"description\": \"The due date of the task\"}, \"priority\": {\"type\": \"string\", \"description\": \"The priority level of the task\"}}, \"required\": [\"title\", \"due_date\", \"priority\"]}}}][/AVAILABLE_TOOLS][INST]The title is \"Finalize Project Proposal\", the due date is \"2022-04-30\", and the priority level is \"High\".[/INST][TOOL_CALLS] [{\"name\": \"create_task\", \"arguments\": {\"title\": \"Finalize Project Proposal\", \"due_date\": \"2022-04-30\", \"priority\": \"High\"}, \"id\": \"e1a03a51f\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"message\": \"Task 'Finalize Project Proposal' has been created with due date '2022-04-30' and priority level 'High'\"}, \"call_id\": \"e1a03a51f\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "The task \"Finalize Project Proposal\" has been successfully created with the due date \"2022-04-30\" and priority level \"High\".</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to calculate my tax for this year. My income is $50000 and the tax rate is 20%.[/INST]Sure, I can help with that. Let me calculate it for you.</s>[TOOL_CALLS] [{\"name\": \"calculate_tax\", \"arguments\": {\"income\": 50000, \"tax_rate\": 20}, \"id\": \"df9dcf13c\"}]</s>[TOOL_RESULTS] {\"content\": {\"tax_amount\": 10000}, \"call_id\": \"df9dcf13c\"}[/TOOL_RESULTS]Based on your income and the tax rate, your tax for this year is $10,000.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_tax\", \"description\": \"Calculate the tax amount based on income and tax rate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"income\": {\"type\": \"number\", \"description\": \"The income amount\"}, \"tax_rate\": {\"type\": \"number\", \"description\": \"The tax rate in percentage\"}}, \"required\": [\"income\", \"tax_rate\"]}}}][/AVAILABLE_TOOLS][INST]Great, thanks for the help. Can you also book a flight for me to New York next week?[/INST]"
},
{
"label": true,
"text": "I'm glad I could help with the tax calculation! However, I'm unable to book flights directly as I don't have access to the necessary tools for that. You might want to check travel websites or contact a travel agency to book your flight to New York. Safe travels!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need some help with my loan calculations.[/INST]Of course, I'd be happy to help. Could you please provide me with the total loan amount, the annual interest rate, and the term of the loan in years?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly loan payment\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The total loan amount\"}, \"interest_rate\": {\"type\": \"number\", \"description\": \"The annual interest rate\"}, \"loan_term\": {\"type\": \"integer\", \"description\": \"The term of the loan in years\"}}, \"required\": [\"loan_amount\", \"interest_rate\", \"loan_term\"]}}}][/AVAILABLE_TOOLS][INST]Sure, the total loan amount is $200,000, the annual interest rate is 3.5%, and the term of the loan is 30 years.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_loan_payment[ARGS]{\"loan_amount\": 200000, \"interest_rate\": 3.5, \"loan_term\": 30}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you tell me the current stock price of Microsoft?[/INST][TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"symbol\": \"MSFT\"}, \"id\": \"5fdcc3a9b\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"data\": {\"symbol\": \"MSFT\", \"price\": 235.46}}, \"call_id\": \"5fdcc3a9b\"}[/TOOL_RESULTS]The current stock price of Microsoft (MSFT) is $235.46.</s>[AVAILABLE_TOOLS] [{\"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\": \"generate_password\", \"description\": \"Generate a strong password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}, \"include_numbers\": {\"type\": \"boolean\", \"description\": \"Include numbers in the password\"}, \"include_symbols\": {\"type\": \"boolean\", \"description\": \"Include symbols in the password\"}}, \"required\": [\"length\"]}}}][/AVAILABLE_TOOLS][INST]That's great. Can you also tell me the current stock price of Apple?[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]get_stock_price[ARGS]{\"symbol\": \"AAPL\"}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hey, I need to calculate the tip for my dinner bill. The total amount is $200 and I want to give a 15% tip.[/INST]Sure, let me calculate that for you.</s>[TOOL_CALLS] [{\"name\": \"calculate_tip\", \"arguments\": {\"bill_amount\": 200, \"tip_percentage\": 15}, \"id\": \"bfb1da77a\"}]</s>[TOOL_RESULTS] {\"content\": {\"tip_amount\": 30}, \"call_id\": \"bfb1da77a\"}[/TOOL_RESULTS]The tip amount for your dinner bill should be $30.</s>[AVAILABLE_TOOLS] [{\"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 tip percentage\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}}][/AVAILABLE_TOOLS][INST]Great, thanks! Can you also book a cab for me to get home?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to book a cab for you. However, I can guide you on how to do it using popular ride-hailing apps like Uber or Lyft, or suggest some taxi services in your area if you'd like!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need to convert 500 USD to EUR. Can you help me with that?[/INST][TOOL_CALLS] [{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 500, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}, \"id\": \"321f2b6fb\"}]</s>[TOOL_RESULTS] {\"content\": {\"converted_amount\": 425.50, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}, \"call_id\": \"321f2b6fb\"}[/TOOL_RESULTS]Sure, 500 USD is approximately 425.50 EUR.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"convert_currency\", \"description\": \"Convert one currency to another\", \"parameters\": {\"type\": \"object\", \"properties\": {\"amount\": {\"type\": \"number\", \"description\": \"The amount to be converted\"}, \"from_currency\": {\"type\": \"string\", \"description\": \"The currency to convert from\"}, \"to_currency\": {\"type\": \"string\", \"description\": \"The currency to convert to\"}}, \"required\": [\"amount\", \"from_currency\", \"to_currency\"]}}}][/AVAILABLE_TOOLS][INST]Great, thanks! Now, can you convert 1000 EUR to GBP?[/INST][TOOL_CALLS] [{\"name\": \"convert_currency\", \"arguments\": {\"amount\": 1000, \"from_currency\": \"EUR\", \"to_currency\": \"GBP\"}, \"id\": \"876c9a744\"}]</s>[TOOL_RESULTS] {\"content\": {\"converted_amount\": 860.00, \"from_currency\": \"EUR\", \"to_currency\": \"GBP\"}, \"call_id\": \"876c9a744\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "1000 EUR is approximately 860.00 GBP.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"analyze_website\", \"description\": \"Analyze a website for SEO optimization\", \"parameters\": {\"type\": \"object\", \"properties\": {\"website_url\": {\"type\": \"string\", \"description\": \"The URL of the website to be analyzed\"}}, \"required\": [\"website_url\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need help with my website's SEO. Can you analyze it for me?[/INST]"
},
{
"label": true,
"text": "Sure, I can help with that. Please provide the URL of the website you want me to analyze.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you tell me the current stock price of Microsoft?[/INST]Sure, let me fetch that information for you.</s>[TOOL_CALLS] [{\"name\": \"get_stock_price\", \"arguments\": {\"symbol\": \"MSFT\"}, \"id\": \"1c1eb5679\"}]</s>[TOOL_RESULTS] {\"content\": {\"status\": \"success\", \"data\": {\"price\": 235.99}}, \"call_id\": \"1c1eb5679\"}[/TOOL_RESULTS]The current stock price of Microsoft (MSFT) is $235.99.</s>[AVAILABLE_TOOLS] [{\"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\"]}}}][/AVAILABLE_TOOLS][INST]Great, thanks! Can you also book a table for two at my favourite restaurant for tonight?[/INST]"
},
{
"label": true,
"text": "I'm glad you liked the information! Unfortunately, I don't have the capability to book restaurants directly. However, I can help you find the contact information for your favorite restaurant so you can make the reservation yourself. Would that be helpful?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I am looking for a job in New York, in the field of data science. Can you help me find some?[/INST][TOOL_CALLS] [{\"name\": \"search_jobs\", \"arguments\": {\"location\": \"New York\", \"keywords\": [\"data science\"]}, \"id\": \"606ebd55f\"}]</s>[TOOL_RESULTS] {\"content\": {\"jobs\": [{\"title\": \"Data Scientist\", \"company\": \"Tech Corp\", \"location\": \"New York\", \"description\": \"Looking for a data scientist with 2+ years of experience.\"}, {\"title\": \"Data Analyst\", \"company\": \"Data Solutions\", \"location\": \"New York\", \"description\": \"Seeking a data analyst with strong problem-solving skills.\"}]}, \"call_id\": \"606ebd55f\"}[/TOOL_RESULTS]I found two job vacancies for you. The first one is for a Data Scientist position at Tech Corp, they are looking for someone with 2+ years of experience. The second one is a Data Analyst position at Data Solutions, they are seeking someone with strong problem-solving skills.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"search_jobs\", \"description\": \"Search for job vacancies based on location, keywords, or company\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The location of job vacancies\"}, \"keywords\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The keywords to search for in job titles or descriptions\"}, \"company\": {\"type\": \"string\", \"description\": \"The name of the company to filter job vacancies\"}}}}}][/AVAILABLE_TOOLS][INST]That's great! Can you also find jobs at Google in the same field?[/INST][TOOL_CALLS] [{\"name\": \"search_jobs\", \"arguments\": {\"location\": \"New York\", \"keywords\": [\"data science\"], \"company\": \"Google\"}, \"id\": \"f02e327a1\"}]</s>[TOOL_RESULTS] {\"content\": {\"jobs\": [{\"title\": \"Data Scientist\", \"company\": \"Google\", \"location\": \"New York\", \"description\": \"Google is looking for a data scientist with expertise in machine learning.\"}, {\"title\": \"Data Analyst\", \"company\": \"Google\", \"location\": \"New York\", \"description\": \"Google is seeking a data analyst with experience in big data technologies.\"}]}, \"call_id\": \"f02e327a1\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "I found two job vacancies for you at Google. The first one is for a Data Scientist position, they are looking for someone with expertise in machine learning. The second one is a Data Analyst position, they are seeking someone with experience in big data technologies.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_age\", \"description\": \"Calculate the age based on birthdate\", \"parameters\": {\"type\": \"object\", \"properties\": {\"birthdate\": {\"type\": \"string\", \"description\": \"The birthdate in YYYY-MM-DD format\"}}, \"required\": [\"birthdate\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I was born on 1990-05-15. Can you tell me how old I am today?[/INST][TOOL_CALLS] [{\"name\": \"calculate_age\", \"arguments\": {\"birthdate\": \"1990-05-15\"}, \"id\": \"e83d70558\"}]</s>[TOOL_RESULTS] {\"content\": {\"age\": 31}, \"call_id\": \"e83d70558\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Based on the birthdate you provided, you are 31 years old today.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need help with calculating my loan payment.[/INST]Of course, I can help with that. Could you please provide me with the total loan amount, the annual interest rate, and the loan term in years?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_loan_payment\", \"description\": \"Calculate the monthly loan payment\", \"parameters\": {\"type\": \"object\", \"properties\": {\"loan_amount\": {\"type\": \"number\", \"description\": \"The total 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\"]}}}][/AVAILABLE_TOOLS][INST]Sure, the loan amount is $50000, the interest rate is 5% and the loan term is 10 years.[/INST][TOOL_CALLS] [{\"name\": \"calculate_loan_payment\", \"arguments\": {\"loan_amount\": 50000, \"interest_rate\": 5, \"loan_term\": 10}, \"id\": \"095a3db78\"}]</s>[TOOL_RESULTS] {\"content\": {\"monthly_payment\": 530.33}, \"call_id\": \"095a3db78\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "Based on the information provided, your monthly loan payment would be approximately $530.33.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"get_movie_recommendations\", \"description\": \"Get movie recommendations based on user preferences\", \"parameters\": {\"type\": \"object\", \"properties\": {\"genre\": {\"type\": \"string\", \"description\": \"The preferred genre of movies\"}, \"year\": {\"type\": \"integer\", \"description\": \"The preferred release year of movies\"}, \"actors\": {\"type\": \"array\", \"items\": {\"type\": \"string\"}, \"description\": \"The preferred actors in movies\"}}}}}][/AVAILABLE_TOOLS][INST]Can you order a pizza for me?[/INST]"
},
{
"label": true,
"text": "I'm sorry, but I don't have the capability to order a pizza for you. However, I can help you find a good pizza place nearby or even suggest a recipe if you'd like to make your own!</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I have some health data that I would like to analyze. I have data for my heart rate for the past week.[/INST]Sure, I can help with that. Please provide the heart rate data.</s>[INST]Here it is: [78, 76, 80, 82, 79, 77, 75].[/INST][TOOL_CALLS] [{\"name\": \"analyze_health_data\", \"arguments\": {\"data\": [78, 76, 80, 82, 79, 77, 75], \"metric\": \"heart rate\"}, \"id\": \"bb78d0115\"}]</s>[TOOL_RESULTS] {\"content\": {\"result\": {\"average\": 78.14, \"max\": 82, \"min\": 75, \"trend\": \"stable\"}}, \"call_id\": \"bb78d0115\"}[/TOOL_RESULTS]Based on the data you provided, your average heart rate over the past week was 78.14 beats per minute. The highest recorded rate was 82 beats per minute and the lowest was 75 beats per minute. The overall trend of your heart rate is stable.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"analyze_health_data\", \"description\": \"Analyze health data\", \"parameters\": {\"type\": \"object\", \"properties\": {\"data\": {\"type\": \"array\", \"items\": {\"type\": \"number\"}, \"description\": \"The health data to analyze\"}, \"metric\": {\"type\": \"string\", \"description\": \"The metric to analyze (e.g., heart rate, steps)\"}}, \"required\": [\"data\", \"metric\"]}}}][/AVAILABLE_TOOLS][INST]That's good to know. Thank you for the analysis.[/INST]"
},
{
"label": true,
"text": "You're welcome! If you have any more data you'd like to analyze or have any other questions, feel free to ask.</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, can you help me calculate my age? I was born on 1990-05-15.[/INST]Of course, I can help with that. Let me calculate it for you.</s>[TOOL_CALLS] [{\"name\": \"calculate_age\", \"arguments\": {\"birthdate\": \"1990-05-15\"}, \"id\": \"92a71d528\"}]</s>[TOOL_RESULTS] {\"content\": {\"age\": 31}, \"call_id\": \"92a71d528\"}[/TOOL_RESULTS]Based on the birthdate you provided, you are 31 years old.</s>[AVAILABLE_TOOLS] [{\"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 YYYY-MM-DD format\"}}, \"required\": [\"birthdate\"]}}}][/AVAILABLE_TOOLS][INST]Great, thank you! Can you also help me book a flight to New York?[/INST]"
},
{
"label": true,
"text": "I'm glad you found the previous information helpful! Unfortunately, I don't have the capability to book flights directly. However, I can guide you on how to do it yourself or provide information on travel websites and apps that can assist you with booking a flight to New York. Would that be helpful?</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]Hi, I need a new password for my account. Can you generate a random one for me?[/INST]Of course, I can help with that. How long would you like your password to be?</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"generate_random_password\", \"description\": \"Generate a random password\", \"parameters\": {\"type\": \"object\", \"properties\": {\"length\": {\"type\": \"integer\", \"description\": \"The length of the password\"}}, \"required\": [\"length\"]}}}][/AVAILABLE_TOOLS][INST]I would like it to be 12 characters long.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]generate_random_password[ARGS]{\"length\": 12}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][AVAILABLE_TOOLS] [{\"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 tip percentage\"}}, \"required\": [\"bill_amount\", \"tip_percentage\"]}}}, {\"type\": \"function\", \"function\": {\"name\": \"calculate_discount\", \"description\": \"Calculate the discounted price based on original price and discount percentage\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the item\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The percentage discount\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}}][/AVAILABLE_TOOLS][INST]Hi, I need help calculating the tip for my bill. The total amount is $50 and I want to leave a 15% tip.[/INST]"
},
{
"label": true,
"text": "[TOOL_CALLS]calculate_tip[ARGS]{\"bill_amount\": 50, \"tip_percentage\": 15}</s>"
}
] |
[
{
"label": false,
"text": "<s>[SYSTEM_PROMPT]\nYou are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.[/SYSTEM_PROMPT][INST]I want to buy a laptop that costs $1000. There's a 20% discount on it. Can you tell me how much I will have to pay?[/INST][TOOL_CALLS] [{\"name\": \"calculate_discounted_price\", \"arguments\": {\"original_price\": 1000, \"discount_percentage\": 20}, \"id\": \"67cb75136\"}]</s>[TOOL_RESULTS] {\"content\": {\"discounted_price\": 800}, \"call_id\": \"67cb75136\"}[/TOOL_RESULTS]After applying the 20% discount, the price of the laptop will be $800.</s>[AVAILABLE_TOOLS] [{\"type\": \"function\", \"function\": {\"name\": \"calculate_discounted_price\", \"description\": \"Calculate the discounted price for a product\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_price\": {\"type\": \"number\", \"description\": \"The original price of the product\"}, \"discount_percentage\": {\"type\": \"number\", \"description\": \"The percentage of discount to be applied\"}, \"tax_percentage\": {\"type\": \"number\", \"description\": \"The percentage of tax to be applied\"}}, \"required\": [\"original_price\", \"discount_percentage\"]}}}][/AVAILABLE_TOOLS][INST]That's great! But I just remembered, there's a 5% tax on electronics. How much will the laptop cost after tax?[/INST][TOOL_CALLS] [{\"name\": \"calculate_discounted_price\", \"arguments\": {\"original_price\": 800, \"tax_percentage\": 5}, \"id\": \"bdeff10bd\"}]</s>[TOOL_RESULTS] {\"content\": {\"discounted_price\": 840}, \"call_id\": \"bdeff10bd\"}[/TOOL_RESULTS]"
},
{
"label": true,
"text": "After applying the 5% tax, the final price of the laptop will be $840.</s>"
}
] |