Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ValueError
Message: Expected object or value
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 281, in _generate_tables
examples = [ujson_loads(line) for line in batch.splitlines()]
~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
return pd.io.json.ujson_loads(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
id string | source string | tools list | messages list | n_tools int64 | has_system bool | reference_output unknown |
|---|---|---|---|---|---|---|
glaive_v2/0#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_exchange_rate",
"description": "Get the exchange rate between two currencies",
"parameters": {
"type": "object",
"properties": {
"base_currency": {
"type": "string",
"description": "The curre... | [
{
"role": "user",
"content": "Can you book a flight for me from New York to London?"
}
] | 1 | false | {
"content": "I'm sorry, but I don't have the capability to book flights. My current function allows me to get the exchange rate between two currencies. If you need help with that, feel free to ask!"
} |
glaive_v2/1#t1 | glaive_v2 | [
{
"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 to fetc... | [
{
"role": "user",
"content": "Can you tell me the latest news headlines for the United States?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "get_news_headlines",
"arguments": "{\"country\": \"United States\"}"
}
]
} |
glaive_v2/2#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "user",
"content": "I need a new password. Can you generate one for me?"
}
] | 2 | false | {
"content": "Of course. How long would you like your password to be? And would you like it to include symbols?"
} |
glaive_v2/3#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password with specified criteria",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The lengt... | [
{
"role": "user",
"content": "I need a new password. Can you generate one for me?"
}
] | 1 | false | {
"content": "Of course! How long would you like your password to be? And do you want it to include numbers and special characters?"
} |
glaive_v2/4#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_median",
"description": "Calculate the median of a list of numbers",
"parameters": {
"type": "object",
"properties": {
"numbers": {
"type": "array",
"items": {
"type": "nu... | [
{
"role": "user",
"content": "Hi, I have a list of numbers and I need to find the median. Can you help me with that?"
}
] | 1 | false | {
"content": "Of course, I can help you with that. Please provide me with the list of numbers."
} |
glaive_v2/5#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly payment for a loan",
"parameters": {
"type": "object",
"properties": {
"principal": {
"type": "number",
"description": "The principa... | [
{
"role": "user",
"content": "Hi, I need to calculate my monthly loan payment. I have a loan of $50000 with an annual interest rate of 5% and a loan term of 10 years. Can you help me with that?"
}
] | 1 | false | {
"content": "Of course, I can help you with that. Let me calculate it for you."
} |
glaive_v2/6#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "convert_temperature",
"description": "Convert temperature from one unit to another",
"parameters": {
"type": "object",
"properties": {
"temperature": {
"type": "number",
"description": "The tempe... | [
{
"role": "user",
"content": "Hi, I need to convert a temperature from Celsius to Fahrenheit. The temperature is 30 degrees Celsius."
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "convert_temperature",
"arguments": "{\"temperature\": 30, \"from_unit\": \"Celsius\", \"to_unit\": \"Fahrenheit\"}"
}
]
} |
glaive_v2/7#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details of a movie",
"parameters": {
"type": "object",
"properties": {
"movie_title": {
"type": "string",
"description": "The title of the movie"
... | [
{
"role": "user",
"content": "Can you please order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I can't assist with that. My current capabilities allow me to provide information about movies based on their titles. I don't have the ability to place orders or perform external tasks."
} |
glaive_v2/74648#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_discounted_price",
"description": "Calculate the discounted price based on the original price and discount amount",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "nu... | [
{
"role": "user",
"content": "I found a dress that I really like. It's originally priced at $200 but it's on sale for 20% off. Can you tell me how much it will cost after the discount?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_discounted_price",
"arguments": "{\"original_price\": 200, \"discount_amount\": 20}"
}
]
} |
glaive_v2/84302#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "user",
"content": "Hi, I need a new password. Can you generate one for me?"
}
] | 2 | false | {
"content": "Of course, I can help with that. How long would you like your password to be?"
} |
glaive_v2/10#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "create_calendar_event",
"description": "Create a new calendar event",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the event"
... | [
{
"role": "user",
"content": "Can you help me create a calendar event for my meeting tomorrow?"
}
] | 1 | false | {
"content": "Of course, I can help with that. Could you please provide me with the title of the event, and the start and end times?"
} |
glaive_v2/90178#t1 | glaive_v2 | [
{
"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... | [
{
"role": "user",
"content": "I need to create a task for my project."
}
] | 1 | false | {
"content": "Sure, I can help with that. Could you please provide me with the title, due date, and priority of the task?"
} |
glaive_v2/80288#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How can I modify this given Go code to generate a brief description of a given bio without using the \"strings\" library? The goal is to output a sentence like \"Candy Chang is known for her public installation art.\" when given a bio like \"Candy Chang is a public installation... | 0 | false | {
"content": "Sure, here's a possible solution in MATLAB code:\n```\nbio = 'Candy Chang is a public installation artist.';\nwords = strsplit(bio); % split the bio into words\nname = words{1}; % assume the first word is the name\noccupation = ''; % initialize the occupation\nfor i = 2:numel(words)\n if strcmp(words{i}... |
glaive_v2/13#t1 | glaive_v2 | [
{
"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"
}
... | [
{
"role": "user",
"content": "Can you find information about the movie \"Inception\"?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_movie",
"arguments": "{\"title\": \"Inception\"}"
}
]
} |
glaive_v2/95029#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How can you modify the given Swift program to analyze each input clue and assign weights to them based on their relevance to the historic era? The weights can be added up and compared to a threshold value to determine the historic era. Use the following Swift code as a starting... | 0 | false | {
"content": "Here's an updated version of the program that analyzes each input clue and assigns weights to them based on their relevance to the historic era:\n```\nvar clues: [String] = []\nvar weights: [Int] = [0, 0, 0, 0, 0]\nvar era = \"\"\nlet threshold = 8 // increased threshold value\nprint(\"Please enter the ... |
glaive_v2/62267#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_profit",
"description": "Calculate the profit amount based on cost and selling price",
"parameters": {
"type": "object",
"properties": {
"cost_price": {
"type": "number",
"description":... | [
{
"role": "user",
"content": "Hi, I recently sold an item and I want to calculate my profit. The cost price was $50 and I sold it for $80."
}
] | 1 | false | {
"content": "Sure, let me calculate that for you."
} |
glaive_v2/16#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Enumerate five unique properties that differentiate maritime polar and continental tropical air masses based on their temperature, humidity, and pressure."
}
] | 0 | false | {
"content": "Sure, here are five unique properties that differentiate maritime polar and continental tropical air masses:\n1. Temperature: Maritime polar air masses are generally colder than continental tropical air masses. Maritime polar air masses originate from the cold polar regions and are characterized by low ... |
glaive_v2/17#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_loan_payment",
"description": "Calculate the monthly payment amount for a loan",
"parameters": {
"type": "object",
"properties": {
"loan_amount": {
"type": "number",
"description": "The... | [
{
"role": "user",
"content": "Hi, I need some help with a loan I'm considering."
}
] | 2 | false | {
"content": "Of course, I'd be happy to help. Could you please provide me with the total loan amount, the annual interest rate, and the duration of the loan in months?"
} |
glaive_v2/104891#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_music",
"description": "Search for music based on artist or song title",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The artist or song t... | [
{
"role": "user",
"content": "Can you book a flight for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I don't have the capability to book flights. My current function allows me to search for music based on artist or song title. If you need help with that, feel free to ask!"
} |
glaive_v2/19#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get the latest news headlines",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
}
] | [
{
"role": "user",
"content": "Can you order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I'm unable to perform external tasks such as ordering a pizza. My current function allows me to fetch the latest news headlines for you. If you need any information regarding that, feel free to ask."
} |
glaive_v2/108551#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "translate_text",
"description": "Translate text from one language to another",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to translate"... | [
{
"role": "user",
"content": "Can you order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I am unable to perform external tasks such as ordering a pizza. My capabilities are currently limited to the functions provided to me, such as translating text."
} |
glaive_v2/21#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "What is the C++ code for creating a function that generates a simile to describe a given setting? The function should take in the setting as input and output a simile that accurately describes it. The simile should not be too obvious or too obscure, but rather require some reas... | 0 | false | {
"content": "Creating a function that generates a simile to describe a given setting can be a challenging task. However, here's an example C++ code that can help you get started:\n```\n#include \n#include \n#include \n#include \n#include \nusing namespace std;\nstring generateSimile(string setting) {\n vector simile... |
glaive_v2/97782#t1 | glaive_v2 | [
{
"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"
... | [
{
"role": "user",
"content": "Hi, I need help with calculating the tip for my bill. The total amount is $50 and I want to leave a 15% tip."
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_tip",
"arguments": "{\"bill_amount\": 50, \"tip_percent\": 15}"
}
]
} |
glaive_v2/55116#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Find out what year the company was founded.\nApple Inc. ̦̦̦̦̦̦̦̦̦̦̦̦̦̦̦̦"
}
] | 0 | false | {
"content": "Apple Inc. was founded on April 1, 1976."
} |
glaive_v2/85637#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_forecast",
"description": "Get the weather forecast for the next 7 days",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city and state,... | [
{
"role": "user",
"content": "What's the weather forecast for the next week in Los Angeles, CA?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "get_forecast",
"arguments": "{\"location\": \"Los Angeles, CA\"}"
}
]
} |
glaive_v2/52271#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How can I enhance the existing Scala code for generating hashtags to improve the accuracy of hashtags by replacing spaces with underscores in the input sentence? Additionally, what modifications can be made to the code to include synonyms for the words in the input sentence, ex... | 0 | false | {
"content": "To enhance the existing Scala code for generating hashtags, you can modify the code to replace spaces with underscores in the input sentence. This can be done using the `replaceAll` method in Scala, which replaces all occurrences of a specified substring with another substring. Here is an example of how... |
glaive_v2/26#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How does the endocannabinoid system affect the immune system?"
}
] | 0 | false | {
"content": "The endocannabinoid system (ECS) plays an essential role in regulating immune system function. The ECS consists of a network of receptors, enzymes, and endogenous cannabinoids (endocannabinoids) that work together to maintain homeostasis in the body.\n\nEndocannabinoids can interact with the cannabinoid... |
glaive_v2/27#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "user",
"content": "Hi, I need a new password. Can you generate one for me?"
}
] | 1 | false | {
"content": "Of course! Could you please tell me how long you want the password to be and whether you want it to include numbers and symbols?"
} |
glaive_v2/28#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert currency from one unit to another",
"parameters": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "The amount to be con... | [
{
"role": "user",
"content": "Hi, I need to convert 500 USD to EUR. Can you help me with that?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "convert_currency",
"arguments": "{\"amount\": 500, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}"
}
]
} |
glaive_v2/29#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two points",
"parameters": {
"type": "object",
"properties": {
"lat1": {
"type": "number",
"description": "The latitude of poin... | [
{
"role": "user",
"content": "Hi, I need to know the distance between New York and Los Angeles. Can you help me with that?"
}
] | 2 | false | {
"content": "Sure, I can help with that. Let me calculate the distance for you."
} |
glaive_v2/81896#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate BMI (Body Mass Index) based on weight and height",
"parameters": {
"type": "object",
"properties": {
"weight": {
"type": "number",
"description": "The we... | [
{
"role": "user",
"content": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters."
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_bmi",
"arguments": "{\"weight\": 70, \"height\": 1.75}"
}
]
} |
glaive_v2/31#t1 | glaive_v2 | [
{
"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 mini... | [
{
"role": "user",
"content": "I need a random number between 1 and 100."
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "generate_random_number",
"arguments": "{\"min\": 1, \"max\": 100}"
}
]
} |
glaive_v2/75943#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "create_event_reminder",
"description": "Create a reminder for an upcoming event",
"parameters": {
"type": "object",
"properties": {
"event_name": {
"type": "string",
"description": "The name of t... | [
{
"role": "user",
"content": "I need to set a reminder for my friend's birthday party."
}
] | 1 | false | {
"content": "Sure, I can help with that. Could you please provide me with the name of the event and the date and time it will take place?"
} |
glaive_v2/33#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Provide a list of three commonly used websites that are popular amongst internet users worldwide. This list should include websites that are frequently visited for a variety of purposes, such as social networking, e-commerce, entertainment, news, and education. Please present t... | 0 | false | {
"content": "Sure, here are three commonly used websites that are popular amongst internet users worldwide:\n1. Facebook - a social networking site that allows users to connect with friends and family, share photos and videos, and join groups and communities.\n2. Amazon - an e-commerce site that sells a wide range o... |
glaive_v2/54070#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on the date of birth",
"parameters": {
"type": "object",
"properties": {
"date_of_birth": {
"type": "string",
"description": "The date of b... | [
{
"role": "user",
"content": "Hi, I was born on 1990-05-15. Can you tell me how old I am today?"
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_age",
"arguments": "{\"date_of_birth\": \"1990-05-15\"}"
}
]
} |
glaive_v2/86999#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discount percentage",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "number",
"description": "The original price... | [
{
"role": "user",
"content": "Hi, I bought a dress originally priced at $100 but I got it for $80. Can you tell me what discount I got?"
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_discount",
"arguments": "{\"original_price\": 100, \"discounted_price\": 80}"
}
]
} |
glaive_v2/109684#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How can I use Python to analyze the sentiment in a text and identify the probability of sarcasm? Can you provide a code example using the Natural Language Toolkit (NLTK) library in Python?"
}
] | 0 | false | {
"content": "Yes, you can use Python and the NLTK library to analyze the sentiment in a text and identify the probability of sarcasm. Here's an example code:\n```\nimport nltk\nfrom nltk.sentiment import SentimentIntensityAnalyzer\n# Initialize the sentiment analyzer\nsia = SentimentIntensityAnalyzer()\n# Define a s... |
glaive_v2/37#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on title or author",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The title or author to se... | [
{
"role": "user",
"content": "Hi, I'm looking for books by J.K. Rowling. Can you help me find them?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_books",
"arguments": "{\"query\": \"J.K. Rowling\"}"
}
]
} |
glaive_v2/75032#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "What is the make and model of the printer that you are having trouble setting up?\nDid you receive any error messages while setting up the printer? If so, please provide the exact message.\nWhat steps have you taken so far to set up the printer? Please provide a detailed descri... | 0 | false | {
"content": "Thank you for reaching out. How may I assist you with your printer setup?"
} |
glaive_v2/39#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_bmi",
"description": "Calculate the BMI (Body Mass Index)",
"parameters": {
"type": "object",
"properties": {
"weight": {
"type": "number",
"description": "The weight of the person in k... | [
{
"role": "user",
"content": "Can you book a flight for me from New York to London?"
}
] | 1 | false | {
"content": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as booking flights. My current function is to calculate BMI (Body Mass Index) based on the weight and height you provide. Is there anything else I can assist you with within my capabilities?"
} |
glaive_v2/40#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "In the context of online shopping, what are the most significant challenges that customers face, and how do these challenges impact their overall shopping experience? Consider factors such as product information accuracy, shipping times and costs, return policies, customer supp... | 0 | false | {
"content": "There are several significant challenges that customers face when shopping online, which can impact their overall shopping experience. Here are some of the most common challenges:\n1. Product information accuracy: One of the biggest challenges that customers face when shopping online is the accuracy of ... |
glaive_v2/41#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_news",
"description": "Search for news articles based on keywords",
"parameters": {
"type": "object",
"properties": {
"keywords": {
"type": "array",
"items": {
"type": "strin... | [
{
"role": "user",
"content": "Hey, can you find me some news articles about the latest technology trends?"
}
] | 1 | false | {
"content": "Of course, I can help with that. Let me find the information for you."
} |
glaive_v2/103523#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Generate a slogan related to the environment that incorporates the idea of sustainability and encourages people to reduce their carbon footprint."
}
] | 0 | false | {
"content": "\"Small changes today, sustainable planet tomorrow - reduce your carbon footprint with ease!\""
} |
glaive_v2/43#t1 | glaive_v2 | [
{
"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 a... | [
{
"role": "user",
"content": "Can you book a flight for me from New York to Los Angeles?"
}
] | 1 | false | {
"content": "I'm sorry, but I'm unable to assist with booking flights. My current capabilities are limited to calculating loan payments. If you need help with that, feel free to ask!"
} |
glaive_v2/44#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "check_email_availability",
"description": "Check if an email address is available or already taken",
"parameters": {
"type": "object",
"properties": {
"email": {
"type": "string",
"description": ... | [
{
"role": "user",
"content": "Hi, I want to create a new email account. Can you check if the email address john.doe@gmail.com is available?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "check_email_availability",
"arguments": "{\"email\": \"john.doe@gmail.com\"}"
}
]
} |
glaive_v2/102991#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_interest",
"description": "Calculate the interest amount",
"parameters": {
"type": "object",
"properties": {
"principal": {
"type": "number",
"description": "The principal amount"
... | [
{
"role": "user",
"content": "Hi, I need to calculate the interest amount for a principal amount of $5000, with an interest rate of 5% for a time period of 3 years. Can you help me with that?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_interest",
"arguments": "{\"principal\": 5000, \"interest_rate\": 5, \"time_period\": 3}"
}
]
} |
glaive_v2/64734#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "create_new_user",
"description": "Create a new user account",
"parameters": {
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "The desired username"
},
... | [
{
"role": "user",
"content": "I want to create a new account."
}
] | 1 | false | {
"content": "Sure, I can help with that. Could you please provide me with a username, email, and password that you'd like to use for your new account?"
} |
glaive_v2/48#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "user",
"content": "Can you please order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I'm unable to perform external tasks such as ordering a pizza. My current capabilities are limited to the functions provided to me, such as generating a password. If you need help with that or any other function I have, feel free to ask!"
} |
glaive_v2/88566#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Share the step-by-step process for creating an authentic Khao Soi curry, a lesser-known but equally delicious Thai dish."
}
] | 0 | false | {
"content": "Sure, here are the step-by-step instructions for creating an authentic Khao Soi curry:\nIngredients:\n- 1 pound boneless chicken thighs, cut into bite-sized pieces\n- 2 tablespoons red curry paste\n- 1 tablespoon vegetable oil\n- 1 can (14 oz) coconut milk\n- 2 cups chicken broth\n- 2 tablespoons fish s... |
glaive_v2/50#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "create_calendar_event",
"description": "Create a new calendar event",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the event"
... | [
{
"role": "user",
"content": "Can you order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I don't have the capability to order a pizza as it's an external task and the functions provided to me don't include this feature. I can assist you with creating calendar events though."
} |
glaive_v2/51#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price of a product",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "number",
"description": "The orig... | [
{
"role": "user",
"content": "I saw a jacket I liked in a store. It was priced at $100 but there's a 20% discount. Can you tell me how much it will cost after the discount?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_discount",
"arguments": "{\"original_price\": 100, \"discount_percentage\": 20}"
}
]
} |
glaive_v2/65125#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate monthly mortgage payment",
"parameters": {
"type": "object",
"properties": {
"loan_amount": {
"type": "number",
"description": "The loan amo... | [
{
"role": "user",
"content": "Hi, I need some help with calculating my mortgage payment."
}
] | 1 | false | {
"content": "Of course, I can help with that. Could you please provide me with the loan amount, the annual interest rate, and the loan term in years?"
} |
glaive_v2/53#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_movie_info",
"description": "Get detailed information about a movie",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the movie"
... | [
{
"role": "user",
"content": "Can you tell me more about the movie \"Inception\"?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "get_movie_info",
"arguments": "{\"title\": \"Inception\"}"
}
]
} |
glaive_v2/68925#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Suppose we have a dataset of photos containing the following attributes: Photo ID, Date, Location, and Image. We want to create captions for each photo using a neural network algorithm. \nGiven the image below, can you generate a caption that describes it using the dataset?\n[p... | 0 | false | {
"content": "Caption: A person taking a walk in the woods surrounded by lush green trees and a clear blue sky.\nPrimary color palette: Green and blue."
} |
glaive_v2/55#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on title, actor, or genre",
"parameters": {
"type": "object",
"properties": {
"search_query": {
"type": "string",
"description": "The searc... | [
{
"role": "user",
"content": "Can you find me some movies with Tom Hanks?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_movies",
"arguments": "{\"search_query\": \"Tom Hanks\"}"
}
]
} |
glaive_v2/63227#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given content",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The content to encode ... | [
{
"role": "user",
"content": "Hi, I need a QR code for my website."
}
] | 1 | false | {
"content": "Sure, I can help with that. Could you please provide me with the URL of your website?"
} |
glaive_v2/83424#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two points",
"parameters": {
"type": "object",
"properties": {
"point1": {
"type": "object",
"properties": {
"lat... | [
{
"role": "user",
"content": "Hi, I need to know the distance between New York and Los Angeles. Can you help me with that?"
}
] | 1 | false | {
"content": "Sure, I can help with that. Let me calculate the distance for you."
} |
glaive_v2/112206#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "I have a puzzle for you! Can you help me categorize our online store's customizable widgets based on their unique features? Each widget has a different combination of size, color, and material, and I need your help to figure out which widget fits each category. Here's a table w... | 0 | false | {
"content": "Certainly! Based on the given clues, here is the categorization of the widgets:\n```\n{\n \"Widget A\": {\n \"Size (inches)\": 3,\n \"Color\": \"Red\",\n \"Material\": \"Plastic\"\n },\n \"Widget B\": {\n \"Size (inches)\": 6,\n \"Color\": \"Blue\",\n \"Material\": \"Metal\"\n },\n \"Widget C\": {\n \"S... |
glaive_v2/104206#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "array",
"items": {
"type": "st... | [
{
"role": "user",
"content": "I have some chicken, broccoli, and cheese. What can I make with these?"
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "search_recipes",
"arguments": "{\"ingredients\": [\"chicken\", \"broccoli\", \"cheese\"]}"
}
]
} |
glaive_v2/112463#t1 | glaive_v2 | [
{
"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"
... | [
{
"role": "user",
"content": "Hi, I need to calculate my BMI. My height is 1.75 meters and I weigh 70 kilograms."
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_bmi",
"arguments": "{\"height\": 1.75, \"weight\": 70}"
}
]
} |
glaive_v2/89018#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Suppose you have an excel table containing a list of animals and their characteristics as shown below:\n| Animal | Nocturnal | Carnivorous | Domesticated |\n|--------|-----------|-------------|--------------|\n| Cat | Yes | Yes | Yes |\n| Dog | No | Yes | Yes |\n| Lion | Yes | ... | 0 | false | {
"content": "Based on the given characteristics, we can classify each animal as follows:\n- Cat: Domesticated\n- Dog: Domesticated\n- Lion: Wild\n- Cow: Domesticated\n- Owl: Wild\nTherefore, we have two domesticated animals (Cat and Dog) and two wild animals (Lion and Owl). The classification of Cow would depend on ... |
glaive_v2/62#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How can we apply computational linguistics to reduce the length of the statement \"Despite several weeks of intensive preparation by the team, the game resulted in an overwhelming loss\" while preserving its meaning? Is it possible to utilize formulae such as text summarization... | 0 | false | {
"content": "Yes, it is possible to utilize text summarization algorithms to generate a more concise version of the statement while preserving its meaning. One way to approach this is by using extractive summarization techniques, which involve selecting the most important sentences or phrases from the original text ... |
glaive_v2/71714#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_user_details",
"description": "Get the details of a user",
"parameters": {
"type": "object",
"properties": {
"user_id": {
"type": "string",
"description": "The unique identifier of the user"
... | [
{
"role": "user",
"content": "Can you get me the details of user with id '12345'?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "get_user_details",
"arguments": "{\"user_id\": \"12345\"}"
}
]
} |
glaive_v2/64#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "analyze_website",
"description": "Analyze the content and performance of a website",
"parameters": {
"type": "object",
"properties": {
"website_url": {
"type": "string",
"description": "The URL o... | [
{
"role": "user",
"content": "Hi, I need to analyze my website. Can you help me with that?"
}
] | 1 | false | {
"content": "Of course! Could you please provide me with the URL of your website and the specific metrics you'd like to analyze?"
} |
glaive_v2/51883#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_recipes",
"description": "Search for recipes based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "array",
"items": {
"type": "st... | [
{
"role": "user",
"content": "I have some chicken and broccoli. Can you find me a recipe?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_recipes",
"arguments": "{\"ingredients\": [\"chicken\", \"broccoli\"]}"
}
]
} |
glaive_v2/66#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "What JavaScript functions can be used to create an interactive map that displays the locations of littering incidents and promotes community involvement in cleaning up public areas?\n[JavaScript code]:\nvar map;\nvar markers = [];\nfunction initMap() {\n map = new google.maps.M... | 0 | false | {
"content": "This JavaScript code uses the Google Maps API to create an interactive map that displays the locations of littering incidents and allows users to add new incidents. The following functions are used:\n- `initMap()`: This function initializes the map and adds markers for existing littering incidents. It a... |
glaive_v2/53502#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Can you design a Python script that extracts data from multiple social media platforms and analyzes sentiment based on emojis used in the posts, while also classifying the users into different personality types based on their language and word choice? Can you further filter the... | 0 | false | {
"content": "Yes, it is possible to design a Python script that extracts data from multiple social media platforms and analyzes sentiment based on emojis used in the posts, while also classifying the users into different personality types based on their language and word choice. Here is an example of how this can be... |
glaive_v2/107977#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "user",
"content": "Can you please order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I am unable to perform external tasks such as ordering a pizza. My current capabilities are limited to the functions provided to me, such as generating a password."
} |
glaive_v2/69#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "In addition to the given prompt, include the requirement of using the word \"crimson\" to describe the color of the sunset in your haiku. Create a vivid image of a snow-capped mountain surrounded by wispy clouds, as the crimson sun sets behind it, painting the sky with a warm g... | 0 | false | {
"content": "Snow-capped mountain stands,\nSurrounded by wispy clouds,\nCrimson sun sets, serene."
} |
glaive_v2/70#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current price of a stock",
"parameters": {
"type": "object",
"properties": {
"stock_symbol": {
"type": "string",
"description": "The symbol of the stock"... | [
{
"role": "user",
"content": "Hi, can you tell me the current price of Apple's stock?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "get_stock_price",
"arguments": "{\"stock_symbol\": \"AAPL\"}"
}
]
} |
glaive_v2/81361#t1 | glaive_v2 | [
{
"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 mini... | [
{
"role": "user",
"content": "I need a random number between 1 and 100."
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "generate_random_number",
"arguments": "{\"min\": 1, \"max\": 100}"
}
]
} |
glaive_v2/72#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for the given data",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "The data to be encoded in ... | [
{
"role": "user",
"content": "Can you please book a flight for me from New York to London?"
}
] | 1 | false | {
"content": "I'm sorry, but I can't assist with that. My current capabilities are limited to generating QR codes based on the data provided. I don't have the ability to book flights or perform other external tasks."
} |
glaive_v2/80479#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke from a joke API",
"parameters": {}
}
}
] | [
{
"role": "user",
"content": "I'm feeling a bit down. Can you tell me a joke to cheer me up?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "get_random_joke",
"arguments": "{}"
}
]
} |
glaive_v2/67799#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discounted price",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "number",
"description": "The original price"
... | [
{
"role": "user",
"content": "I saw a dress that I liked in a store. It was originally priced at $200 but there's a 20% discount on it. Can you tell me how much it will cost after the discount?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_discount",
"arguments": "{\"original_price\": 200, \"discount_percentage\": 20}"
}
]
} |
glaive_v2/75#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "What C# code can be used to implement a self-care tracker that allows users to input and track their self-care activities? The tracker should store data in a SQL database and have a user-friendly interface. Can you provide a step-by-step guide using [Windows Forms] and [Entity ... | 0 | false | {
"content": "6. Add labels and textboxes for each activity to the form. Use the following code to create the labels and textboxes:\n```\nprivate void InitializeComponent()\n{\n this.lblName = new System.Windows.Forms.Label();\n this.lblDate = new System.Windows.Forms.Label();\n this.lblDescription = new System.Windo... |
glaive_v2/76#t1 | glaive_v2 | [
{
"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 con... | [
{
"role": "user",
"content": "Hi, I need to convert 1000 US dollars to Euros. Can you help me with that?"
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "convert_currency",
"arguments": "{\"amount\": 1000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}"
}
]
} |
glaive_v2/78461#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Can you solve this puzzle? \nGiven the English alphabet, how many unique 7-letter words can be formed without any letter repetition? But here's the catch, you can only use the letters that are primes in their alphabetical position. For example, you can use B (the second letter)... | 0 | false | {
"content": "Yes, I can help you with that puzzle! \nThe first step is to identify how many prime letters there are in the alphabet, which you have already done. There are 7 prime letters: B, C, E, G, K, M, and S. \nNext, we need to determine how many ways we can choose 7 letters from this set of 7 prime letters wit... |
glaive_v2/92259#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "How can I generate a random five-letter word that is classified as both a book and a bird species using JavaScript? Could you provide a sample code for generating such a word?\nHere is a possible solution using JavaScript code:\nconst books = ['pride', 'sense', 'emma', 'mocki',... | 0 | false | {
"content": "This code creates two arrays, one with book titles and another with bird species. It then generates two random indexes, one for each array, and uses the first two letters of the book title and the last three letters of the bird species to create a new five-letter word. Finally, it returns the new word.\... |
glaive_v2/80492#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the final price after applying a discount",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "number",
"description": "... | [
{
"role": "user",
"content": "I saw a dress that I liked. It was originally priced at $200 but there's a 20% discount on it. Can you tell me how much it will cost after the discount?"
}
] | 2 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_discount",
"arguments": "{\"original_price\": 200, \"discount_percentage\": 20}"
}
]
} |
glaive_v2/110022#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_random_joke",
"description": "Generate a random joke",
"parameters": {}
}
}
] | [
{
"role": "user",
"content": "Can you order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but as an AI, I don't have the capability to perform external tasks such as ordering a pizza. My current function allows me to generate random jokes. Would you like to hear a joke instead?"
} |
glaive_v2/81#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_recipe",
"description": "Search for a recipe by ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "array",
"items": {
"type": "string"
... | [
{
"role": "user",
"content": "Hi, I have some ingredients in my fridge and I don't know what to cook with them. Can you help me find a recipe?"
}
] | 1 | false | {
"content": "Of course, I'd be happy to help you with that. Please tell me what ingredients you have."
} |
glaive_v2/82#t1 | glaive_v2 | [
{
"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"
... | [
{
"role": "user",
"content": "Can you book a flight for me from New York to London?"
}
] | 1 | false | {
"content": "I'm sorry, but I'm unable to assist with booking flights. My current capabilities allow me to convert currency amounts. If you need help with that, feel free to ask!"
} |
glaive_v2/82996#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age based on a given date of birth",
"parameters": {
"type": "object",
"properties": {
"date_of_birth": {
"type": "string",
"description": "The date ... | [
{
"role": "user",
"content": "Can you please order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My capabilities are currently limited to the functions provided to me, such as calculating age based on a given date of birth."
} |
glaive_v2/84#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_random_number",
"description": "Generate a random number",
"parameters": {
"type": "object",
"properties": {
"min": {
"type": "number",
"description": "The minimum value of the random nu... | [
{
"role": "user",
"content": "Can you please order a pizza for me?"
}
] | 1 | false | {
"content": "I'm sorry, but I'm unable to perform external tasks like ordering a pizza. My current capabilities are limited to the functions provided to me, such as generating a random number."
} |
glaive_v2/107476#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_discount",
"description": "Calculate the discount amount",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "number",
"description": "Original price of the ... | [
{
"role": "user",
"content": "I saw a dress that I liked. It was originally priced at $100 but it's on a 20% discount. How much will I save?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_discount",
"arguments": "{\"original_price\": 100, \"discount_percentage\": 20}"
}
]
} |
glaive_v2/62830#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "get_movie_details",
"description": "Get details about a specific movie",
"parameters": {
"type": "object",
"properties": {
"movie_name": {
"type": "string",
"description": "The name of the movie"... | [
{
"role": "user",
"content": "Hey, can you tell me about the movie 'Inception'?"
}
] | 1 | false | {
"content": "Sure, let me fetch the details for you."
} |
glaive_v2/103875#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "The length of the password"
... | [
{
"role": "user",
"content": "I need a new password. Can you generate one for me?"
}
] | 1 | false | {
"content": "Of course, I can help with that. How long would you like the password to be? And would you like it to include numbers and symbols?"
} |
glaive_v2/88#t1 | glaive_v2 | [
{
"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 ... | [
{
"role": "user",
"content": "Hi, I need to calculate my tax. My income is $50000 and the tax rate is 20%."
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_tax",
"arguments": "{\"income\": 50000, \"tax_rate\": 20}"
}
]
} |
glaive_v2/55862#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Rewrite the following expression as a fraction: \n$$sqrt{sqrt[3]{7}+4}$$ \nNote: This expression can be simplified by performing some arithmetic operations before converting it to a fraction."
}
] | 0 | false | {
"content": "Let's simplify the expression first:\n$$sqrt{sqrt[3]{7}+4} = sqrt[6]{(sqrt[3]{7}+4)^3} = sqrt[6]{sqrt[3]{7}^3 + 3cdotsqrt[3]{7}^2cdot4 + 3cdotsqrt[3]{7}cdot4^2 + 4^3}$$\n$$= sqrt[6]{7 + 3cdot7cdot4 + 3cdot7cdot16 + 64} = sqrt[6]{7 + 84 + 336 + 64} = sqrt[6]{491}$$\nNow, we can write the expression as a ... |
glaive_v2/72881#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert one currency to another",
"parameters": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "The amount of money to be conv... | [
{
"role": "user",
"content": "Hi, I need to convert 1000 USD to Euros. Can you help me with that?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "convert_currency",
"arguments": "{\"amount\": 1000, \"from_currency\": \"USD\", \"to_currency\": \"EUR\"}"
}
]
} |
glaive_v2/66664#t1 | glaive_v2 | [
{
"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"... | [
{
"role": "user",
"content": "Hi, I need some help with my loan calculations."
}
] | 1 | false | {
"content": "Of course! I can help you calculate your monthly loan payment. Could you please provide me with the loan amount, the annual interest rate, and the loan term in years?"
} |
glaive_v2/92#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "What is a Python code that can generate five tips for each task of time management, study habits, social life, mental health, and career preparation? The tips should be randomized and unique for each task based on user input to prevent repetition. Additionally, can the code be ... | 0 | false | {
"content": "Here is a Python code that can generate five randomized tips for each task of time management, study habits, social life, mental health, and career preparation based on user input:\n```python\nimport random\n# Time Management Tips\ntime_management_tips = [\n \"Use a planner to keep track of your tasks a... |
glaive_v2/71025#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "The task description"
},
"... | [
{
"role": "user",
"content": "Can you help me create a new todo item?"
}
] | 1 | false | {
"content": "Of course! Could you please provide me with the task description and the due date?"
} |
glaive_v2/94#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters": {
"type": "object",
"properties": {
"start_location": {
"type": "string",
"description": "The sta... | [
{
"role": "user",
"content": "Hi, I need to know the distance between New York and Los Angeles."
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "calculate_distance",
"arguments": "{\"start_location\": \"New York\", \"end_location\": \"Los Angeles\"}"
}
]
} |
glaive_v2/96606#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on author, title, or genre",
"parameters": {
"type": "object",
"properties": {
"author": {
"type": "string",
"description": "The author of th... | [
{
"role": "user",
"content": "I am looking for a book but I can't remember the title. The author's name is George Orwell."
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_books",
"arguments": "{\"author\": \"George Orwell\"}"
}
]
} |
glaive_v2/96#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_books",
"description": "Search for books based on keywords",
"parameters": {
"type": "object",
"properties": {
"keywords": {
"type": "array",
"items": {
"type": "string"
... | [
{
"role": "user",
"content": "I am looking for some books on artificial intelligence. Can you help me find some?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_books",
"arguments": "{\"keywords\": [\"artificial intelligence\"]}"
}
]
} |
glaive_v2/109515#t1 | glaive_v2 | [
{
"type": "function",
"function": {
"name": "search_movies",
"description": "Search for movies based on title or genre",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query (title ... | [
{
"role": "user",
"content": "I'm in the mood for a comedy movie. Can you suggest some?"
}
] | 1 | false | {
"content": "",
"tool_calls": [
{
"name": "search_movies",
"arguments": "{\"query\": \"comedy\"}"
}
]
} |
glaive_v2/98#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "In a research report on air travel experiences, what are some common factors that contribute to passenger discomfort during long haul flights, and how can they be addressed? Specifically, how do cramped seating, limited mobility, and poor air quality affect the overall travel e... | 0 | false | {
"content": "There are several factors that contribute to passenger discomfort during long haul flights. Cramped seating, limited mobility, and poor air quality are some of the most common factors. \nCramped seating can cause discomfort and even pain for passengers, especially those who are taller or have limited mo... |
glaive_v2/105437#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "What is the best way to divide the text \"MTL is a GPT language model\" into three equal parts using Latex code?"
}
] | 0 | false | {
"content": "Here is a code snippet in LaTeX that divides the text \"MTL is a GPT language model\" into three equal parts:\n```\ndocumentclass{article}\nusepackage{multicol}\nbegin{document}\nbegin{multicols}{3}\nMTL \nis a \nGPT language model\nend{multicols}\nend{document}\n```\nThis code uses the `multicol` packa... |
glaive_v2/100#t1 | glaive_v2 | [] | [
{
"role": "user",
"content": "Provide a comprehensive and diverse roster of activities and games that are suitable for a group of eight-year-olds attending an outdoor birthday party in the afternoon. The focus is on creating an engaging and dynamic atmosphere that will keep the young guests entertained and ... | 0 | false | {
"content": "Certainly! Here are some activity and game ideas for an outdoor birthday party for eight-year-olds:\n1. Obstacle Course: Set up an obstacle course with cones, hula hoops, and other items. Time each child as they complete the course and award prizes for the fastest times.\n2. Water Balloon Toss: Divide t... |
k3-toolcall-turn1
191,072 deduplicated tool-calling contexts, normalized to the OpenAI
messages + tools schema. Each row is a conversation prefix that stops right
before the first assistant turn — a context ready for a model to generate at,
not a finished conversation.
Built to generate on-policy targets for speculative-decoding draft training: a target model generates at each context, and the draft learns to copy that model's next tokens. The dataset ships contexts, not labels.
Composition
| source | rows | upstream license | what it adds |
|---|---|---|---|
| Agent-Ark/Toucan-1.5M (Kimi-K2) | 80,000 | Apache-2.0 | real MCP-server tools (2,000+), agentic queries |
| minpeter/xlam-function-calling-60k-parsed | 59,616 | CC-BY-4.0 | single-turn calls, many parallel-call examples |
| glaiveai/glaive-function-calling-v2 | 39,664 | Apache-2.0 | volume, "tools present but answer directly" cases |
| Team-ACE/ToolACE | 10,692 | Apache-2.0 | high API diversity (16k+ tools) |
| NousResearch/hermes-function-calling-v1 | 1,100 | Apache-2.0 | multi-turn reasoning + tool use |
| total | 191,072 | 24,818 distinct tools |
License is CC-BY-4.0 (the most restrictive among the sources; xlam is CC-BY-4.0, the rest Apache-2.0). Commercial use is allowed with attribution.
Format
One JSON object per line:
{
"id": "toucan/12#t1",
"source": "toucan",
"tools": [ { "type": "function", "function": { "name": "...", "parameters": { ... } } } ],
"messages": [ { "role": "user", "content": "..." } ],
"n_tools": 6,
"has_system": false,
"reference_output": { "content": "", "tool_calls": [ { "name": "...", "arguments": "{...}" } ] }
}
messages— the context. Has at least one user message and stops before the first assistant turn.tools— OpenAI-format declarations. Every tool called later in the source conversation is declared here.reference_output— the source dataset's original first assistant turn, kept for reference only. Another model wrote it; it is not a training label.
Construction & validation
Source conversations were parsed out of four different in-band formats (glaive's
ASSISTANT: <functioncall> text, Hermes' <tool_call> XML, ToolACE's
[Fn(arg=...)] strings, Toucan's legacy function_call field with a Kimi-K2
template system message) into a single messages + tools schema. A
conversation was dropped, never repaired, when a tool result could not be
matched to a preceding call, a call named an undeclared tool, or a payload
failed to parse. Sampled rows all render under
apply_chat_template(messages, tools=tools, add_generation_prompt=True) on a
production tokenizer.
Not included: Salesforce/APIGen-MT-5k (CC-BY-NC-4.0, non-commercial) and
Salesforce/xlam-function-calling-60k (gated; the ungated minpeter re-parse
is used instead).
Attribution
Derived from the datasets listed above; please cite their original authors (Agent-Ark, Salesforce/minpeter, GlaiveAI, Team-ACE, NousResearch).
- Downloads last month
- 34