conversations
listlengths
2
23
dataset
stringclasses
6 values
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"count_words\",\n \"description\": \"Count the number of words in a given text\",\n \"parameters\": {...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_age\",\n \"description\": \"Calculate the age based on the date of birth\",\n \"parameters...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_random_number\",\n \"description\": \"Get a random number between a specified range\",\n \"param...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_movie_details\",\n \"description\": \"Get details of a movie\",\n \"parameters\": {\n \"t...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"translate_text\",\n \"description\": \"Translate text from one language to another\",\n \"parameters...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI)\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"send_email\",\n \"description\": \"Send an email to a recipient with subject and message\",\n \"para...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_movie\",\n \"description\": \"Search for a movie by title\",\n \"parameters\": {\n \"t...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can you categorize the given text \"I have just returned from a visit to Egypt\" using a JSON data format?" }, { "from": "gpt", "value": "Here's an ex...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI)\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Compile a list of 5 famous authors from the 20th century" }, { "from": "gpt", "value": "1. Ernest Hemingway\n2. J.D. Salinger\n3. George Orwell\n4. Harper...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_calendar_event\",\n \"description\": \"Create a new calendar event\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI)\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Using historical data from multiple sources, including foreign exchange rates, government policies, and economic indicators, generate a comprehensive report summarizi...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can I use Java code to randomly select an adjective and a figure of speech from the table provided to enhance the following sentence: \n$exhaustionLevel = \"high\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_average\",\n \"description\": \"Calculate the average of a list of numbers\",\n \"paramete...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"convert_currency\",\n \"description\": \"Convert currency from one unit to another\",\n \"parameters...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can I modify this C++ code to perform a two-sample t-test in Python instead of C++ to compare the means of two groups? Here are the sample data for the leader and...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_movies\",\n \"description\": \"Search for movies based on genre and year\",\n \"parameters\":...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_gpa\",\n \"description\": \"Calculate GPA (Grade Point Average) based on grades and credits\",\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate the tip amount for a given bill\",\n \"parameters\":...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"analyze_customer_sentiment\",\n \"description\": \"Analyze customer sentiment based on reviews\",\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_invoice\",\n \"description\": \"Generate an invoice for a client\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_movie_details\",\n \"description\": \"Get details of a movie by its title\",\n \"parameters\": {...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_definition\",\n \"description\": \"Get the definition of a word\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Can you write a C# code that adds the specific binary values of 101 and 010 together, while also taking into account the carryover that occurs during binary arithmeti...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_definition\",\n \"description\": \"Get the definition of a word\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_qr_code\",\n \"description\": \"Generate a QR code for a given text\",\n \"parameters\": {\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_news\",\n \"description\": \"Get the latest news\",\n \"parameters\": {\n \"type\": \"obj...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_todo\",\n \"description\": \"Create a new todo item\",\n \"parameters\": {\n \"type\":...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "What is the final amount of money needed to purchase six items, each priced at $4.95, through a Scala program? The program below calculates the total cost of these it...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can C++ be used to optimize the energy efficiency of a refrigerator and reduce its environmental impact, specifically through the use of HTML pages? \nOne approac...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Can you identify which type of computer language Java belongs to out of the three options: procedural, object-oriented, or parallel? Remember, the answer is not simpl...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_password\",\n \"description\": \"Generate a random password with specified length\",\n \"pa...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_calendar_event\",\n \"description\": \"Create a new event in the calendar\",\n \"parameters\"...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_movie_details\",\n \"description\": \"Get details of a movie\",\n \"parameters\": {\n \"t...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "What is the title of the movie starring Tom Hanks where a vintage car with the primary colors of the classic American flag appears in a scene? The car must have been ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_new_event\",\n \"description\": \"Create a new event in the calendar\",\n \"parameters\": {\n...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_loan_payment\",\n \"description\": \"Calculate the monthly loan payment\",\n \"parameters\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Can you write a Python code to solve the algebraic equation x^2 - 2x = 0 and return the numerical value of the answer?" }, { "from": "gpt", "value": "Sure...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "What are the various use cases of the producer-consumer pattern in computer science, and how do they differ depending on the programming language and platform being u...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Predict the outcome of a tiebreaker in a game where both players have scored an equal number of points in the final round.\nPlayer A: 12\nPlayer B: 12" }, { "...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_books\",\n \"description\": \"Search for books based on title or author\",\n \"parameters\": ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_random_password\",\n \"description\": \"Generate a random password of specified length\",\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Describe the process for solving this equation\n2x + 3y = 6" }, { "from": "gpt", "value": "To solve the equation 2x + 3y = 6, follow these steps:\n\n1. Be...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI) for a person\",\n \"parame...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_random_fact\",\n \"description\": \"Generate a random fact\",\n \"parameters\": {}\n }\n...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_loan_payment\",\n \"description\": \"Calculate the monthly loan payment amount\",\n \"para...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_file_contents\",\n \"description\": \"Retrieve the contents of a file\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Create a website for a local Italian restaurant\nThe name of the restaurant is \"Giovanni's\"." }, { "from": "gpt", "value": "Introduction:\n\nWelcome to ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Can you come up with a puzzle to help identify and remove a rare type of weather anomaly called a \"supercell\" from a given data set of storm data? A supercell is a ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_product\",\n \"description\": \"Search for a product based on keywords\",\n \"parameters\": {...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "What is the value of the variable 'a' after executing the following code?\nint b = 6\nint c = 2\nint a = b / c + b % c * b" }, { "from": "gpt", "value": "...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_news\",\n \"description\": \"Search for news articles based on keywords\",\n \"parameters\": ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_random_number\",\n \"description\": \"Generate a random number within a specified range\",\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_age\",\n \"description\": \"Calculate the age based on birth date\",\n \"parameters\": {\n...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_user_profile\",\n \"description\": \"Create a user profile with personal information\",\n \"p...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_movie_details\",\n \"description\": \"Get details about a movie\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI)\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_note\",\n \"description\": \"Create a new note\",\n \"parameters\": {\n \"type\": \"ob...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "As a marine biologist, you have been tasked with studying the migration patterns of sea creatures. Using Python code, can you write a program that generates a list of...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "What is the syntax for generating an epigram for Jane using MATLAB? Can you provide me with a sample code that utilizes the Latext package to create a visually appeal...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Given a story, come up with five interesting questions to ask a character.\nThe protagonist is a young man who is in search of answers to a mysterious forgotten past....
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_translation\",\n \"description\": \"Get translation of a text in different languages\",\n \"para...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can I use Latex to create a document that includes a mathematical equation? Specifically, I want to include the equation for the area of a circle with radius r. C...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_loan_payment\",\n \"description\": \"Calculate the monthly payment for a loan\",\n \"param...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_area\",\n \"description\": \"Calculate the area of a shape\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_profit\",\n \"description\": \"Calculate the profit amount based on the cost price and selling ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_password_hash\",\n \"description\": \"Generate a hash of a given password\",\n \"parameters...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can I extract the top 5 most popular products from a JSON data file, and then use this information to create a dynamic visualization on a website? \nAssuming the ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "What python libraries and code can be used to analyze a sentence and identify the role of each word and their interdependencies? For example, given the sentence \"The...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_age\",\n \"description\": \"Calculate the age based on birthdate\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_movie_details\",\n \"description\": \"Get details of a movie\",\n \"parameters\": {\n \"t...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate the tip amount for a bill\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_discount\",\n \"description\": \"Calculate the discounted price of a product\",\n \"parame...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_account\",\n \"description\": \"Create a new user account\",\n \"parameters\": {\n \"t...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_books\",\n \"description\": \"Search for books based on title, author, or genre\",\n \"parame...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_random_number\",\n \"description\": \"Generate a random number within a given range\",\n \"...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"create_task\",\n \"description\": \"Create a new task\",\n \"parameters\": {\n \"type\": \"ob...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI)\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_movies\",\n \"description\": \"Search for movies based on various criteria\",\n \"parameters\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can I incorporate personalized customer data into a digital coupon design for a meal delivery service using HTML? Specifically, the coupon should feature a unique...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_bmi\",\n \"description\": \"Calculate the Body Mass Index (BMI)\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Suppose you have a C++ code as shown below:\nif (x > y) {\nif (x == y)\n y = 0;\nelse\n x = 0;\n}\nWhat are the errors in this code and how would you fix them?" }, ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"book_flight\",\n \"description\": \"Book a flight based on specified details\",\n \"parameters\": {\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_random_number\",\n \"description\": \"Generate a random number within given range\",\n \"pa...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_mortgage_payment\",\n \"description\": \"Calculate the monthly mortgage payment\",\n \"par...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "Consider a group of animals that can be classified into three categories: dogs, cats, and rabbits. Each category has a different number of animals, and the total numb...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"analyze_sentiment\",\n \"description\": \"Analyze the sentiment of a given text\",\n \"parameters\":...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant, with no access to external functions." }, { "from": "human", "value": "How can I generate a conversation between two people on the topic of exam anxiety using a shell command and ensure that the dialogue includes at least three different...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_loan_payment\",\n \"description\": \"Calculate the monthly loan payment\",\n \"parameters\...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"get_random_number\",\n \"description\": \"Get a random number within a specified range\",\n \"parame...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_password\",\n \"description\": \"Generate a random password\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"check_palindrome\",\n \"description\": \"Check if a string is a palindrome\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_random_password\",\n \"description\": \"Generate a random password with specified length and com...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"generate_password\",\n \"description\": \"Generate a random password\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_tip\",\n \"description\": \"Calculate the tip amount based on bill total and percentage\",\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"analyze_image\",\n \"description\": \"Analyze the content of an image\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"calculate_discount\",\n \"description\": \"Calculate the discounted price\",\n \"parameters\": {\n ...
glaive-function-calling-v2-extended
[ { "from": "system", "value": "You are a helpful assistant with access to the following functions. Use them if required -\n[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"search_recipes\",\n \"description\": \"Search for recipes based on specified ingredients\",\n \"para...
glaive-function-calling-v2-extended