yk12311/Berkeley-Function-Calling-Leaderboard huggingface dataset:
user: "Imagine you're a musician who also loves to play poker with friends. One day, you decided to host a poker game at your house. You invited three friends named John, Sarah, and Mike. In the game of Texas Holdem, John had the cards 2 of hearts, 3 of diamonds, 4 of spades, 5 of clubs, and 6 of diamonds. Sarah had the cards 3 of hearts, 4 of diamonds, 5 of spades, 6 of clubs, and 7 of diamonds. Mike had the cards 4 of hearts, 5 of diamonds, 6 of spades, 7 of clubs, and 8 of diamonds. Who won the game? 

After the game, you all decided to play some music. You picked up your guitar and started to play a song in the key of C. However, you forgot the notes in the C major scale. Could you tell me what they are? 

Later, you decided to do a physics experiment. You launched a small object with an initial velocity of 10 m/s. After 5 seconds, you noticed that the object had stopped accelerating. How far did the object travel during this time?"

Available functions:
name: poker_game_winner
description: Identify the winner in a poker game based on the cards.
parameters: type: dict
properties: players: type: array
items: type: string
description: Names of the players in a list.
cards: type: dict
description: An object containing the player name as key and the cards as string values in a list, for example '7 of diamonds'.
type: type: string
description: Type of poker game. Defaults to 'Texas Holdem'
required: players
cards
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: integer
description: The acceleration of the object in m/s^2.
required: initial_velocity
time
name: musical_scale
description: Get the musical scale of a specific key in music theory.
parameters: type: dict
properties: key: type: string
description: The musical key for which the scale will be found.
scale_type: type: string
description: The type of musical scale.
required: key
user: "Can you help me with a few things? First, I'm interested in a court case with the docket number 12345 that was registered in Dallas, TX. Could you retrieve the details about this case for me? I don't need the full text of the case ruling. Second, I'm curious about the current classical chess rating of a player named Magnus Carlsen. Could you fetch that for me? Third, I'm trying to remember the date of the historical event known as the Battle of Gettysburg. Do you know when that took place? Lastly, I'm working on a physics problem and need to calculate the final speed of an object. The object was dropped from a height of 100 meters with an initial velocity of 0 m/s. The gravitational acceleration is 9.8 m/s^2. Can you help me calculate the final speed?"

Available functions:
name: chess.rating
description: Fetches the current chess rating of a given player
parameters: type: dict
properties: player_name: type: string
description: The full name of the chess player.
variant: type: string
description: The variant of chess for which rating is requested (e.g., 'classical', 'blitz', 'bullet'). Default is 'classical'.
required: player_name
name: court_case.search
description: Retrieves details about a court case using its docket number and location.
parameters: type: dict
properties: docket_number: type: string
description: The docket number for the case.
location: type: string
description: The location where the case is registered, in the format: city, state, e.g., Dallas, TX.
full_text: type: boolean
description: Option to return the full text of the case ruling.
required: docket_number
location
name: get_event_date
description: Retrieve the date of a historical event.
parameters: type: dict
properties: event: type: string
description: The name of the historical event.
location: type: string
description: Location where the event took place. Defaults to global if not specified
required: event
name: calculate_final_speed
description: Calculate the final speed of an object dropped from a certain height without air resistance.
parameters: type: dict
properties: initial_velocity: type: integer
description: The initial velocity of the object.
height: type: integer
description: The height from which the object is dropped.
gravity: type: float
description: The gravitational acceleration. Default is 9.8 m/s^2.
required: initial_velocity
height
user: "Can you help me with a few things? First, I'm studying genetics and I came across a SNP mutation with the ID 'rs123456'. I'm not sure what type of mutation it is. Could you find out for me? The species is 'Homo sapiens'. Second, I'm planning to visit New York, NY next month (Feb) and I'm interested in attending an art exhibition, particularly one that displays sculptures. Could you find the most popular ones for me? I would prefer exhibitions with high user ratings. Lastly, I'm also studying cell biology and I need to know the list of proteins in the 'nucleus' cell compartment. Could you get that for me? And please include 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
name: mutation_type.find
description: Finds the type of a genetic mutation based on its SNP (Single Nucleotide Polymorphism) ID.
parameters: type: dict
properties: snp_id: type: string
description: The ID of the Single Nucleotide Polymorphism (SNP) mutation.
species: type: string
description: Species in which the SNP occurs, default is 'Homo sapiens' (Humans).
required: snp_id
name: find_exhibition
description: Locate the most popular exhibitions based on criteria like location, time, art form, and user ratings.
parameters: type: dict
properties: location: type: string
description: The city where the exhibition is held, e.g., New York, NY.
art_form: type: string
description: The form of art the exhibition is displaying e.g., sculpture.
month: type: string
description: The month (in full name) of exhibition.
user_ratings: type: string
enum: low
average
high
description: Select exhibitions with user rating threshold. Default is all if not specified.
required: location
art_form
month
user: You are an art curator and a part-time biologist. You have a painting in your collection that is currently 24x36 inches, painted with acrylic and has a dominant color of blue. You want to modify the painting's size to 30x40 inches, change the medium to oil, and the dominant color to red. After this, you want to predict the evolutionary rate of the African elephant species for the next 100 years using the Darwin model. 

Later in the day, you are planning a game of poker with friends and you want to calculate the probability of getting a royal flush. In a deck of 52 cards, there are 4 possible outcomes that result in a royal flush. You want the result to be rounded to 3 decimal places. 

What would be the new attributes of the painting, the predicted evolutionary rate of the African elephant, and the probability of getting a royal flush in your poker game?

Available functions:
name: prediction.evolution
description: Predict the evolutionary rate for a specific species for a given timeframe.
parameters: type: dict
properties: species: type: string
description: The species that the evolution rate will be predicted for.
years: type: integer
description: Number of years for the prediction.
model: type: string
description: The model used to make the prediction, options: 'Darwin', 'Lamarck', default is 'Darwin'.
required: species
years
name: calculate_probability
description: Calculate the probability of an event.
parameters: type: dict
properties: total_outcomes: type: integer
description: Total number of possible outcomes.
favorable_outcomes: type: integer
description: Number of outcomes considered as 'successful'.
round_to: type: integer
description: Number of decimal places to round the result to.
required: total_outcomes
favorable_outcomes
name: modify_painting
description: Modify an existing painting's attributes such as size, medium, and color.
parameters: type: dict
properties: size: type: string
description: The size of the painting in inches, width by height.
medium: type: string
description: The medium of the painting, such as oil, acrylic, etc.
dominant_color: type: string
description: The dominant color of the painting. Default is 'Blue'.
required: size
medium
user: "Imagine you are planning a vacation to Paris, France. You want to stay at the 'Hotel Le Bristol Paris' in a suite room for 10 days starting from 12-01-2022. You also have a preference for a city view from your room. How would you book this hotel? After booking, you want to know how much 1000 US dollars would be in Euros. Can you find out the latest exchange rate? On your way to the hotel, you want to stop by a Safeway store in Palo Alto, CA to pick up some items. You need to order 2 bottles of water, 3 apples, and 1 loaf of bread. How would you place this order? Lastly, you are curious about the universe and want to know how long it would take for light to travel from Earth to Proxima Centauri, which is approximately 4.24 light years away, considering the speed of light in vacuum is 299792458 m/s. Can you calculate this?"

Available functions:
name: book_hotel
description: Book a room in a specific hotel with particular preferences
parameters: type: dict
properties: hotel_name: type: string
description: The name of the hotel.
location: type: string
description: The location of the hotel.
room_type: type: string
description: The type of room preferred.
start_date: type: string
description: The starting date of the stay in format MM-DD-YYYY.
stay_duration: type: integer
description: The duration of the stay in days.
view: type: string
description: The preferred view from the room, can be ignored if no preference. If none provided, assumes no preference.
required: hotel_name
location
room_type
start_date
stay_duration
name: safeway.order
description: Order specified items from a Safeway location.
parameters: type: dict
properties: location: type: string
description: The location of the Safeway store, e.g. Palo Alto, CA.
items: type: array
items: type: string
description: List of items to order.
quantity: type: array
items: type: integer
description: Quantity of each item in the order list.
required: location
items
quantity
name: latest_exchange_rate
description: Retrieve the latest exchange rate between two specified currencies.
parameters: type: dict
properties: source_currency: type: string
description: The currency you are converting from.
target_currency: type: string
description: The currency you are converting to.
amount: type: integer
description: The amount to be converted. If omitted, default to xchange rate of 1 unit source currency.
required: source_currency
target_currency
name: light_travel_time
description: Calculate the time taken for light to travel from a celestial body to another.
parameters: type: dict
properties: distance_in_light_years: type: float
description: The distance between the two celestial bodies in light years.
speed_of_light: type: integer
description: The speed of light in vacuum, in m/s. Default value is 299792458 m/s.
required: distance_in_light_years
user: "Can you help me with a few things? First, I'm trying to calculate the area of a triangle that has a base of 12 meters and a height of 15 meters. I would like the result in square meters. Second, I'm curious about the inventor and year of invention of the 'Telephone'. Could you find that for me? Lastly, I'm planning a road trip and need directions from 'New York City' to 'Los Angeles'. I would like to avoid 'tolls' and 'highways'. Can you provide the best route for me?"

Available functions:
name: map_service.get_directions
description: Retrieve directions from a starting location to an ending location, including options for route preferences.
parameters: type: dict
properties: start: type: string
description: Starting location for the route.
end: type: string
description: Ending location for the route.
avoid: type: array
items: type: string
enum: tolls
highways
ferries
description: Route features to avoid. Default is none if not specified.
required: start
end
name: geometry.area_triangle
description: Calculate the area of a triangle.
parameters: type: dict
properties: base: type: integer
description: The length of the base of the triangle.
height: type: integer
description: The height of the triangle from the base.
unit: type: string
description: The measurement unit for the area. Defaults to square meters.
required: base
height
name: science_history.get_invention
description: Retrieve the inventor and year of invention based on the invention's name.
parameters: type: dict
properties: invention_name: type: string
description: The name of the invention.
want_year: type: boolean
description: Return the year of invention if set to true.
required: invention_name
want_year
user: "Could you help me plan a trip? I want to go to Paris for 7 days with a daily budget of $200, and I prefer exploring urban areas. Also, I'm trying to cook a dish called 'Chicken Alfredo', but I'm not sure if it fits my diet. Could you find a recipe for 'Chicken Alfredo' that has less than 800 calories? Additionally, I have a cooking measurement problem. I have a recipe that calls for 2 cups of flour, but I only have a scale. Can you convert 2 cups of flour into grams for me? Lastly, I'm doing a research project and need to run a linear regression model. The predictor variables are 'age', 'income', and 'education level', and the target variable is 'job satisfaction'. Could you also standardize the predictors for me?"

Available functions:
name: run_linear_regression
description: Build a linear regression model using given predictor variables and a target variable.
parameters: type: dict
properties: predictors: type: array
items: type: string
description: Array containing the names of predictor variables.
target: type: string
description: The name of target variable.
standardize: type: boolean
description: Option to apply standardization on the predictors. Defaults to False.
required: predictors
target
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
name: cooking_conversion.convert
description: Convert cooking measurements from one unit to another.
parameters: type: dict
properties: quantity: type: integer
description: The quantity to be converted.
from_unit: type: string
description: The unit to convert from.
to_unit: type: string
description: The unit to convert to.
item: type: string
description: The item to be converted.
required: quantity
from_unit
to_unit
item
name: find_recipe
description: Locate a recipe based on name and its calorie content
parameters: type: dict
properties: recipeName: type: string
description: The recipe's name.
maxCalories: type: integer
description: The maximum calorie content of the recipe.
required: recipeName
user: "Imagine you are considering to buy a house in San Francisco, California. The house was built in 1985, has an area of 2000 square feet and contains 4 rooms. You want to predict the price of this house. After buying the house, you also want to know about any lawsuits involving the previous owner, Mr. John Doe, in the county of San Francisco. Additionally, you are curious about the probability of winning a lottery where the total number of possible outcomes is 1000 and the number of favorable outcomes is 5. You want the result to be rounded to 3 decimal places. Can you provide the predicted house price, the lawsuits involving Mr. John Doe in San Francisco county, and the probability of winning the lottery?"

Available functions:
name: lawsuit_search
description: Retrieve all lawsuits involving a particular entity from specified jurisdiction.
parameters: type: dict
properties: entity: type: string
description: The entity involved in lawsuits.
county: type: string
description: The jurisdiction for the lawsuit search.
state: type: string
description: The state for the lawsuit search. Default is California.
required: entity
county
name: calculate_probability
description: Calculate the probability of an event.
parameters: type: dict
properties: total_outcomes: type: integer
description: Total number of possible outcomes.
favorable_outcomes: type: integer
description: Number of outcomes considered as 'successful'.
round_to: type: integer
description: Number of decimal places to round the result to.
required: total_outcomes
favorable_outcomes
name: predict_house_price
description: Predict house price based on area, number of rooms and year of construction.
parameters: type: dict
properties: area: type: integer
description: Area of the house in square feet.
rooms: type: integer
description: Number of rooms in the house.
year: type: integer
description: Year when the house was constructed.
location: type: string
description: The location or city of the house.
required: area
rooms
year
location
user: "Could you please help me with the following tasks? First, I have two groups of data points: group1 consists of [12, 15, 18, 22, 25] and group2 consists of [20, 23, 26, 29, 32]. I want to run a two-sample t-test on these groups with the assumption that they have equal variance. Second, I'm currently in Boston, MA and I'm craving for some Sushi. Could you find the closest sushi restaurant that has a Patio and Wi-Fi? Lastly, I've recently taken up painting as a hobby and I'm curious about the common personality traits associated with it. Could you retrieve the top 5 personality traits of people who enjoy painting?"

Available functions:
name: run_two_sample_ttest
description: Runs a two sample t-test for two given data groups.
parameters: type: dict
properties: group1: type: array
items: type: integer
description: First group of data points.
group2: type: array
items: type: integer
description: Second group of data points.
equal_variance: type: boolean
description: Assumption about whether the two samples have equal variance.
required: group1
group2
name: restaurant_search.find_closest
description: Locate the closest sushi restaurant based on certain criteria, such as the presence of a patio.
parameters: type: dict
properties: location: type: string
description: The city, for instance Boston, MA
cuisine: type: string
description: Type of food like Sushi.
amenities: type: array
items: type: string
enum: Patio
Wi-Fi
Happy Hour
Wheelchair Accessible
description: Preferred amenities in the restaurant. Default is none if not specified.
required: location
cuisine
name: get_personality_traits
description: Retrieve the common personality traits of people based on their hobbies or activities.
parameters: type: dict
properties: hobby: type: string
description: The hobby or activity of interest.
trait_count: type: integer
description: The number of top traits to return, default is 5
required: hobby
user: "Could you help me with a few calculations and searches? First, I'd like to calculate the area of a triangle with a base of 15 meters and a height of 20 meters, and I'd like the result in square meters. Then, I have two datasets that I'd like to compare statistically. The first dataset consists of the numbers 12, 15, 18, 20, 22, and 25, and the second dataset consists of the numbers 14, 16, 19, 21, 23, and 26. I'd like to perform a t-test with a significance level of 0.05. After that, I'm interested in finding upcoming rock concerts in Los Angeles, CA for the next 14 days. Lastly, I'd like to calculate the area of another triangle, this time with a base of 10 meters and a height of 30 meters, and again, I'd like the result in square meters."

Available functions:
name: t_test
description: Perform a statistical t-test to check if the means of two independent datasets are statistically different.
parameters: type: dict
properties: dataset_A: type: array
items: type: integer
description: Dataset A for comparison.
dataset_B: type: array
items: type: integer
description: Dataset B for comparison.
alpha: type: float
description: Significance level for the test. Default is 0.05.
required: dataset_A
dataset_B
name: geometry.area_triangle
description: Calculate the area of a triangle.
parameters: type: dict
properties: base: type: integer
description: The length of the base of the triangle.
height: type: integer
description: The height of the triangle from the base.
unit: type: string
description: The measurement unit for the area. Defaults to square meters.
required: base
height
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: "Could you help me with a few tasks? First, I'm interested in a company's financials. I'd like to know the quarterly dividend per share for a company that has a total dividend payout of $1,000,000 and 500,000 outstanding shares. Second, I'm a big fan of the Beatles and I'd like to know the lyrics of their song 'Hey Jude'. Third, I'm planning to watch a movie tonight and I'm considering 'The Godfather'. Could you provide a brief about this movie and also include additional information like Director, Cast, Awards etc.? Lastly, I'm doing a painting and I'd like to mix the colors red and blue, and I want the resulting color to have a lightness level of 70%."

Available functions:
name: get_song_lyrics
description: Retrieve the lyrics of a song based on the artist's name and song title.
parameters: type: dict
properties: song_title: type: string
description: The title of the song.
artist_name: type: string
description: The name of the artist who performed the song.
lang: type: string
description: The language of the lyrics. Default is English.
enum: English
French
Spanish
German
Italian
required: song_title
artist_name
name: mix_paint_color
description: Combine two primary paint colors and adjust the resulting color's lightness level.
parameters: type: dict
properties: color1: type: string
description: The first primary color to be mixed.
color2: type: string
description: The second primary color to be mixed.
lightness: type: integer
description: The desired lightness level of the resulting color in percentage. The default level is set to 50.
required: color1
color2
name: finance.calculate_quarterly_dividend_per_share
description: Calculate quarterly dividend per share for a company given total dividend payout and outstanding shares
parameters: type: dict
properties: total_payout: type: integer
description: The total amount of dividends paid out in USD
outstanding_shares: type: integer
description: Total number of outstanding shares
required: total_payout
outstanding_shares
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 help me plan my week? I'm interested in attending a jazz event in San Francisco, CA within the next 5 days. Also, I heard about a lawsuit involving Apple Inc. that was filed in California after January 1, 2020, can you find the status of that for me? Lastly, I need to do some shopping at Walmart, can you tell me the total price for 2 bottles of olive oil, 3 bags of rice, and 4 cans of beans at the Walmart in San Jose, CA?"

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
name: lawsuit_search
description: Search for lawsuits related to a specific company within a specific date range and location.
parameters: type: dict
properties: company: type: string
description: The company related to the lawsuit.
start_date: type: string
description: Start of the date range for when the lawsuit was filed.
location: type: string
description: Location where the lawsuit was filed.
status: type: string
enum: ongoing
settled
dismissed
description: The status of the lawsuit. Default is 'ongoing'.
required: company
start_date
location
name: walmart.check_price
description: Calculate total price for given items and their quantities at Walmart.
parameters: type: dict
properties: items: type: array
items: type: string
description: List of items to be priced.
quantities: type: array
items: type: integer
description: Quantity of each item corresponding to the items list.
store_location: type: string
description: The store location for specific pricing (optional). Default is 'San Francisco, CA'.
required: items
quantities
user: "In the game 'Animal Crossing' during the 'Summer' season, can you find out what types of 'fish' are collectable? After that, can you tell me the highest score achieved by any player in the game 'Fortnite' on 'Playstation' platform in the 'Asia' region? Then, I would like to know the details of lawsuits involving the company 'Apple Inc.' in the year 2018. Lastly, could you calculate the binomial probability for 10 trials, with 3 successes and a probability of success of 0.7 on an individual trial?"

Available functions:
name: lawsuit_details.find
description: Find details of lawsuits involving a specific company from a given year.
parameters: type: dict
properties: company_name: type: string
description: Name of the company.
year: type: integer
description: Year of the lawsuit.
case_type: type: string
description: Type of the lawsuit, e.g., 'IPR', 'Patent', 'Commercial', etc. This is an optional parameter. Default is all if not specified.
required: company_name
year
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
name: game_score.highest
description: Retrieve the highest score achieved by any player in a specific game.
parameters: type: dict
properties: game: type: string
description: The name of the online game.
platform: type: string
description: The platform where the game is played, e.g. PC, Xbox, Playstation
region: type: string
description: The geographic region of the player. Defaults to 'Global'
required: game
platform
name: get_collectables_in_season
description: Retrieve a list of collectable items in a specific game during a specified season.
parameters: type: dict
properties: game_name: type: string
description: Name of the game.
season: type: string
description: The season for which to retrieve the collectable items.
item_type: type: string
description: The type of item to search for. Default is 'all'. Possible values: 'all', 'bug', 'fish', 'sea creatures', etc.
required: game_name
season
user: "Could you help me with a two-part request? First, I'd like to know if there were any lawsuits filed against the company 'TechCorp' in the location 'San Francisco' in the year 2018, specifically civil cases. Secondly, I'm planning a trip and need to check the availability of Hilton hotels in 'New York City' for the check-in date '2022-10-15' and check-out date '2022-10-20' for 2 adults. Could you assist me with these?"

Available functions:
name: hilton_hotel.check_availability
description: Check hotel availability for a specific location and time frame.
parameters: type: dict
properties: location: type: string
description: The city where you want to check hotel availability.
check_in_date: type: string
description: The check-in date in the format YYYY-MM-DD.
check_out_date: type: string
description: The check-out date in the format YYYY-MM-DD.
no_of_adults: type: integer
description: The number of adults for the hotel booking.
hotel_chain: type: string
description: The hotel chain where you want to book the hotel.
required: location
check_in_date
check_out_date
no_of_adults
name: lawsuits_search
description: Search for lawsuits against a specific company within a specific time and location.
parameters: type: dict
properties: company_name: type: string
description: The name of the company.
location: type: string
description: The location where the lawsuit was filed.
year: type: integer
description: The year when the lawsuit was filed.
case_type: type: string
description: The type of the case. Options include: 'civil', 'criminal', 'small_claims', etc. If not specified, default to search for all types.
required: company_name
location
year
user: "Could you please tell me the latest game score, individual player stats, and team stats for the basketball team 'Los Angeles Lakers' in the 'NBA' league? Also, I would like to know the same information but this time for the football team 'Manchester United' in the 'Premier League'. Additionally, could you provide me with a 5-day humidity forecast for New York, ensuring that the minimum humidity level is 60%? Lastly, I would also like to know the humidity forecast for the next 7 days in London, but without any minimum humidity level filter."

Available functions:
name: weather.humidity_forecast
description: Retrieve a humidity forecast for a specific location and time frame.
parameters: type: dict
properties: location: type: string
description: The city that you want to get the humidity for.
days: type: integer
description: Number of days for the forecast.
min_humidity: type: integer
description: Minimum level of humidity (in percentage) to filter the result. Default is 0.
required: location
days
name: get_team_score
description: Retrieves the latest game score, individual player stats, and team stats for a specified sports team.
parameters: type: dict
properties: team_name: type: string
description: The name of the sports team.
league: type: string
description: The league that the team is part of.
include_player_stats: type: boolean
description: Indicates if individual player statistics should be included in the result. Default is false.
required: team_name
league
user: "Imagine you are playing a role-playing game and you want to create a new player profile. You decided to name your character 'DragonSlayer' and choose 'Warrior' as your class. You also want to start at level 5. After setting up your profile, you want to take a break and find a nearby concert to attend. You are currently in 'New York, NY' and you want to find a concert that plays 'Rock' music. Later in the evening, you decide to play a game of poker with a standard deck of 52 cards and a hand size of 5. What is the probability of getting a full house? The next day, you decide to go on a hike and you want to calculate the slope gradient between two geographical coordinates. The first point is [40.7128, -74.0060] (New York, NY) and the second point is [34.0522, -118.2437] (Los Angeles, CA). You want the slope gradient in 'degree'. Can you provide the information for all these scenarios?"

Available functions:
name: poker_probability.full_house
description: Calculate the probability of getting a full house in a poker game.
parameters: type: dict
properties: deck_size: type: integer
description: The size of the deck. Default is 52.
hand_size: type: integer
description: The size of the hand. Default is 5.
required: deck_size
hand_size
name: calculate_slope_gradient
description: Calculate the slope gradient between two geographical coordinates.
parameters: type: dict
properties: point1: type: array
items: type: float
description: The geographic coordinates for the first point [Latitude, Longitude].
point2: type: array
items: type: float
description: The geographic coordinates for the second point [Latitude, Longitude].
unit: type: string
enum: degree
percent
ratio
description: The unit for the slope gradient. Default is 'degree'.
required: point1
point2
name: concert.find_nearby
description: Locate nearby concerts based on specific criteria like genre.
parameters: type: dict
properties: location: type: string
description: The city and state, e.g. Seattle, WA
genre: type: string
description: Genre of music to be played at the concert.
required: location
genre
name: create_player_profile
description: Create a new player profile with character name, class and starting level.
parameters: type: dict
properties: player_name: type: string
description: The desired name of the player.
class_type: type: string
description: The character class for the player. Default ''
starting_level: type: integer
description: The starting level for the player
required: player_name
class_type
user: "Could you help me with a few tasks? First, I'd like to book a hotel room at the 'Hilton' in 'Los Angeles, CA' from '2022-05-01' to '2022-05-10' and I need '2' rooms. Second, I'm curious about the time difference between 'New York, NY' and 'Los Angeles, CA'. Third, I've been trying to keep track of my health and I'd like to calculate my Body Mass Index (BMI). I weigh '75' kilograms and I'm '180' centimeters tall, and I'd like to use the 'metric' system. Lastly, I've written a piece of text in 'English' and I'd like to perform a sentiment analysis on it. The text is 'I had a wonderful day at the beach. The weather was perfect and I enjoyed a delicious ice cream.' Can you assist me with these?"

Available functions:
name: calculate_bmi
description: Calculate the Body Mass Index (BMI) for a person based on their weight and height.
parameters: type: dict
properties: weight: type: integer
description: The weight of the person in kilograms.
height: type: integer
description: The height of the person in centimeters.
system: type: string
description: The system of units to be used, 'metric' or 'imperial'. Default is 'metric'.
required: weight
height
name: hotel_booking
description: Books a hotel room for a specific date range.
parameters: type: dict
properties: hotel_name: type: string
description: The name of the hotel.
location: type: string
description: The city and state, e.g. New York, NY.
start_date: type: string
description: The start date of the reservation. Use format 'YYYY-MM-DD'.
end_date: type: string
description: The end date of the reservation. Use format 'YYYY-MM-DD'.
rooms: type: integer
description: The number of rooms to reserve.
required: hotel_name
location
start_date
end_date
name: sentiment_analysis
description: Perform sentiment analysis on a given piece of text.
parameters: type: dict
properties: text: type: string
description: The text on which to perform sentiment analysis.
language: type: string
description: The language in which the text is written.
required: text
language
name: get_time_difference
description: Get the time difference between two places.
parameters: type: dict
properties: place1: type: string
description: The first place for time difference.
place2: type: string
description: The second place for time difference.
required: place1
place2
user: "Can you help me with a few things? First, I need to update my user information in the CustomerInfo database. My user ID is 12345, and I want to change my name to John Doe and my email to johndoe@example.com. Second, I'm curious about the last match played by the soccer club Manchester United, and I'd like to know the match statistics as well. Third, I'm doing a history project and need to know who the U.S. president was in the year 1980, and I'd like the full name with middle initial if applicable. Lastly, I'm playing a card game and need to find the Ace of Spades in a standard 52 card deck. Can you assist with these?"

Available functions:
name: find_card_in_deck
description: Locate a particular card in a deck based on rank and suit.
parameters: type: dict
properties: rank: type: string
description: Rank of the card (e.g. Ace, Two, King).
suit: type: string
description: Suit of the card (e.g. Hearts, Spades, Diamonds, Clubs).
deck: type: array
items: type: dict
properties: rank: type: string
suit: type: string
description: Deck of cards. If not provided, the deck will be default to an empty array
required: rank
suit
name: soccer.get_last_match
description: Retrieve the details of the last match played by a specified soccer club.
parameters: type: dict
properties: team_name: type: string
description: The name of the soccer club.
include_stats: type: boolean
description: If true, include match statistics like possession, shots on target etc. Default is false.
required: team_name
name: US_president.in_year
description: Retrieve the name of the U.S. president in a given year.
parameters: type: dict
properties: year: type: integer
description: The year in question.
full_name: type: boolean
description: Option to return full name with middle initial, if applicable.
required: year
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: "Imagine you are a musician who also loves to paint and is interested in probability. You are planning to paint a wall in your house that is 12 feet in length and 8 feet in height. You have chosen a specific paint brand that can cover 350 square feet with one gallon of paint. How many gallons of paint would you need? After painting, you want to compose a song. You are thinking of composing it in the key of 'D'. What would be the musical scale for this key if you choose a 'minor' scale type? Also, you are curious about the binomial distribution. If you were to conduct 20 independent experiments with a success probability of 0.6, what is the probability of having exactly 10 successes?"

Available functions:
name: musical_scale
description: Get the musical scale of a specific key in music theory.
parameters: type: dict
properties: key: type: string
description: The musical key for which the scale will be found.
scale_type: type: string
description: The type of musical scale.
required: key
name: calculate_paint_needed
description: Calculate the amount of paint needed to cover a surface area based on the coverage rate of a specific paint brand.
parameters: type: dict
properties: coverage_rate: type: integer
description: The area in square feet that one gallon of paint can cover.
length: type: integer
description: Length of the wall to be painted in feet.
height: type: integer
description: Height of the wall to be painted in feet.
required: coverage_rate
length
height
name: prob_dist.binomial
description: Compute the probability of having 'success' outcome from binomial distribution.
parameters: type: dict
properties: trials: type: integer
description: The number of independent experiments.
successes: type: integer
description: The number of success events.
p: type: float
description: The probability of success on any given trial, defaults to 0.5
required: trials
successes
user: "Could you first calculate the probability of drawing a heart from a deck of 52 cards where there are 13 hearts, and then calculate the probability of drawing a queen from the same deck where there are 4 queens? After that, could you retrieve the most recent artwork by the artist named 'Pablo Picasso' with a detailed description? Finally, could you locate the most popular sculpture exhibitions in New York, NY that are happening in the month of December and have high user ratings?"

Available functions:
name: get_sculpture_info
description: Retrieves the most recent artwork by a specified artist with its detailed description.
parameters: type: dict
properties: artist_name: type: string
description: The name of the artist.
detail: type: boolean
description: If True, it provides detailed description of the sculpture. Defaults to False.
required: artist_name
name: find_exhibition
description: Locate the most popular exhibitions based on criteria like location, time, art form, and user ratings.
parameters: type: dict
properties: location: type: string
description: The city where the exhibition is held, e.g., New York, NY.
art_form: type: string
description: The form of art the exhibition is displaying e.g., sculpture.
month: type: string
description: The month of exhibition. Default value will return upcoming events.
user_ratings: type: string
enum: low
average
high
description: Select exhibitions with user rating threshold. Default is 'average'.
required: location
art_form
name: card_game_probability.calculate
description: Calculate the probability of drawing a certain card or suit from a deck of cards.
parameters: type: dict
properties: total_cards: type: integer
description: Total number of cards in the deck.
desired_cards: type: integer
description: Number of cards in the deck that satisfy the conditions.
cards_drawn: type: integer
description: Number of cards drawn from the deck.
required: total_cards
desired_cards
user: " I'm trying to figure out the RGB values of the color 'Cerulean' based on the 'pantone' standard. Secondly, I'm interested in buying a used 'Fender Stratocaster' guitar in 'Good' condition, being sold in 'Los Angeles'. Could you find out the price for me? Lastly, I'm organizing a chess tournament in 'New York' and I'm looking for top players to invite. Could you find the top 15 players with a minimum rating of 2200 for me?"

Available functions:
name: guitar_price.find
description: Retrieve the price of a specific used guitar model based on its condition and location.
parameters: type: dict
properties: model: type: string
description: The model of the guitar.
condition: type: string
enum: Poor
Good
Excellent
description: The condition of the guitar.
location: type: string
description: The location where the guitar is being sold.
required: model
condition
location
name: board_game.chess.get_top_players
description: Find top chess players in a location based on rating.
parameters: type: dict
properties: location: type: string
description: The city you want to find the players from.
minimum_rating: type: integer
description: Minimum rating to filter the players.
number_of_players: type: integer
description: Number of players you want to retrieve, default value is 10
required: location
minimum_rating
name: identify_color_rgb
description: This function identifies the RGB values of a named color.
parameters: type: dict
properties: color_name: type: string
description: Name of the color.
standard: type: string
description: The color standard (e.g. basic, pantone). Default is 'basic'
required: color_name
user: "Could you please help me with the following tasks? First, I would like to know the top 5 defence ranking NBA teams from the 2018 season. Second, I have a list of numbers [23, 45, 12, 89, 34, 67, 29] that I need to be sorted in descending order. Lastly, I am curious about the Compound Annual Growth Rate (CAGR) of an investment I made. The initial investment value was $5000, the final investment value turned out to be $15000, and the period of the investment was 7 years. Could you calculate this for me?"

Available functions:
name: calculate_cagr
description: Calculate the Compound Annual Growth Rate (CAGR) given an initial investment value, a final investment value, and the number of years.
parameters: type: dict
properties: initial_value: type: integer
description: The initial investment value.
final_value: type: integer
description: The final investment value.
period_in_years: type: integer
description: The period of the investment in years.
required: initial_value
final_value
period_in_years
name: get_defense_ranking
description: Retrieve the defence ranking of NBA teams in a specified season.
parameters: type: dict
properties: season: type: integer
description: The NBA season to get defence ranking from.
top: type: integer
description: Number of top teams in defence ranking to fetch.
required: season
name: array_sort
description: Sorts a given list in ascending or descending order.
parameters: type: dict
properties: list: type: array
items: type: float
description: The list of numbers to be sorted.
order: type: string
enum: ascending
descending
description: Order of sorting. If not specified, it will default to ascending.
required: list
order
user: "Could you help me with a few calculations and searches? First, I'm studying probability and I'd like to calculate the binomial probability for a scenario where I have 20 trials, and I'm interested in 5 successful outcomes. Let's assume the probability of success on any given trial is 0.25. Secondly, I'm a big fan of basketball and I'm curious to know who the top female player is currently. Thirdly, I'm planning to buy a guitar and my budget is $500. I prefer a Fender make. Lastly, I'm working on a physics problem where I need to calculate the electromagnetic force between two charges. The first charge is 2 coulombs, the second charge is 3 coulombs and they are placed 0.5 meters apart. Could you help me with these?"

Available functions:
name: sports_ranking.get_top_player
description: Get the top player in a specific sport.
parameters: type: dict
properties: sport: type: string
description: The type of sport.
gender: type: string
description: The gender of the sport category. Optional.
required: sport
name: electromagnetic_force
description: Calculate the electromagnetic force between two charges placed at a certain distance.
parameters: type: dict
properties: charge1: type: integer
description: The magnitude of the first charge in coulombs.
charge2: type: integer
description: The magnitude of the second charge in coulombs.
distance: type: float
description: The distance between the two charges in meters.
medium_permittivity: type: float
description: The relative permittivity of the medium in which the charges are present, in F/m. Default is 8.854e-12 (vacuum permittivity).
required: charge1
charge2
distance
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
name: find_instrument
description: Search for a musical instrument within specified budget and of specific type.
parameters: type: dict
properties: budget: type: integer
description: Your budget for the instrument.
type: type: string
description: Type of the instrument
make: type: string
description: Maker of the instrument, Optional parameter. Default to not use it if not provided.
required: budget
type