tools stringlengths 2 912 | conversations listlengths 2 14 |
|---|---|
[] | [
{
"role": "user",
"content": "Can you help me classify these items as either a fruit or a vegetable using the following formula?\nIf a food has seeds, it is considered a fruit. If not, it is a vegetable.\nUsing this formula, would you classify an apple as a fruit or a vegetable? And what about broccoli?",
... |
[{"name": "create_todo", "description": "Create a new to-do item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The description of the to-do task"}, "due_date": {"type": "string", "description": "The due date of the task"}}, "required": ["task", "due_date"]}}] | [
{
"role": "user",
"content": "Hi, I need to create a new to-do item for my project meeting next week.",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "Sure, I can help with that. Could you please provide me with the exact date and a brief description of the task?"... |
[{"name": "generate_password", "description": "Generate a random password", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the password"}, "include_numbers": {"type": "boolean", "description": "Include numbers in the password"}, "include_symbols": {"type": "b... | [
{
"role": "user",
"content": "Hi, I need a new password. Can you generate one for me?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "Of course, I can help with that. How long would you like your password to be? And would you like it to include numbers or symbols... |
[] | [
{
"role": "user",
"content": "Fill in the blank to make a complete sentence: \"He ____ his dinner.\"",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "He ate his dinner.",
"tool_calls": null,
"name": null
},
{
"role": "user",
"content": "Can you... |
[] | [
{
"role": "user",
"content": "What PHP code can I use to create a letter to a retired teacher expressing gratitude and sharing how their lessons influenced my current career path? The teacher made a significant impact on my life.",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
... |
[{"name": "calculate_tip", "description": "Calculate the tip amount based on bill total", "parameters": {"type": "object", "properties": {"bill_total": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required"... | [
{
"role": "user",
"content": "Can you please book a flight for me from New York to Los Angeles?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "<think>I need to inform the user that I cannot book a flight as I do not have the capability to perform that task. Howe... |
[{"name": "check_movie_showtimes", "description": "Check the showtimes for a movie", "parameters": {"type": "object", "properties": {"movie_title": {"type": "string", "description": "The title of the movie"}, "date": {"type": "string", "description": "The date in YYYY-MM-DD format"}, "location": {"type": "string", "des... | [
{
"role": "user",
"content": "Hi, can you check the showtimes for the movie \"Avengers: Endgame\" on 2022-03-20 in New York, NY?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"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"]}}] | [
{
"role": "user",
"content": "Hi, I need a new password. Can you generate one for me?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "Of course, I can help with that. How long would you like your password to be?",
"tool_calls": null,
"name": null
},
{... |
[{"name": "search_movie", "description": "Search for information about a movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}] | [
{
"role": "user",
"content": "Can you find information about the movie \"Inception\"?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "search_movie",
"a... |
[{"name": "find_restaurants", "description": "Find nearby restaurants", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to search for restaurants"}, "cuisine": {"type": "string", "description": "The type of cuisine"}, "price_range": {"type": "array", "items": ... | [
{
"role": "user",
"content": "I'm in New York and I'm craving Italian food. Can you find me a restaurant?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "find_re... |
[{"name": "get_stock_price", "description": "Get the current stock price of a company", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The name of the company"}, "stock_exchange": {"type": "string", "description": "The stock exchange where the company is listed"}}, "r... | [
{
"role": "user",
"content": "Hi, I would like to know the current stock price of Apple in the NASDAQ stock exchange.",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"nam... |
[] | [
{
"role": "user",
"content": "If a team has 11 players on the field, and each player has a unique number from 1 to 11, what is the probability that the sum of the numbers on the field is an odd number? Assume that the sum of any odd number of odd numbers is an odd number, and the sum of any even number of o... |
[{"name": "convert_currency", "description": "Convert currency from one unit to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted"}, "from_currency": {"type": "string", "description": "The currency to be converted from"}, "to_currency": {"t... | [
{
"role": "user",
"content": "Hi, I need to convert 500 USD to Euros. Can you help me with that?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "convert_currency... |
[{"name": "search_recipes", "description": "Search for recipes based on ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to search for"}}, "required": ["ingredients"]}}] | [
{
"role": "user",
"content": "I have some chicken, broccoli, and cheese. Can you find a recipe for me?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "search_rec... |
[] | [
{
"role": "user",
"content": "You have a sequence of numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9. Your task is to insert a mathematical operation symbol (+, -, *, /) between each number to get a total of 100 as the result. You are not allowed to change the order of the numbers, and you must use all of them. Can you ... |
[{"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) of a person", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required... | [
{
"role": "user",
"content": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters.",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"na... |
[{"name": "get_movie_details", "description": "Get details of a movie", "parameters": {"type": "object", "properties": {"movie_id": {"type": "string", "description": "ID of the movie"}}, "required": ["movie_id"]}}] | [
{
"role": "user",
"content": "Can you tell me more about the movie with ID 12345?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "get_movie_details",
"... |
[{"name": "analyze_sentiment", "description": "Analyze the sentiment of a text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to be analyzed"}}, "required": ["text"]}}] | [
{
"role": "user",
"content": "Can you analyze the sentiment of this text for me? \"I am feeling really happy today because I got a promotion at work.\"",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
... |
[] | [
{
"role": "user",
"content": "Name three plants that grow best in humid climates.",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "1. Orchids\n2. Ferns\n3. Bromeliads",
"tool_calls": null,
"name": null
},
{
"role": "user",
"content": "Can you t... |
[] | [
{
"role": "user",
"content": "In the realm of Swift development, what are the key attributes that define a strong argument? Can you provide Swift code that showcases your logic and establishes a comprehensive roster of these distinguishing traits within your code? Furthermore, can you outline how these qual... |
[] | [
{
"role": "user",
"content": "Given a set of five cards randomly drawn from a deck of 52 cards, calculate the probability of winning the pot by getting a full house in the game of poker. The complexity can be increased by exploring the following events: \nEvent A: Drawing a pair of kings\nEvent B: Drawing a... |
[{"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", "location... | [
{
"role": "user",
"content": "Hi, can you tell me the distance between New York and Los Angeles?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "calculate_distan... |
[] | [
{
"role": "user",
"content": "Please rewrite the following sentence in correct English grammar and sentence structure. Additionally, use the following [Mark down] format to highlight the corrected sentence.\nOriginal sentence: \"Him gone to the store\"",
"tool_calls": null,
"name": null
},
{
... |
[{"name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "The country for which news headlines are required"}}, "required": ["country"]}}] | [
{
"role": "user",
"content": "Hi, can you get me the latest news headlines for the United States?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "get_news_headli... |
[] | [
{
"role": "user",
"content": "Write a single line of computer code to create a new column in a dataframe named \"new_col\", which should contain the difference between the values in the \"column_1\" and \"column_2\" of the dataframe \"mydata\". However, the values in \"column_1\" should only be considered i... |
[{"name": "search_recipes", "description": "Search for recipes based on given ingredients", "parameters": {"type": "object", "properties": {"ingredients": {"type": "array", "items": {"type": "string"}, "description": "The ingredients to be used in the recipe search"}, "diet": {"type": "string", "description": "The diet... | [
{
"role": "user",
"content": "I have some tomatoes, onions, and garlic. Can you find me a recipe?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"type": "function",
"function": {
"name": "search_recipes"... |
[] | [
{
"role": "user",
"content": "How do the fundamental characteristics of team sports differ from those of individual sports? Could you provide a comprehensive excel table that highlights and compares the unique characteristics of these two types of sports? The table should include details on the number of pl... |
[{"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage tip to give"}}, "required": ["bill_amount", "tip... | [
{
"role": "user",
"content": "Can you please book a flight for me from New York to London?",
"tool_calls": null,
"name": null
},
{
"role": "assistant",
"content": "<think>I need to inform the user that I cannot book a flight as I do not have the capability to perform that task. However, ... |
[] | [
{
"role": "user",
"content": "Can you put your critical thinking skills to the test and come up with the final cost of an item that originally costs $20? Here's the catch, the item is subjected to a 10% tax, and a 5% discount is applied after the tax is added. To make things more challenging, you need to en... |
[] | [
{
"role": "user",
"content": "Suppose we have a list of triangles with their corresponding angle measures in degrees as shown in the following JSON data:\n{\n \"triangles\": [\n {\n \"name\": \"Acute Triangle\",\n \"angle_1\": 30,\n \"angle_2\": 60,\n \"angle_3\": 90\n },\n {\n \"name\": \"Right Triangle\",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.