yk12311/Berkeley-Function-Calling-Leaderboard huggingface dataset:
user: Get the protein sequence of human HbA1c, normal hemoglobin, and rat hemoglobin and their 3D models

Available functions:
name: protein_info.get_sequence_and_3D
description: Retrive the sequence and 3D models of proteins.
parameters: type: dict
properties: protein_name: type: string
description: The name of the protein.
model_3d: type: boolean
description: Set true to get 3D model of the protein.
required: protein_name
user: Find the factorial of 5,10 and 15.

Available functions:
name: math.factorial
description: Calculate the factorial of a given positive integer.
parameters: type: dict
properties: number: type: integer
description: The number for which factorial needs to be calculated.
required: number
user: Fetch the population of New York City, NY,  and Los Angeles, CA from US Census Database, and also get the population data for Alaska state and USA

Available functions:
name: database_us_census.get_population
description: Fetch population data from US Census database.
parameters: type: dict
properties: area: type: string
description: Name of the city, state, or country.
type: type: string
description: Specify whether the area is city/state/country.
year: type: integer
description: Year of the data
required: area
type
user: What will be the capital gains tax for a short term capital gains of $15000, long term gains of $25000 in the state of California and $20000 short term, $50000 long term in Florida?

Available functions:
name: calculate_capital_gains_tax
description: Calculate the capital gains tax for a given gains type and amount
parameters: type: dict
properties: short_term_gain: type: integer
description: The short term capital gain amount.
long_term_gain: type: integer
description: The long term capital gain amount.
state: type: string
description: The state where the income is generated.
required: short_term_gain
long_term_gain
user: Find details of lawsuits with case numbers '67813', '71249' filed in the New York District court for type 'Civil' and 'Criminal' cases.

Available functions:
name: court_case.find
description: Locate details of court cases based on specific parameters like case number and case type.
parameters: type: dict
properties: location: type: string
description: The city and court where the lawsuit is filed.
case_number: type: array
items: type: string
description: The unique case numbers of the lawsuits.
case_type: type: string
enum: Civil
Criminal
description: Type of the court case.
required: location
case_number
user: What was the Treaty of Paris about? Also, what was the importance of Magna Carta in history?

Available functions:
name: history_fact.fetch
description: Retrieve facts about historical events or documents
parameters: type: dict
properties: event: type: string
description: The historical event or document you want to know about.
depth: type: string
description: The depth of information required. Choices are 'brief' or 'detailed'.
year: type: integer
description: The year of the event/document. default is 0
required: event
user: Provide me the major events during the presidency of Abraham Lincoln and George Washington.

Available functions:
name: us_history.events_by_presidency
description: Retrieve the major events during the presidency of a specified US president.
parameters: type: dict
properties: president_name: type: string
description: The name of the US president.
start_year: type: integer
description: The start year of their presidency (optional).
end_year: type: integer
description: The end year of their presidency (optional).
required: president_name
user: Fetch the details of the ancient empires Persian Empire and Mauryan Empire with their religious history and influences.

Available functions:
name: ancient_empires.get_religion_info
description: Retrieve information about religious history and influences of an ancient empire.
parameters: type: dict
properties: empire_name: type: string
description: The name of the ancient empire.
include_influences: type: boolean
description: Specify whether to include details about the religious influences of the empire.
required: empire_name
user: What's the driving distance between New York and Washington DC, and between Los Angeles and San Francisco with optional parameter shortest route enabled?

Available functions:
name: calc_distance
description: Calculate the driving distance between two locations.
parameters: type: dict
properties: start_loc: type: string
description: Starting location.
end_loc: type: string
description: Ending location.
shortest_route: type: boolean
description: If true, returns the shortest driving route.
required: start_loc
end_loc
user: Can you find me any upcoming rock and jazz concerts for the next month in San Francisco, California and New York, New York?

Available functions:
name: concert_finder
description: Locate upcoming concerts based on music genre in specified city and state.
parameters: type: dict
properties: location: type: string
description: The city and state to find concerts.
music_genre: type: string
description: Music genre of the concerts.
time_period: type: integer
description: Number of days to search upcoming concerts.
required: location
music_genre
user: Find me all the classical concerts near Berlin and Paris happening next Friday, and I am interested only in those with available parking.

Available functions:
name: concert.find_nearby
description: Locate nearby concerts based on specific criteria like genre and availability of parking.
parameters: type: dict
properties: location: type: string
description: The city where the user wants to find a concert.
date: type: string
description: The date on which the user wants to attend a concert.
genre: type: string
description: The genre of music of the concert.
amenities: type: array
items: type: string
enum: Parking
Food and Beverages
VIP Seating
Disability Access
description: Amenities preferred at the concert.
required: location
date
genre
user: How to save game progress at stage 7 in easy mode and stage 3 in hard mode?

Available functions:
name: game.save_progress
description: Save the current state of a player's game, given the stage, level and game mode.
parameters: type: dict
properties: stage: type: integer
description: The current stage in the game the player has reached.
mode: type: string
enum: easy
hard
description: The game mode. Available modes are easy or hard.
level: type: string
description: The player's level.
required: stage
mode
user: Search for a Chicken Noodle Soup recipe and a Vegan Salad recipe.

Available functions:
name: recipe_search.find
description: Locate recipes based on the type of dish.
parameters: type: dict
properties: dish: type: string
description: The name of the dish to search for.
diet: type: string
enum: Vegan
Vegetarian
Paleo
Keto
description: Dietary preference.
required: dish
user: What is the results of the factorial of 5, the factorial of 7, and the factorial of 9?

Available functions:
name: math.factorial
description: Calculate the factorial of a given number.
parameters: type: dict
properties: number: type: integer
description: The number for which factorial needs to be calculated.
required: number
user: What is the total area of three circles, where the first circle has a radius of 5 meters, the second circle has a radius of 10 meters, and the third circle has a radius of 15 meters, all measured in meters?

Available functions:
name: geometry.area_circle
description: Calculate the area of a circle given the radius.
parameters: type: dict
properties: radius: type: integer
description: The radius of the circle.
units: type: string
description: The units in which the radius is measured (defaults to meters).
required: radius
user: "John is working on a project where he needs to calculate the area of two right-angled triangles. The first triangle has a base of 12 meters and a height of 15 meters. The second triangle has a base of 18 meters and a height of 24 meters. He wants to know the total area of these two triangles in square meters. Can you help him calculate this?"

Available functions:
name: calculate_area
description: Calculate the area of a right-angled triangle given the lengths of its base and height.
parameters: type: dict
properties: base: type: integer
description: The length of the base of the right-angled triangle.
height: type: integer
description: The height of the right-angled triangle.
unit: type: string
description: The unit of measure used. Defaults to cm.
required: base
height
user: "Can you compute the derivative of the function 3x^2 + 2x - 1 at the value 5, where the variable present in the function is 'x', and then compute the derivative of the function 4y^3 - 3y^2 + 2y - 1 at the value 3, where the variable present in the function is 'y'?"

Available functions:
name: calculus.derivative
description: Compute the derivative of a function at a specific value.
parameters: type: dict
properties: function: type: string
description: The function to calculate the derivative of.
value: type: integer
description: The value where the derivative needs to be calculated at.
function_variable: type: string
description: The variable present in the function, for instance x or y, etc.
required: function
value
user: What are the prime factors of the numbers 45, 100, and 150?

Available functions:
name: number_analysis.prime_factors
description: Compute the prime factors of a number.
parameters: type: dict
properties: number: type: integer
description: The number to be factored.
required: number
user: What is the greatest common divisor (GCD) of the two pairs of numbers (45, 60) and (81, 27)?

Available functions:
name: math.gcd
description: Compute the greatest common divisor of two numbers
parameters: type: dict
properties: num1: type: integer
description: The first number.
num2: type: integer
description: The second number.
required: num1
num2
user: "A car starts from rest and accelerates uniformly over a time of 5.2 seconds for a distance of 110 m. Determine the acceleration of the car. Then, another car with an initial velocity of 15 m/s accelerates at a rate of 3.5 m/s^2 for a time of 7 seconds. What is the displacement of the second car? Now, consider a third car that starts with an initial velocity of 20 m/s and accelerates at a rate of 2 m/s^2 for a time of 10 seconds. What is the displacement of the third car? Finally, a fourth car with an initial velocity of 25 m/s travels for a time of 8 seconds without any acceleration. What is the displacement of the fourth car?"

Available functions:
name: calculate_displacement
description: Calculates the displacement of an object in motion given initial velocity, time, and acceleration.
parameters: type: dict
properties: initial_velocity: type: integer
description: The initial velocity of the object in m/s.
time: type: integer
description: The time in seconds that the object has been in motion.
acceleration: type: float
description: The acceleration of the object in m/s^2.
required: initial_velocity
time
user: Can you generate a travel itinerary for a 7-day trip to Tokyo with a daily budget of $200 focusing on urban exploration, then do the same for a 10-day trip to Paris with a daily budget of $150 focusing on history, followed by a 5-day trip to Sydney with a daily budget of $100 focusing on nature, and finally a 12-day trip to Rome with a daily budget of $180 focusing on culture?

Available functions:
name: travel_itinerary_generator
description: Generate a travel itinerary based on specific destination, duration and daily budget, with preferred exploration type.
parameters: type: dict
properties: destination: type: string
description: Destination city of the trip.
days: type: integer
description: Number of days for the trip.
daily_budget: type: integer
description: The maximum daily budget for the trip.
exploration_type: type: string
enum: nature
urban
history
culture
description: The preferred exploration type.
required: destination
days
daily_budget
user: Can you help me find vegan restaurants in Los Angeles, CA that are open until at least 22:00, and then do the same for San Francisco, CA and Seattle, WA?

Available functions:
name: vegan_restaurant.find_nearby
description: Locate nearby vegan restaurants based on specific criteria like operating hours.
parameters: type: dict
properties: location: type: string
description: The city and state, e.g. New York, NY
operating_hours: type: integer
description: Preferred latest closing time of the restaurant. E.g. if 11 is given, then restaurants that close at or after 11 PM will be considered. This is in 24 hour format.
required: location
user: What would be the estimated travel time if I start my journey from New York, make stops at Philadelphia, Washington D.C., and Atlanta, and finally reach Miami? Also, what if I skip the stop at Atlanta and directly go to Miami from Washington D.C.? And lastly, what if I start from Philadelphia instead of New York, stop at Washington D.C., and then reach Miami?

Available functions:
name: route.estimate_time
description: Estimate the travel time for a specific route with optional stops.
parameters: type: dict
properties: start_location: type: string
description: The starting point for the journey.
end_location: type: string
description: The destination for the journey.
stops: type: array
items: type: string
description: Additional cities or points of interest to stop at during the journey ordered.
required: start_location
end_location
user: A chemist is conducting an experiment with a 2 kg sample of a specific substance A. The experiment begins with the substance at an initial temperature of 25 degrees Celsius. The chemist then heats the substance to a final temperature of 75 degrees Celsius. The experiment is conducted under a pressure of 1 atmosphere. The chemist repeats the experiment with the same substance, but this time the initial temperature is 10 degrees Celsius and the final temperature is 50 degrees Celsius. Can you calculate the change in entropy for the substance under these set initial and final conditions for both experiments?

Available functions:
name: entropy_change.calculate
description: Calculate the change in entropy for a mass of a specific substance under set initial and final conditions.
parameters: type: dict
properties: substance: type: string
description: The substance for which the change in entropy is calculated.
mass: type: integer
description: The mass of the substance in kg.
initial_temperature: type: integer
description: The initial temperature of the substance in degree Celsius.
final_temperature: type: integer
description: The final temperature of the substance in degree Celsius.
pressure: type: integer
description: The pressure the substance is under in atmospheres.
required: substance
mass
initial_temperature
final_temperature
user: What are the protein sequences encoded by the BRCA1 and BRCA2 genes in Homo sapiens and Pan troglodytes (chimpanzee)?

Available functions:
name: get_protein_sequence
description: Retrieve the protein sequence encoded by a human gene.
parameters: type: dict
properties: gene: type: string
description: The human gene of interest.
species: type: string
description: The species for which the gene is to be analyzed.
required: gene
user: Can you provide a detailed description of the structure and functioning of a neuron cell and then compare it with a less detailed description of a muscle cell in the human body?

Available functions:
name: biology.get_cell_info
description: Retrieve information about the structure and functioning of a specified type of cell
parameters: type: dict
properties: cell_type: type: string
description: Type of cell you want information about
detailed: type: boolean
description: Indicate if you want a detailed description of the cell
required: cell_type
user: What are the proteins found in the cell compartments of the nucleus, mitochondria, and cytoplasm, and can you also provide a brief description of each protein?

Available functions:
name: cellbio.get_proteins
description: Get the list of proteins in a specific cell compartment.
parameters: type: dict
properties: cell_compartment: type: string
description: The specific cell compartment.
include_description: type: boolean
description: Set true if you want a brief description of each protein.
required: cell_compartment
user: Can you analyze the DNA sequence "AGCTTAGCTA" and "AGCTTAGGCTA" using the reference sequence "AGCTTAGCTA" to identify any potential 'insertion' mutations, then repeat the same analysis for 'deletion' and 'substitution' mutations?

Available functions:
name: analyze_dna_sequence
description: Analyzes the DNA sequence based on a reference sequence and return any potential mutations.
parameters: type: dict
properties: sequence: type: string
description: The DNA sequence to be analyzed.
reference_sequence: type: string
description: The reference DNA sequence.
mutation_type: type: string
enum: insertion
deletion
substitution
description: Type of the mutation to be looked for in the sequence.
required: sequence
reference_sequence
user: "Can you help me identify the bird species I saw during my recent trip? The first one was a small bird with a vibrant blue color that I spotted in a forest. The second one was a large bird with a mix of black colors that I saw near a lake. The third one was a medium-sized bird with a brown color that I noticed in a desert. Lastly, the fourth one was a large bird with a green color that I observed in a tropical rainforest. What could these birds be?"

Available functions:
name: identify_bird
description: Identify a bird species based on certain characteristics.
parameters: type: dict
properties: color: type: string
description: Color of the bird.
habitat: type: string
description: Habitat of the bird.
size: type: string
enum: small
medium
large
description: Size of the bird.
required: color
habitat
user: Can you help me find restaurants in New York, NY that cater to my dietary preferences which include Vegan, Gluten-free and Dairy-free options, and then do the same for Los Angeles, CA and Chicago, IL?

Available functions:
name: restaurant.find_nearby
description: Locate nearby restaurants based on specific dietary preferences.
parameters: type: dict
properties: location: type: string
description: The city and state, e.g. Los Angeles, CA
dietary_preference: type: array
items: type: string
enum: Vegan
Vegetarian
Gluten-free
Dairy-free
Nut-free
description: Dietary preference.
required: location
user: "Can you help me find four restaurants in New York that serve Italian food and cater to my dietary requirements of being vegan and gluten-free, and then find four more restaurants in Los Angeles that serve the same type of food and also cater to my dietary requirements?"

Available functions:
name: find_restaurants
description: Locate nearby restaurants based on location and food preferences.
parameters: type: dict
properties: location: type: string
description: The specific location or area.
food_type: type: string
description: The type of food preferred.
number: type: integer
description: Number of results to return.
dietary_requirements: type: array
items: type: string
description: Special dietary requirements, e.g. vegan, gluten-free.
required: location
food_type
number
user: Can you use the function 'employee.fetch_data' to fetch the 'Personal Info', 'Job History', 'Payroll', and 'Attendance' data fields for an employee with the unique ID of 12345 from the company named 'Tech Solutions'? And then, can you repeat the same process for another employee with the unique ID of 67890 from the same company?

Available functions:
name: employee.fetch_data
description: Fetches the detailed data for a specific employee in a given company.
parameters: type: dict
properties: company_name: type: string
description: The name of the company.
employee_id: type: integer
description: The unique ID of the employee.
data_field: type: array
items: type: string
enum: Personal Info
Job History
Payroll
Attendance
description: Fields of data to be fetched for the employee (Optional).
required: company_name
employee_id
user: Can you find all the Drama and Comedy movies that Leonardo DiCaprio starred in 2010 and 2012 respectively by searching the database?

Available functions:
name: imdb.find_movies_by_actor
description: Searches the database to find all movies by a specific actor within a certain year.
parameters: type: dict
properties: actor_name: type: string
description: The name of the actor.
year: type: integer
description: The specific year to search in.
category: type: string
description: The category of the film (e.g. Drama, Comedy, etc). This parameter is optional.
required: actor_name
year
user: Can you provide me with the list of movie releases in the IMAX format at theaters in New York over the next 7 days, and also the list of movie releases in the 2D format at theaters in Los Angeles over the next 14 days?

Available functions:
name: get_theater_movie_releases
description: Retrieve the list of movie releases in specific theaters for a specified period.
parameters: type: dict
properties: location: type: string
description: The location of the theaters.
timeframe: type: integer
description: The number of days for which releases are required from current date.
format: type: string
description: Format of movies - could be 'IMAX', '2D', '3D', '4DX' etc. This is an optional parameter.
required: location
timeframe
user: Can you use the 'update_user_info' function to update the name and email of a customer with user ID 12345 in the 'CustomerInfo' database to "John" and "example@.com", then repeat the same process for another customer with user ID 67890, changing their name and email to the same value as well as well?

Available functions:
name: update_user_info
description: Update user information in the database.
parameters: type: dict
properties: user_id: type: integer
description: The user ID of the customer.
update_info: type: dict
properties: name: type: string
description: The customer's updated name.
email: type: string
description: The customer's updated email.
description: The new information to update.
database: type: string
description: The database where the user's information is stored.
required: user_id
update_info
user: What is the result if you calculate the factorial of 5, the factorial of 3, then  the factorial of 4 and finally the factorial of 2?

Available functions:
name: math.factorial
description: Calculate the factorial of a given number.
parameters: type: dict
properties: number: type: integer
description: The number to compute factorial.
required: number
user: "In a game of basketball, a player has a 60% chance of making any given shot. In a series of 10 shots, what is the probability that the player makes exactly 7 shots? Also, in another series of 15 shots, what is the probability that the player makes exactly 10 shots? Finally, in a series of 20 shots, what is the probability that the player makes exactly 15 shots?"

Available functions:
name: calculate_binomial_probability
description: Calculates the binomial probability given the number of trials, successes and the probability of success on an individual trial.
parameters: type: dict
properties: number_of_trials: type: integer
description: The total number of trials.
number_of_successes: type: integer
description: The desired number of successful outcomes.
probability_of_success: type: float
description: The probability of a successful outcome on any given trial.
required: number_of_trials
number_of_successes
user: You are an investor who recently sold some stocks. You bought one stock at $150, another at $200, and another at $250. You sold them at $180, $210, and $300 respectively. You also received dividends of $20, $30, and $40 for each stock. Can you calculate the return on investment for each of these stocks using the 'calculate_return_on_investment' function?

Available functions:
name: calculate_return_on_investment
description: Calculate the return on investment for a given stock based on its purchase price, sale price, and any dividends received.
parameters: type: dict
properties: purchase_price: type: integer
description: The price the stock was bought at.
sale_price: type: integer
description: The price the stock was sold at.
dividend: type: integer
description: Any dividends received from the stock.
required: purchase_price
sale_price
user: What are the potential greenhouse gas emissions savings if I switch to solar energy for 12 months and wind energy for 8 months in the Midwest region of the United States?

Available functions:
name: calculate_emission_savings
description: Calculate potential greenhouse gas emissions saved by switching to renewable energy sources.
parameters: type: dict
properties: energy_type: type: string
description: Type of the renewable energy source.
usage_duration: type: integer
description: Usage duration in months.
region: type: string
description: The region where you use energy.
required: energy_type
usage_duration
user: What is the air quality data for New York City, including additional data like PM2.5, PM10, ozone levels, and pollution sources, for today, yesterday, and the day before yesterday? Today is May 5, 2023

Available functions:
name: get_air_quality
description: Retrieve real-time air quality and pollution data for a specific location.
parameters: type: dict
properties: location: type: string
description: The city that you want to get the air quality data for.
detail: type: boolean
description: If true, additional data like PM2.5, PM10, ozone levels, and pollution sources will be retrieved. the value is set to false to default.
historical: type: string
description: Optional date (in 'YYYY-MM-DD' format) to retrieve historical data.
required: location
user: Can you find me parks in New York, USA that have a Tennis Court and a Picnic Area, then find parks in Los Angeles, USA that have a Playground and Running Track, and finally find parks in Chicago, USA that have a Tennis Court and a Playground?

Available functions:
name: parks.find_nearby
description: Locate nearby parks based on specific criteria like tennis court availability.
parameters: type: dict
properties: location: type: string
description: The city and state, e.g. London, UK
amenities: type: array
items: type: string
enum: Tennis Court
Picnic Area
Playground
Running Track
description: Preferred amenities in park.
required: location
user: Can you find me upcoming jazz events in Los Angeles, CA for the next 14 days and then find the same for rock events in Chicago, IL for the next 10 days and finally find upcoming classical music events in Boston, MA for the next 7 days?

Available functions:
name: event_finder.find_upcoming
description: Find upcoming events of a specific genre in a given location.
parameters: type: dict
properties: location: type: string
description: The city and state where the search will take place, e.g. New York, NY.
genre: type: string
description: The genre of events.
days_ahead: type: integer
description: The number of days from now to include in the search.
required: location
genre
user: Can you retrieve additional information like Director, Cast, Awards etc. for the same movie "Inception" and also for the movie "The Dark Knight"?

Available functions:
name: movie_details.brief
description: This function retrieves a brief about a specified movie.
parameters: type: dict
properties: title: type: string
description: Title of the movie
extra_info: type: boolean
description: Option to get additional information like Director, Cast, Awards etc.
required: title
user: "Can you provide me with the details of the lawsuit case with the case number '12345ABC', which was initiated in the year 2018 and filed in the New York court jurisdiction? Also, can you retrieve the same information for another lawsuit case with the case number '67890XYZ', initiated in the year 2019 and filed in the California court jurisdiction?"

Available functions:
name: lawsuit_info
description: Retrieves details of a lawsuit given a case number
parameters: type: dict
properties: case_number: type: string
description: The unique identifier of the lawsuit case
year: type: integer
description: The year in which the lawsuit case was initiated
optional: yes
location: type: string
description: The location or court jurisdiction where the case was filed.
optional: yes
required: case_number