Datasets:
system stringlengths 76 5.35k | chat stringlengths 174 16.4k |
|---|---|
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_movie",
"description": "Search for a movie by title",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
... | USER: Can you find a movie for me?
ASSISTANT: Of course! Could you please provide me with the title of the movie? <|endoftext|>
USER: The movie is called "Inception".
ASSISTANT: <functioncall> {"name": "search_movie", "arguments": '{"title": "Inception"}'} <|endoftext|>
FUNCTION RESPONSE: {"status": "success", ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "convert_currency",
"description": "Convert currency from one type to another",
"parameters": {
"type": "object",
"properties": {
"amount": {
"type": "numb... | USER: Hey, I have 1000 USD. I want to know how much it will be in Euros.
ASSISTANT: Sure, let me convert that for you. <|endoftext|>
ASSISTANT: <functioncall> {"name": "convert_currency", "arguments": '{"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}'} <|endoftext|>
FUNCTION RESPONSE: {"converted_am... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Identify the Fibonacci numbers in the given list of items and return them in ascending order.
List: [1, 3, 4, 5, 8, 13, 21]
Fibonacci numbers: numbers that are the sum of the two preceding numbers in the Fibonacci sequence.
ASSISTANT: The Fibonacci numbers in the given list are 1, 5, 8, and 13.
To return them i... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Given an HTML page of production data in the form of a log file, where each production event has a timestamp, your task is to use JavaScript code to extract these timestamps and calculate the time difference between each event in minutes. To increase the complexity of the task, please provide a function that can ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_mortgage",
"description": "Calculate the monthly mortgage payment",
"parameters": {
"type": "object",
"properties": {
"loan_amount": {
"type": "... | USER: Hi, I need help with calculating my monthly mortgage payment.
ASSISTANT: 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? <|endoftext|>
USER: Sure, the loan amount is $350,000, the annual interest rate is 3.5%, and the loa... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_stock_price",
"description": "Get the current stock price of a company",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string... | USER: Hi, can you tell me the current stock price of Apple?
ASSISTANT: <functioncall> {"name": "get_stock_price", "arguments": '{"symbol": "AAPL"}'} <|endoftext|>
FUNCTION RESPONSE: {"stock_price": "145.86"}
ASSISTANT: The current stock price of Apple (AAPL) is $145.86. <|endoftext|>
USER: That's great. Can you... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Please provide a JSON data with the following information:
{
"fruits": [
{
"name": "Apple",
"color": "Red",
"shape": "Round"
},
{
"name": "Banana",
"color": "Yellow",
"shape": "Crescent"
}
]
}
Can you add two more fruits to the JSON data and their corresponding properties?
ASSISTANT: Sure, here's the... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Identify the chemical reaction type for the following equation.
Al + O2 → Al2O3
ASSISTANT: The chemical reaction type for the given equation is a synthesis reaction. <|endoftext|>
USER: Can you explain the process of photosynthesis?
ASSISTANT: Certainly! Photosynthesis is the process by which green plants and ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_discounted_price",
"description": "Calculate the discounted price of a product",
"parameters": {
"type": "object",
"properties": {
"original_price": {
... | USER: I want to buy a dress that costs $200. There's a 20% discount on it. Can you tell me how much I will have to pay after the discount?
ASSISTANT: <functioncall> {"name": "calculate_discounted_price", "arguments": '{"original_price": 200, "discount": 20}'} <|endoftext|>
FUNCTION RESPONSE: {"discounted_price": 16... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_tip",
"description": "Calculate the tip amount based on the bill total",
"parameters": {
"type": "object",
"properties": {
"bill_total": {
"type... | USER: Hi, I need help with calculating a tip. My bill total is $50 and I want to leave a 20% tip.
ASSISTANT: <functioncall> {"name": "calculate_tip", "arguments": '{"bill_total": 50, "tip_percentage": 20}'} <|endoftext|>
FUNCTION RESPONSE: {"tip_amount": 10}
ASSISTANT: Based on your bill total and the tip percen... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_directions",
"description": "Get directions between two locations",
"parameters": {
"type": "object",
"properties": {
"origin": {
"type": "string",
... | USER: Hi, I need to get from New York to Los Angeles. Can you help me with the directions?
ASSISTANT: <functioncall> {"name": "get_directions", "arguments": '{"origin": "New York", "destination": "Los Angeles"}'} <|endoftext|>
FUNCTION RESPONSE: {"status": "success", "directions": "Start on I-278 W from Lafayette A... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_recipe",
"description": "Search for a recipe based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "arr... | USER: Can you please book a flight for me from New York to London?
ASSISTANT: I'm sorry, but I'm unable to assist with booking flights. My current capabilities are limited to searching for recipes based on specific ingredients and dietary restrictions. <|endoftext|>
|
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Using the given list of North American animal species, create an Excel table with five different species represented by consecutive letters of the English alphabet. Each species must be unique, and you cannot use any letters outside of the range of A to E.
Here is the list of animal species:
["Moose", "Bald Eag... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "reverse_string",
"description": "Reverse a given string",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"d... | USER: Hi, can you reverse a string for me?
ASSISTANT: Of course, I can help with that. Please provide the string you want to reverse. <|endoftext|>
USER: Sure, the string is "Hello, World!"
ASSISTANT: <functioncall> {"name": "reverse_string", "arguments": '{"text": "Hello, World!"}'} <|endoftext|>
FUNCTION RESP... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "find_nearby_restaurants",
"description": "Find nearby restaurants based on location",
"parameters": {
"type": "object",
"properties": {
"location": {
"typ... | USER: I am in New York. Can you find some nearby restaurants for me?
ASSISTANT: <functioncall> {"name": "find_nearby_restaurants", "arguments": '{"location": "New York"}'} <|endoftext|>
FUNCTION RESPONSE: {"restaurants": ["The Modern", "Le Bernardin", "Eleven Madison Park", "Gramercy Tavern", "Blue Hill"]}
ASSIST... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can we calculate the acceleration of a car using the distance traveled and time taken using the [Java code] data type?
Let's assume that a car travels a distance of d meters in t seconds. The acceleration can be calculated using the formula:
a = 2d/t^2
In Java code, we can represent this formula as:
double ac... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Make a recommendation for a book about sports.
ASSISTANT: I recommend "The Boys in the Boat" by Daniel James Brown. This book tells the story of the University of Washington's rowing team and their quest for the gold medal in the 1936 Olympics in Nazi Germany. It's a thrilling and emotional read that not only de... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_random_numbers",
"description": "Generate a list of random numbers",
"parameters": {
"type": "object",
"properties": {
"count": {
"type": "intege... | USER: I need 5 random numbers between 10 and 20.
ASSISTANT: <functioncall> {"name": "generate_random_numbers", "arguments": '{"count": 5, "min": 10, "max": 20}'} <|endoftext|>
FUNCTION RESPONSE: {"numbers": [12, 17, 10, 19, 14]}
ASSISTANT: Here are your random numbers: 12, 17, 10, 19, 14. <|endoftext|>
USER: Gr... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Summarize the operation of a quicksort algorithm
ASSISTANT: Quicksort is a divide-and-conquer algorithm that works by partitioning an array or list into smaller sub-arrays based on a chosen pivot element. The pivot element is then placed at its correct position in the sorted array, such that all elements less th... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "encrypt_text",
"description": "Encrypt a text using a specific algorithm",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
... | USER: Hi, I need to encrypt a text using the AES algorithm. The text is "Hello World".
ASSISTANT: <functioncall> {"name": "encrypt_text", "arguments": '{"text": "Hello World", "algorithm": "AES"}'} <|endoftext|>
FUNCTION RESPONSE: {"encrypted_text": "U2FsdGVkX1/vupppZksvRf5pqPOPnTf4"}
ASSISTANT: Your encrypted te... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_recipe",
"description": "Search for a recipe based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "arr... | USER: I have some chicken, broccoli, and cheese. Can you find me a recipe?
ASSISTANT: <functioncall> {"name": "search_recipe", "arguments": '{"ingredients": ["chicken", "broccoli", "cheese"]}'} <|endoftext|>
FUNCTION RESPONSE: {"name": "Chicken and Broccoli Cheese Bake", "ingredients": ["chicken", "broccoli", "chee... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_random_quote",
"description": "Generate a random inspirational quote",
"parameters": {}
}
| USER: Hi, can you help me with something?
ASSISTANT: Of course! That's what I'm here for. What do you need help with? <|endoftext|>
USER: I need to book a flight to New York for next week. Can you do that for me?
ASSISTANT: I'm sorry, but as an AI, I don't have the capability to perform external tasks such as boo... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_recipe",
"description": "Search for a recipe by ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "array",
... | USER: I have some chicken, broccoli, and cheese. Can you find me a recipe using these ingredients?
ASSISTANT: <functioncall> {"name": "search_recipe", "arguments": '{
"ingredients": ["chicken", "broccoli", "cheese"]
}'} <|endoftext|>
FUNCTION RESPONSE: {"recipes": [{"name": "Chicken and Broccoli Casserole", "ingr... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_random_fact",
"description": "Generate a random fact",
"parameters": {}
}
| USER: Can you order a pizza for me from the nearby pizzeria?
ASSISTANT: 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 facts. Is there anything else you would like to know? <|endoftext|>
|
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_recipes",
"description": "Search for recipes based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "arr... | USER: I have some chicken, tomatoes and basil. Can you find me a recipe?
ASSISTANT: <functioncall> {"name": "search_recipes", "arguments": '{"ingredients": ["chicken", "tomatoes", "basil"]}'} <|endoftext|>
FUNCTION RESPONSE: {"recipes": [{"name": "Chicken Margherita", "ingredients": ["chicken", "tomatoes", "basil"]... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "track_fitness_progress",
"description": "Track fitness progress and generate reports",
"parameters": {
"type": "object",
"properties": {
"activity": {
"ty... | USER: Hi, I just finished my workout and I want to track my progress. I did 30 minutes of running and burned 250 calories.
ASSISTANT: <functioncall> {"name": "track_fitness_progress", "arguments": '{
"activity": "running",
"duration": 30,
"calories_burned": 250
}'} <|endoftext|>
FUNCTION RESPONSE: {"status": ... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: What R code can I use to analyze and visualize the data collected from various espresso machines to identify patterns of milk residue buildup and potential bacterial contamination? Additionally, what R packages or techniques can I use to clean and maintain the nooks and crannies of these machines, such as the ste... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_fibonacci",
"description": "Calculate the Fibonacci sequence up to a specified number",
"parameters": {
"type": "object",
"properties": {
"number": {
... | USER: Hi, I need to calculate the Fibonacci sequence up to 10. Can you help me with that?
ASSISTANT: Of course, I can help you with that. Let me calculate it for you. <|endoftext|>
ASSISTANT: <functioncall> {"name": "calculate_fibonacci", "arguments": '{"number": 10}'} <|endoftext|>
FUNCTION RESPONSE: {"sequence"... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can I use R code to extract metaphors from textual data related to the concept of grief in Taylor Swift's songs?
Here is a sample R code that uses natural language processing to extract metaphorical language from a corpus of Swift's song lyrics:
library(tm)
library(SnowballC)
library(stringr)
# Load lyrics co... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_qr_code",
"description": "Generate a QR code for a given text",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
... | USER: Hi, I need a QR code for my website.
ASSISTANT: Sure, I can help with that. Could you please provide me with the URL of your website? <|endoftext|>
USER: Yes, it's www.mywebsite.com.
ASSISTANT: <functioncall> {"name": "generate_qr_code", "arguments": '{"text": "www.mywebsite.com"}'} <|endoftext|>
FUNCTION... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Design a unique experiential marketing campaign for a new movie release that involves consumers interacting with the film's set and characters in real life.
ASSISTANT: Sure, here's an idea for an experiential marketing campaign for a new movie release:
Title: "Escape the Set"
Objective: To create an immersive ex... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_stock_price",
"description": "Get the current stock price for a given company",
"parameters": {
"type": "object",
"properties": {
"company_name": {
"t... | USER: What's the current stock price for Apple?
ASSISTANT: <functioncall> {"name": "get_stock_price", "arguments": '{"company_name": "Apple"}'} <|endoftext|>
FUNCTION RESPONSE: {"stock_price": "$150.75"}
ASSISTANT: The current stock price for Apple is $150.75. <|endoftext|>
USER: And what about Microsoft?
ASS... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Write a fictional story about an artist who creates a sculpture that comes to life and interacts with the world around it.
ASSISTANT: Once upon a time, there was a talented artist named Mia. She had always been fascinated by the idea of creating something that could come to life and interact with the world aroun... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_stock_price",
"description": "Get the current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
... | USER: Can you book a flight for me from New York to London?
ASSISTANT: I'm sorry, but I'm unable to assist with that. My current capabilities allow me to provide information such as stock prices. I don't have a function to book flights or perform other external tasks. <|endoftext|>
|
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_stock_price",
"description": "Get the current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
... | USER: Hi, can you tell me the current stock price of Microsoft?
ASSISTANT: Sure, let me fetch that information for you. <|endoftext|>
ASSISTANT: <functioncall> {"name": "get_stock_price", "arguments": '{"symbol": "MSFT"}'} <|endoftext|>
FUNCTION RESPONSE: {"stock_price": "258.36"}
ASSISTANT: The current stock p... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can I use Python to compare the taste of different brands of cottage cheese and identify the one that I believe tastes better than any other brand I have ever tried? Can I use any libraries or methods to make this process more efficient?
ASSISTANT: To compare the taste of different brands of cottage cheese u... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
... | USER: Hi, I need a new password. Can you generate one for me?
ASSISTANT: Of course, I can help with that. How long would you like your password to be? And do you want it to include symbols? <|endoftext|>
USER: I would like it to be 12 characters long and yes, please include symbols.
ASSISTANT: <functioncall> {"na... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Which statement is false:
1. The Sun is bigger than the Moon.
2. The Moon is bigger than the Sun.
ASSISTANT: The statement "The Moon is bigger than the Sun" is false. The Sun is much bigger than the Moon. <|endoftext|>
USER: What is the Sun made of?
ASSISTANT: The Sun is primarily made up of hydrogen and heli... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_tip",
"description": "Calculate the tip amount for a given bill amount and tip percentage",
"parameters": {
"type": "object",
"properties": {
"bill_amount": {
... | USER: Hi, I need help calculating the tip for my bill. The total amount is $50 and I want to leave a 15% tip.
ASSISTANT: <functioncall> {"name": "calculate_tip", "arguments": '{"bill_amount": 50, "tip_percentage": 0.15}'} <|endoftext|>
FUNCTION RESPONSE: {"tip_amount": 7.5}
ASSISTANT: The tip amount for your bill... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: In an HTML page, how can I display the period of the moon's rotation around the Earth using JavaScript?
Assuming the period of the moon's rotation is 27.3 days, you can use the following code snippet in your HTML page:
The period of the moon's rotation around the Earth is days.
document.getElementById("moon-pe... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "play_music",
"description": "Play a specific song or playlist",
"parameters": {
"type": "object",
"properties": {
"song": {
"type": "string",
... | USER: Can you order a pizza for me?
ASSISTANT: I'm sorry, but I don't have the capability to perform external tasks like ordering a pizza. My current function allows me to play specific songs or playlists. <|endoftext|>
|
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "create_todo_list",
"description": "Create a new todo list",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
... | USER: I need to create a new todo list for my weekend.
ASSISTANT: Sure, I can help with that. What would you like to title your todo list and what tasks would you like to add? <|endoftext|>
USER: Let's title it "Weekend Chores". The tasks are "Grocery shopping", "Laundry", "Clean the house", and "Cook dinner".
AS... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_distance",
"description": "Calculate the distance between two locations",
"parameters": {
"type": "object",
"properties": {
"origin": {
"type": ... | USER: Hi, I need to know the distance between New York and Los Angeles.
ASSISTANT: Sure, let me calculate that for you. <|endoftext|>
ASSISTANT: <functioncall> {"name": "calculate_distance", "arguments": '{"origin": "New York", "destination": "Los Angeles"}'} <|endoftext|>
FUNCTION RESPONSE: {"distance": "2448 mi... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Add the requirement that the solution must also include a detailed explanation of the problem-solving approach in #The Given Prompt#.
Given Prompt:
A customer reported an issue with their account and wants it resolved ASAP.
Rewritten Prompt:
In addition to resolving the issue ASAP, the solution provided must ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_restaurants",
"description": "Search for restaurants based on location and cuisine",
"parameters": {
"type": "object",
"properties": {
"location": {
... | USER: Can you book a flight for me to New York?
ASSISTANT: I'm sorry, but I'm unable to assist with booking flights. My current capabilities allow me to search for restaurants based on location and cuisine. Is there anything else you need help with? <|endoftext|>
|
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: In a SQL database, how would you determine the nth root of a complex number where n is a prime number greater than 10? Could you provide an equivalent code in Go that implements this?
Here's a sample Go code that calculates the nth root of a complex number in polar form:
package main
import (
"fmt"
"math"
"ma... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How to calculate the center of mass of an array of three-dimensional points in Python?
Data format:
You must have [ Python code ] data type in the following Rewrite prompt
Rewrite prompt:
Given an array of three-dimensional points:
points = [[1, 2, 3], [2, 3, 4], [3, 4, 5], [4, 5, 6]]
I want to calculate the cent... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Provide a list of tools that are essential for web development.
ASSISTANT: 1. Code editors: Sublime Text, Visual Studio Code, Atom, Notepad++
2. Version control systems: Git, SVN
3. Browser development tools: Google Chrome Developer Tools, Firefox Developer Tools, Safari Web Inspector, Microsoft Edge Dev Tools... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_route_distance",
"description": "Calculate the distance of a route based on multiple locations",
"parameters": {
"type": "object",
"properties": {
"locations": ... | USER: Can you please book a flight for me from New York to London?
ASSISTANT: I'm sorry, but I'm unable to assist with booking flights. My current capabilities are limited to calculating the distance of a route based on multiple locations. If you need to know the distance between New York and London, I can certainly ... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can I create a dynamic excel table that shows the top 5 performing employees based on their sales data for the month of July? The table should include columns for employee name, sales amount, percentage of total sales, and a bar graph that illustrates the monthly sales trend for each employee. The graph shoul... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can I calculate the volume of a pyramid in Swift given the length, width, and height?
[Swift code]
let length = 6.0
let width = 4.0
let height = 3.0
let volume = (length * width * height) / 3.0
print("The volume of the pyramid is: (volume)")
ASSISTANT: Your Swift code is correct! The formula for the volume ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_random_password",
"description": "Generate a random password with specific criteria",
"parameters": {
"type": "object",
"properties": {
"length": {
... | USER: I need a new password. Can you generate one for me?
ASSISTANT: Sure, I can help with that. How long do you want the password to be? And do you want it to include lowercase letters, uppercase letters, numbers, and symbols? <|endoftext|>
USER: I want it to be 12 characters long. It should include lowercase and ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "translate_text",
"description": "Translate text from one language to another",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string... | USER: Hi, I have a sentence in French that I need translated to English. The sentence is "Je suis très heureux de vous rencontrer".
ASSISTANT: <functioncall> {"name": "translate_text", "arguments": '{"text": "Je suis très heureux de vous rencontrer", "source_language": "French", "target_language": "English"}'} <|endo... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: What is the full list of characters that make an appearance in the Harry Potter book series, as requested by the given SQL database query? Are there any notable characters that are exclusive to certain books in the series? Please provide the name of each character that appears, based on the specified SQL query of... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can I use R to randomly select 10 questions from a pool of 20 related to project management and creative problem solving? Here's the list of 20 questions in [HTML page] format:
1. Describe a time when you faced a challenging problem and came up with an innovative solution.
2. How do you approach problem-solvi... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: What would be the encrypted message if we use a simple substitution cipher in PHP with the given poem as the message? Can you provide a sample code to perform the encryption in an excel table?
Here's the poem:
The sun descending in the west,
The evening star does shine;
The birds are silent in their nest,
And I... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_area",
"description": "Calculate the area of a rectangle",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "number",
... | USER: Can you please book a flight for me?
ASSISTANT: I'm sorry, but as an AI, I don't have the capability to perform external tasks such as booking flights. I can assist you with tasks related to the functions provided to me. For instance, I can help calculate the area of a rectangle if you provide the length and wi... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "create_todo",
"description": "Create a new todo item",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"des... | USER: I need to create a new todo item.
ASSISTANT: Sure, I can help with that. Could you please provide me with the title, description, and due date for the todo item? <|endoftext|>
USER: The title is "Buy groceries", description is "Need to buy milk, bread, and eggs", and the due date is "2022-03-15".
ASSISTANT:... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: You are tasked with training a system to predict the next letter in a sequence based on the previous letters. However, the system can only use certain letters as inputs and must output a specific letter for each sequence.
The input letters are: A, B, C, D, E, F, G, H, J, K, L, M, N, P, Q, R, S, T, U, V, W, X, Y,... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_password",
"description": "Generate a random password with specified length",
"parameters": {
"type": "object",
"properties": {
"length": {
"type... | USER: Hi, I need a new password. Can you generate one for me?
ASSISTANT: Of course, I can help with that. How long would you like your password to be? <|endoftext|>
USER: I would like it to be 12 characters long.
ASSISTANT: <functioncall> {"name": "generate_password", "arguments": '{"length": 12}'} <|endoftext|>
... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_tip",
"description": "Calculate the tip amount based on bill total",
"parameters": {
"type": "object",
"properties": {
"bill_total": {
"type": "... | USER: Hi, I need help calculating the tip for my bill. The total is $50 and I want to leave a 20% tip.
ASSISTANT: <functioncall> {"name": "calculate_tip", "arguments": '{"bill_total": 50, "tip_percentage": 20}'} <|endoftext|>
FUNCTION RESPONSE: {"tip_amount": 10}
ASSISTANT: Based on a 20% tip, you should leave $1... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_qr_code",
"description": "Generate a QR code for a given text",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
... | USER: Hi, I need a QR code for my website.
ASSISTANT: Sure, I can help with that. Could you please provide me with the URL of your website and the desired size of the QR code in pixels? <|endoftext|>
USER: The URL is www.mywebsite.com and I want the QR code to be 500 pixels.
ASSISTANT: <functioncall> {"name": "ge... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Can you identify the next shape in this non-geometric pattern that follows a logical sequence: circle, equilateral triangle, perfect square, regular pentagon, regular hexagon, regular octagon, ? Your task requires multi-step reasoning to solve.
ASSISTANT: Yes, I can help you with that. The pattern seems to be ba... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_movies",
"description": "Search for movies by title, actor, or genre",
"parameters": {
"type": "object",
"properties": {
"keyword": {
"type": "stri... | USER: I'm looking for a movie to watch tonight. Can you help me find one?
ASSISTANT: Of course! Could you please provide me with a keyword? It could be a movie title, an actor's name, or a genre you're interested in. <|endoftext|>
USER: I'm in the mood for a comedy. Maybe something with Will Ferrell?
ASSISTANT: <... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_discount",
"description": "Calculate the discounted price",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "numbe... | USER: Hi, I have a dress that costs $100 and there's a 20% discount on it. Can you calculate the discounted price for me?
ASSISTANT: Sure, I can help with that. Let me calculate it for you. <|endoftext|>
ASSISTANT: <functioncall> {"name": "calculate_discount", "arguments": '{"original_price": 100, "discount_percent... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "generate_password",
"description": "Generate a random password",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "number",
... | USER: Hi, I need a new password for my account. Can you generate one for me?
ASSISTANT: Sure, I can help with that. How long would you like the password to be? And do you want it to include symbols? <|endoftext|>
USER: I would like it to be 12 characters long and yes, please include symbols.
ASSISTANT: <functionc... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: You must have [ SQL query ] data type in the following Rewrite prompt
I have a database that contains user information such as name, email, phone number, and address. I want to run a query to retrieve all the users who live in a specific city and have registered in the past month. How can I write a SQL query to a... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: How can I use JavaScript to create a fictional story about a character who gets hunted by dragons?
Here is a sample code to get started:
const character = {
name: "Erik",
age: 25,
occupation: "Blacksmith",
location: "The Kingdom of Eldrid",
weapon: "Sword",
weakness: "Afraid of heights"
};
const dragons = ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment",
"parameters": {
"type": "object",
"properties": {
"loan_amount": {
"... | USER: Hi, I need some help with my mortgage calculations.
ASSISTANT: Of course! I can help you with that. Could you please provide me with the loan amount, the annual interest rate, and the loan term in years? <|endoftext|>
USER: Sure, the loan amount is $200,000, the annual interest rate is 3.5%, and the loan term... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_recipe",
"description": "Search for recipes based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "arra... | USER: I have some chicken, tomatoes, and garlic. Can you find me a recipe?
ASSISTANT: <functioncall> {"name": "search_recipe", "arguments": '{"ingredients": ["chicken", "tomatoes", "garlic"]}'} <|endoftext|>
FUNCTION RESPONSE: {"recipe": "Chicken Tomato Garlic Pasta", "ingredients": ["chicken", "tomatoes", "garlic"... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "calculate_area",
"description": "Calculate the area of a shape",
"parameters": {
"type": "object",
"properties": {
"shape": {
"type": "string",
... | USER: I need to calculate the area of a rectangle. The length is 10 units and the breadth is 5 units.
ASSISTANT: <functioncall> {"name": "calculate_area", "arguments": '{"shape": "rectangle", "dimensions": {"length": 10, "breadth": 5}}'} <|endoftext|>
FUNCTION RESPONSE: {"area": 50}
ASSISTANT: The area of the rec... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_stock_price",
"description": "Get the current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
... | USER: What's the current stock price for AAPL?
ASSISTANT: <functioncall> {"name": "get_stock_price", "arguments": '{"symbol": "AAPL"}'} <|endoftext|>
FUNCTION RESPONSE: {"stock_price": 134.18}
ASSISTANT: The current stock price for AAPL is $134.18. <|endoftext|>
USER: What about Microsoft?
ASSISTANT: <functio... |
SYSTEM: You are a helpful assistant, with no access to external functions.
| USER: Develop a comprehensive regular expression pattern that can accurately match all possible valid email addresses across different domains, including but not limited to top-level domains (TLDs) such as .com, .org, and .net, country-code top-level domains (ccTLDs) like .us, .uk, and .jp, as well as newer generic TLD... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "search_recipes",
"description": "Search for recipes based on ingredients",
"parameters": {
"type": "object",
"properties": {
"ingredients": {
"type": "arr... | USER: I have some chicken, broccoli, and cheese. Can you find me a keto recipe?
ASSISTANT: <functioncall> {"name": "search_recipes", "arguments": '{
"ingredients": ["chicken", "broccoli", "cheese"],
"diet": "keto"
}'} <|endoftext|>
FUNCTION RESPONSE: {"recipes": [{"name": "Keto Chicken and Broccoli Casserole", ... |
SYSTEM: You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "get_recipe",
"description": "Get a recipe based on specified criteria",
"parameters": {
"type": "object",
"properties": {
"cuisine": {
"type": "string",
... | USER: I'm in the mood for Italian food. I have tomatoes, garlic, and pasta at home. Can you find a recipe for me?
ASSISTANT: <functioncall> {"name": "get_recipe", "arguments": '{
"cuisine": "Italian",
"ingredients": ["tomatoes", "garlic", "pasta"]
}'} <|endoftext|>
FUNCTION RESPONSE: {"name": "Pasta Pomodoro", ... |
End of preview. Expand in Data Studio
Tool & Function Calling (Area 2) — Korean SFT Dataset Prep
상태: 비공개 스테이징 (private) — 제2자 감사 전, 공개 배포 대상 아님
출처
- 원본:
glaiveai/glaive-function-calling-v2 - 커밋 해시:
e7f4b6456019f5d8bcb991ef0dd67d8ff23221ac - 라이선스: Apache-2.0 (원본 태그, README 본문 없어 대조 문구 없음)
- 생성 출처: 미확인 — GPT-4/Claude 등 프론티어 모델 사용 가능성 있음 (원본 데이터셋 카드에 명시 없음)
- 언어: 영어 (지침서 §1.2 정책에 따라 번역 없이 영어 그대로 사용)
처리 과정
- 원본 112,960건 다운로드
chat필드 기준 완전 중복 23,790건(21%) 발견 및 제거 → 유니크 89,170건- 유니크 풀에서 seed=42로 50,000건 랜덤 샘플링
- 품질 검사: 빈 필드 0건, JSON 형식 정상(중괄호 균형 검사 기준), functioncall 실사용 비율 47.3%
의도된 용도
Korean SFT 학습의 5개 목표 중 "Tool & Function Calling"(구조화된 도구 호출) 영역 학습 데이터. 영어로 메커니즘을 학습시키고, 한국어 전이는 별도 평가(Korean-transfer check)로 확인 예정.
알려진 한계
- 원본 데이터셋의 생성 모델이 공개되지 않아 독점 모델 관여 여부 불확실
- 전체 대화의 47.3%만 실제 함수 호출을 포함 (나머지는 호출 불필요 대화)
- 전체 목표 500,000건(5개 영역) 중 이 영역 목표치인 50,000건에 해당
- 타깃 모델(DeepSeek-V4-Flash-0731) 인코딩 미적용: 이 데이터는 원본
chat필드 형태 그대로이며, 아직 DeepSeek 자체 인코딩(표준 ChatML 아님)으로 변환되지 않았습니다. 함수 호출 부분은 최종적으로 OpenAI 스타일 JSON이 아니라<|DSML|tool_calls>XML 유사 포맷으로 변환되어야 합니다(§3 처리 단계에서 5개 영역 전체에 일괄 적용 예정, 2026-08-06 확인).
라이선스 및 저작권 표시
Apache-2.0은 원본 데이터셋 glaiveai/glaive-function-calling-v2(Apache-2.0)의 라이선스를 상속합니다. 원본 데이터셋 카드에는 생성 모델이 명시되지 않았으며(GPT-4/Claude 등 프론티어 모델 사용 가능성 있음, 미확인), 영어 원문을 번역 없이 그대로 재샘플링했습니다. "Keural-v2 Tool-Calling"은 MKD가 만든 데이터셋입니다.
- Downloads last month
- 42