Datasets:
id stringlengths 13 15 | question listlengths 1 1 | function listlengths 1 1 |
|---|---|---|
irrelevance_0 | [
[
{
"role": "user",
"content": "Calcula a área de um triângulo, sabendo que a base é de 10 metros e a altura é de 5 metros."
}
]
] | [
{
"name": "determine_body_mass_index",
"description": "Calculate body mass index given weight and height.",
"parameters": {
"type": "dict",
"properties": {
"weight": {
"type": "float",
"description": "Weight of the individual in kilograms."
},
"hei... |
irrelevance_1 | [
[
{
"role": "user",
"content": "Resolve a equação quadrática com os coeficientes a = 1, b = 2 e c = 3."
}
]
] | [
{
"name": "math.sum",
"description": "Compute the sum of all numbers in a list.",
"parameters": {
"type": "dict",
"properties": {
"numbers": {
"type": "array",
"items": {
"type": "float"
},
"description": "The list of numbers to be ... |
irrelevance_2 | [
[
{
"role": "user",
"content": "Resolve as raízes da equação 3x^2 - 2x - 5."
}
]
] | [
{
"name": "distance_calculator.calculate",
"description": "Calculate the distance between two geographical coordinates.",
"parameters": {
"type": "dict",
"properties": {
"coordinate_1": {
"type": "array",
"items": {
"type": "float"
},
... |
irrelevance_3 | [
[
{
"role": "user",
"content": "Qual é a inclinação da reta que é perpendicular à reta com a equação y = 3x + 2?"
}
]
] | [
{
"name": "find_critical_points",
"description": "Finds the critical points of the function.",
"parameters": {
"type": "dict",
"properties": {
"function": {
"type": "string",
"description": "The function to find the critical points for."
},
"variab... |
irrelevance_4 | [
[
{
"role": "user",
"content": "Quais são as raízes da equação linear bx + c = 0?"
}
]
] | [
{
"name": "find_roots",
"description": "Find the roots of a quadratic equation ax^2 + bx + c = 0.",
"parameters": {
"type": "dict",
"properties": {
"a": {
"type": "float",
"description": "Coefficient of x^2."
},
"b": {
"type": "float",
... |
irrelevance_5 | [
[
{
"role": "user",
"content": "Qual é o perímetro de um retângulo com 5 metros de comprimento e 4 metros de largura?"
}
]
] | [
{
"name": "solve_quadratic_equation",
"description": "Solves a quadratic equation and returns the possible solutions.",
"parameters": {
"type": "dict",
"properties": {
"a": {
"type": "float",
"description": "Coefficient of the x-squared term in the quadratic equat... |
irrelevance_6 | [
[
{
"role": "user",
"content": "Qual é a área de um retângulo que tem 5m de largura e 7m de comprimento?"
}
]
] | [
{
"name": "draw_circle",
"description": "Draw a circle based on the radius provided.",
"parameters": {
"type": "dict",
"properties": {
"radius": {
"type": "float",
"description": "The radius of the circle."
},
"unit": {
"type": "string",
... |
irrelevance_7 | [
[
{
"role": "user",
"content": "Qual é a área sob a curva da função f(x) = 3x^2 de x = 1 a x = 5?"
}
]
] | [
{
"name": "math.integral_calculator",
"description": "Calculate the definite integral of a mathematical function over a specific interval.",
"parameters": {
"type": "dict",
"properties": {
"function": {
"type": "string",
"description": "The mathematical function w... |
irrelevance_8 | [
[
{
"role": "user",
"content": "Encontra a integral de x^3 de 1 a 5"
}
]
] | [
{
"name": "str_to_int",
"description": "Converts string value to integer.",
"parameters": {
"type": "dict",
"properties": {
"value": {
"type": "string",
"description": "String value to be converted to integer"
}
},
"required": [
"value"... |
irrelevance_9 | [
[
{
"role": "user",
"content": "Encontra a integral definida de f(x)=x^2 de x=1 a x=3."
}
]
] | [
{
"name": "CalculateTax",
"description": "Calculate the income tax based on the annual income, tax rate, and other deductions.",
"parameters": {
"type": "dict",
"properties": {
"annual_income": {
"type": "float",
"description": "The annual income of the person."
... |
irrelevance_10 | [
[
{
"role": "user",
"content": "Calcula a derivada da função '2x' no ponto 1."
}
]
] | [
{
"name": "calculus.compute_definite_integral",
"description": "Compute the definite integral of a function within a given interval.",
"parameters": {
"type": "dict",
"properties": {
"function": {
"type": "string",
"description": "The function to be integrated."
... |
irrelevance_11 | [
[
{
"role": "user",
"content": "Qual é o número inteiro mais próximo de 30?"
}
]
] | [
{
"name": "get_closest_prime",
"description": "Retrieve the closest prime number that is lesser than a given number.",
"parameters": {
"type": "dict",
"properties": {
"number": {
"type": "integer",
"description": "The number which will serve as the upper limit to ... |
irrelevance_12 | [
[
{
"role": "user",
"content": "Encontra a rota mais rápida de Nova Iorque para Boston."
}
]
] | [
{
"name": "prime_numbers_in_range",
"description": "Find all the prime numbers within a certain numeric range.",
"parameters": {
"type": "dict",
"properties": {
"start": {
"type": "integer",
"description": "The start of the numeric range."
},
"end"... |
irrelevance_13 | [
[
{
"role": "user",
"content": "Calcula os fatores primos de 100."
}
]
] | [
{
"name": "calculate_compound_interest",
"description": "Calculate the compound interest for a given principal amount, rate, time and compounding frequency.",
"parameters": {
"type": "dict",
"properties": {
"principal_amount": {
"type": "float",
"description": "Th... |
irrelevance_14 | [
[
{
"role": "user",
"content": "Qual é a aceleração que uma bola atingirá se for lançada verticalmente para cima com uma velocidade de 5 m/s?"
}
]
] | [
{
"name": "calculate_maximum_height",
"description": "Calculate the maximum height an object will reach if it's thrown straight upwards with an initial velocity, ignoring air resistance.",
"parameters": {
"type": "dict",
"properties": {
"initial_velocity": {
"type": "float"... |
irrelevance_15 | [
[
{
"role": "user",
"content": "Quais são os lançamentos de cinema mais recentes?"
}
]
] | [
{
"name": "calculate_velocity",
"description": "Calculate the final velocity of an object in motion given its initial velocity, acceleration and time.",
"parameters": {
"type": "dict",
"properties": {
"initial_velocity": {
"type": "float",
"description": "The init... |
irrelevance_16 | [
[
{
"role": "user",
"content": "Qual a distância que um carro percorrerá no tempo 't' quando lançado com a velocidade 'v' num ângulo 'theta'?"
}
]
] | [
{
"name": "calculate_projectile_range",
"description": "Calculate the range of a projectile launched at an angle with initial velocity, using the kinematic equation.",
"parameters": {
"type": "dict",
"properties": {
"initial_velocity": {
"type": "float",
"descript... |
irrelevance_17 | [
[
{
"role": "user",
"content": "Que horas são agora?"
}
]
] | [
{
"name": "calculate_time",
"description": "Calculates the time taken to cover a distance at a certain speed.",
"parameters": {
"type": "dict",
"properties": {
"distance": {
"type": "float",
"description": "The distance to be covered in meters."
},
... |
irrelevance_18 | [
[
{
"role": "user",
"content": "Como é que encontro o ângulo da força para um determinado momento?"
}
]
] | [
{
"name": "calculate_vector_angle",
"description": "Calculate the angle of a vector based on its X and Y components.",
"parameters": {
"type": "dict",
"properties": {
"X_component": {
"type": "float",
"description": "The X component of the vector."
},
... |
irrelevance_19 | [
[
{
"role": "user",
"content": "Encontra o volume de um cone com raio da base de 3 cm e altura de 5 cm."
}
]
] | [
{
"name": "investment_calculator.calculate_return",
"description": "Calculate the return of an investment after a specific duration.",
"parameters": {
"type": "dict",
"properties": {
"initial_investment": {
"type": "float",
"description": "The initial investment a... |
irrelevance_20 | [
[
{
"role": "user",
"content": "Encontra a duração do voo entre Los Angeles e Miami."
}
]
] | [
{
"name": "currency_converter",
"description": "Converts a value from one currency to another.",
"parameters": {
"type": "dict",
"properties": {
"base_currency": {
"type": "string",
"description": "The base currency you want to convert from."
},
"t... |
irrelevance_21 | [
[
{
"role": "user",
"content": "Qual é o campo magnético num ponto a 4m de distância de um fio que transporta uma corrente de 2A?"
}
]
] | [
{
"name": "calculate_wave_amplitude",
"description": "Calculate the amplitude of an electromagnetic wave based on its maximum electric field strength.",
"parameters": {
"type": "dict",
"properties": {
"max_electric_field_strength": {
"type": "float",
"description"... |
irrelevance_22 | [
[
{
"role": "user",
"content": "Qual é o campo magnético num ponto localizado a uma distância 'r' de um fio que transporta uma corrente 'I'?"
}
]
] | [
{
"name": "magnetic_field_intensity",
"description": "Calculates the magnetic field intensity at a point located at a given distance from a current carrying wire",
"parameters": {
"type": "dict",
"properties": {
"current": {
"type": "float",
"description": "The cu... |
irrelevance_23 | [
[
{
"role": "user",
"content": "Qual é a massa de um eletrão?"
}
]
] | [
{
"name": "calculate_magnetic_field",
"description": "Calculate the magnetic field at a certain distance from a straight wire carrying current using Ampere’s Law.",
"parameters": {
"type": "dict",
"properties": {
"current": {
"type": "float",
"description": "The c... |
irrelevance_24 | [
[
{
"role": "user",
"content": "Qual é a massa de um eletrão?"
}
]
] | [
{
"name": "calculate_current",
"description": "Calculate the electric current by giving the voltage and resistance.",
"parameters": {
"type": "dict",
"properties": {
"voltage": {
"type": "float",
"description": "The electric voltage in volts."
},
"... |
irrelevance_25 | [
[
{
"role": "user",
"content": "Qual é o ponto de congelação da água a uma pressão de 10 kPa?"
}
]
] | [
{
"name": "thermodynamics.calculate_boiling_point",
"description": "Calculate the boiling point of a given substance at a specific pressure.",
"parameters": {
"type": "dict",
"properties": {
"substance": {
"type": "string",
"description": "The substance for which ... |
irrelevance_26 | [
[
{
"role": "user",
"content": "Quanto gás é gerado ao aquecer uma câmara fechada de 2 m³ com ar a uma temperatura de 25 °C para 100 °C?"
}
]
] | [
{
"name": "thermodynamics.calc_gas_pressure",
"description": "Calculate gas pressure in a closed chamber due to heating",
"parameters": {
"type": "dict",
"properties": {
"volume": {
"type": "float",
"description": "The volume of the chamber in cubic meters."
... |
irrelevance_27 | [
[
{
"role": "user",
"content": "Qual será a energia necessária para aumentar a temperatura de 3 kg de água em 4 graus Celsius?"
}
]
] | [
{
"name": "calculate_heat",
"description": "Calculate the heat required to raise the temperature of a substance using its specific heat.",
"parameters": {
"type": "dict",
"properties": {
"mass": {
"type": "float",
"description": "The mass of the substance in kilog... |
irrelevance_28 | [
[
{
"role": "user",
"content": "Quantos lados tem um hexágono?"
}
]
] | [
{
"name": "calculate_boiling_point",
"description": "Calculate the boiling point of a given substance at a given pressure.",
"parameters": {
"type": "dict",
"properties": {
"substance": {
"type": "string",
"description": "The chemical name of the substance."
... |
irrelevance_29 | [
[
{
"role": "user",
"content": "Identifica o número de mitocôndrias numa célula."
}
]
] | [
{
"name": "get_cell_function",
"description": "Get the information about cell functions based on its part.",
"parameters": {
"type": "dict",
"properties": {
"cell_part": {
"type": "string",
"description": "The part of the cell, e.g. mitochondria"
},
... |
irrelevance_30 | [
[
{
"role": "user",
"content": "Qual é o nome de um tipo de célula que tem múltiplos núcleos?"
}
]
] | [
{
"name": "bloodcell_classification",
"description": "Identify and categorize different types of blood cells based on given attributes.",
"parameters": {
"type": "dict",
"properties": {
"cell_shape": {
"type": "string",
"description": "The shape of the cell, e.g. ... |
irrelevance_31 | [
[
{
"role": "user",
"content": "Encontra o restaurante favorito em Londres."
}
]
] | [
{
"name": "cell.divide",
"description": "Simulate the division of a cell into two daughter cells.",
"parameters": {
"type": "dict",
"properties": {
"cell_id": {
"type": "string",
"description": "The unique ID of the parent cell."
},
"method": {
... |
irrelevance_32 | [
[
{
"role": "user",
"content": "Identifica o tipo de células sanguíneas responsáveis pela coagulação."
}
]
] | [
{
"name": "cellBiology.getCellType",
"description": "This function will return the type of the cell based on it's characteristics.",
"parameters": {
"type": "dict",
"properties": {
"nucleus_count": {
"type": "integer",
"description": "The number of nucleus in the ... |
irrelevance_33 | [
[
{
"role": "user",
"content": "Identifica a sequência do código genético \"ATCG\"."
}
]
] | [
{
"name": "identify_species",
"description": "Identifies the species of an organism based on its genetic code sequence.",
"parameters": {
"type": "dict",
"properties": {
"sequence": {
"type": "string",
"description": "A genetic code sequence."
},
"... |
irrelevance_34 | [
[
{
"role": "user",
"content": "Qual é o traço genético dominante de um leão?"
}
]
] | [
{
"name": "genetics.get_variant_frequency",
"description": "Retrieve the frequency of a gene variant in a specific population.",
"parameters": {
"type": "dict",
"properties": {
"variant_id": {
"type": "string",
"description": "The id of the gene variant."
... |
irrelevance_35 | [
[
{
"role": "user",
"content": "Qual é o processo de acasalamento dos leões?"
}
]
] | [
{
"name": "get_genetic_traits",
"description": "Retrieve the dominant and recessive genetic traits for a given species.",
"parameters": {
"type": "dict",
"properties": {
"species": {
"type": "string",
"description": "The species to retrieve the genetic traits for.... |
irrelevance_36 | [
[
{
"role": "user",
"content": "Qual é a frequência da variante genética rs7412 na população europeia?"
}
]
] | [
{
"name": "get_dominant_trait",
"description": "Calculate the dominant genetic trait of an organism based on its genetic makeup.",
"parameters": {
"type": "dict",
"properties": {
"allele1": {
"type": "string",
"description": "The first allele of the organism."
... |
irrelevance_37 | [
[
{
"role": "user",
"content": "Encontra um local para um piquenique em Miami."
}
]
] | [
{
"name": "local_fauna",
"description": "Get information about fauna in a specified region.",
"parameters": {
"type": "dict",
"properties": {
"location": {
"type": "string",
"description": "The region or area to find information about."
},
"species... |
irrelevance_38 | [
[
{
"role": "user",
"content": "Encontra-me um documentário sobre o aquecimento global."
}
]
] | [
{
"name": "retrieve_scientific_paper",
"description": "Fetches the details of scientific research paper based on its topic.",
"parameters": {
"type": "dict",
"properties": {
"topic": {
"type": "string",
"description": "Topic of the research paper"
},
... |
irrelevance_39 | [
[
{
"role": "user",
"content": "Como aumentar a população de veados numa floresta?"
}
]
] | [
{
"name": "calculate_population_growth",
"description": "Calculate the population growth of an animal based on the current population, birth rate and death rate.",
"parameters": {
"type": "dict",
"properties": {
"current_population": {
"type": "integer",
"descript... |
irrelevance_40 | [
[
{
"role": "user",
"content": "Como está a qualidade do ar em Los Angeles neste momento?"
}
]
] | [
{
"name": "plant_biomass",
"description": "Calculate the biomass of a plant species in a given area.",
"parameters": {
"type": "dict",
"properties": {
"species_name": {
"type": "string",
"description": "The name of the plant species."
},
"area": {
... |
irrelevance_41 | [
[
{
"role": "user",
"content": "Qual é o ancestral comum do leão e da zebra?"
}
]
] | [
{
"name": "calculate_fibonacci_sequence",
"description": "Calculates fibonacci sequence up to a specified limit.",
"parameters": {
"type": "dict",
"properties": {
"limit": {
"type": "integer",
"description": "The upper limit of the fibonacci sequence to be calcula... |
irrelevance_42 | [
[
{
"role": "user",
"content": "Qual é a história evolutiva dos pandas?"
}
]
] | [
{
"name": "calculate_biodiversity_index",
"description": "Calculate the biodiversity index of a specific environment or biome using species richness and species evenness.",
"parameters": {
"type": "dict",
"properties": {
"species_richness": {
"type": "integer",
"d... |
irrelevance_43 | [
[
{
"role": "user",
"content": "Como posso aplicar Algoritmos Evolutivos na Inteligência Artificial de jogos?"
}
]
] | [
{
"name": "evolve_creatures",
"description": "Apply the Evolutionary Algorithm to improve the creatures in a simulation over generations.",
"parameters": {
"type": "dict",
"properties": {
"population_size": {
"type": "integer",
"description": "The initial size of ... |
irrelevance_44 | [
[
{
"role": "user",
"content": "Qual é a sequência genética para as alterações evolutivas nas baleias?"
}
]
] | [
{
"name": "gene_sequencer",
"description": "Generate possible gene sequences to see evolutionary changes",
"parameters": {
"type": "dict",
"properties": {
"species": {
"type": "string",
"description": "The species whose gene sequence you want to create."
}... |
irrelevance_45 | [
[
{
"role": "user",
"content": "Calcula o seno de 45 graus."
}
]
] | [
{
"name": "create_polygon",
"description": "Create a polygon shape with given vertices.",
"parameters": {
"type": "dict",
"properties": {
"vertices": {
"type": "array",
"description": "List of vertices (x, y) to define the shape.",
"items": {
... |
irrelevance_46 | [
[
{
"role": "user",
"content": "Diz-me o preço de um Tesla model S na Índia."
}
]
] | [
{
"name": "get_exchange_rate",
"description": "Retrieve the current exchange rate between two currencies.",
"parameters": {
"type": "dict",
"properties": {
"base_currency": {
"type": "string",
"description": "The base currency."
},
"target_currency... |
irrelevance_47 | [
[
{
"role": "user",
"content": "Quais são os ingredientes para a lasanha?"
}
]
] | [
{
"name": "flight_schedule.get_timings",
"description": "Get the departure and arrival times for flights between two airports.",
"parameters": {
"type": "dict",
"properties": {
"from_airport": {
"type": "string",
"description": "The code for the departure airport.... |
irrelevance_48 | [
[
{
"role": "user",
"content": "Qual é o Coeficiente de Gini atual dos EUA?"
}
]
] | [
{
"name": "finance.fetchGDP",
"description": "Fetch the GDP of the given country in the given year.",
"parameters": {
"type": "dict",
"properties": {
"country": {
"type": "string",
"description": "The name of the country to get the GDP of."
},
"yea... |
irrelevance_49 | [
[
{
"role": "user",
"content": "Qual é a diferença horária entre Los Angeles e Berlim?"
}
]
] | [
{
"name": "get_co_ordinate",
"description": "Fetch geographical coordinates of a particular location.",
"parameters": {
"type": "dict",
"properties": {
"location": {
"type": "string",
"description": "The city name you want coordinates for."
}
},
... |
irrelevance_50 | [
[
{
"role": "user",
"content": "Dá-me uma seleção de filmes de terror para ver numa noite de sexta-feira."
}
]
] | [
{
"name": "convert_celsius_to_fahrenheit",
"description": "Convert a temperature from Celsius to Fahrenheit.",
"parameters": {
"type": "dict",
"properties": {
"celsius": {
"type": "float",
"description": "The temperature in Celsius to be converted."
},
... |
irrelevance_51 | [
[
{
"role": "user",
"content": "Calcula o fibonacci do número 20."
}
]
] | [
{
"name": "cryptocurrency_price",
"description": "Get the current price of a specific cryptocurrency.",
"parameters": {
"type": "dict",
"properties": {
"currency": {
"type": "string",
"description": "The symbol of the cryptocurrency."
},
"vs_curren... |
irrelevance_52 | [
[
{
"role": "user",
"content": "Converte a frase 'Hello, how are you?' de inglês para francês."
}
]
] | [
{
"name": "compress_file",
"description": "Compresses a given file into a zip archive.",
"parameters": {
"type": "dict",
"properties": {
"file_path": {
"type": "string",
"description": "The path of the file to compress."
},
"archive_name": {
... |
irrelevance_53 | [
[
{
"role": "user",
"content": "Quem ganhou a World Series em 2018?"
}
]
] | [
{
"name": "database_query.run",
"description": "Run a query on a SQL database.",
"parameters": {
"type": "dict",
"properties": {
"database": {
"type": "string",
"description": "The name of the database."
},
"query": {
"type": "string",
... |
irrelevance_54 | [
[
{
"role": "user",
"content": "Qual é o filme com a maior bilheteira de todos os tempos?"
}
]
] | [
{
"name": "movies.search",
"description": "Search movies based on a set of specified criteria.",
"parameters": {
"type": "dict",
"properties": {
"title": {
"type": "string",
"description": "The title of the movie."
},
"year": {
"type": "i... |
irrelevance_55 | [
[
{
"role": "user",
"content": "Qual é a livraria online que vende 'To Kill a Mockingbird'?"
}
]
] | [
{
"name": "add_product_to_cart",
"description": "This function allows users to add a product to their cart.",
"parameters": {
"type": "dict",
"properties": {
"product_id": {
"type": "integer",
"description": "The ID of the product"
},
"quantity": {... |
irrelevance_56 | [
[
{
"role": "user",
"content": "Qual é o preço atual do bitcoin?"
}
]
] | [
{
"name": "database_connect.select",
"description": "Retrieve specific records from a given database and table.",
"parameters": {
"type": "dict",
"properties": {
"database_name": {
"type": "string",
"description": "The name of the database."
},
"ta... |
irrelevance_57 | [
[
{
"role": "user",
"content": "Como resolver a equação do segundo grau com os coeficientes 2, 3 e 4?"
}
]
] | [
{
"name": "genetic_algorithm.optimize",
"description": "Apply the genetic algorithm to optimize a function with multiple variables.",
"parameters": {
"type": "dict",
"properties": {
"function": {
"type": "string",
"description": "The function to be optimized."
... |
irrelevance_58 | [
[
{
"role": "user",
"content": "De quanta eletricidade vou precisar para a minha casa de 2000 sq ft?"
}
]
] | [
{
"name": "solar_panel.calculate_need",
"description": "Calculate the number of solar panels needed for a house based on the square footage and average sunlight hours.",
"parameters": {
"type": "dict",
"properties": {
"square_footage": {
"type": "float",
"descript... |
irrelevance_59 | [
[
{
"role": "user",
"content": "Calcula a potência de 2 elevado a 5."
}
]
] | [
{
"name": "linear_equation_solver",
"description": "Solve a linear equation.",
"parameters": {
"type": "dict",
"properties": {
"equation": {
"type": "string",
"description": "The linear equation to solve."
},
"variable": {
"type": "string... |
irrelevance_60 | [
[
{
"role": "user",
"content": "Qual é o preço final de um produto após a aplicação de um desconto de 25% e de um imposto sobre vendas de 10%?"
}
]
] | [
{
"name": "calculateFinalPrice",
"description": "Calculate the final price of a product after a certain discount has been applied and then sales tax added. Price should be positive and the rates can range from 0-1",
"parameters": {
"type": "dict",
"properties": {
"price": {
... |
irrelevance_61 | [
[
{
"role": "user",
"content": "Qual é o significado de 'Hello' em francês?"
}
]
] | [
{
"name": "calculate_svm",
"description": "Calculate the Support Vector Machine(SVM) model",
"parameters": {
"type": "dict",
"properties": {
"train_data": {
"type": "string",
"description": "The training data for the SVM model. Should include the class labels."
... |
irrelevance_62 | [
[
{
"role": "user",
"content": "Como construir uma interface de frontend para o meu website de e-commerce?"
}
]
] | [
{
"name": "create_Recommender_Model",
"description": "This function is used to create a recommendation model using a given user data and an algorithm type",
"parameters": {
"type": "dict",
"properties": {
"user_data": {
"type": "string",
"description": "A data fra... |
irrelevance_63 | [
[
{
"role": "user",
"content": "Quantas caras posso obter ao lançar 3 moedas?"
}
]
] | [
{
"name": "probability_calculator",
"description": "Calculate the probability of an event",
"parameters": {
"type": "dict",
"properties": {
"total_outcomes": {
"type": "integer",
"description": "The total number of possible outcomes."
},
"event_out... |
irrelevance_64 | [
[
{
"role": "user",
"content": "Qual é a probabilidade de tirar uma carta da corte num baralho standard?"
}
]
] | [
{
"name": "probability.coin_toss_heads",
"description": "Calculate the probability of getting a specific number of heads after tossing a coin multiple times.",
"parameters": {
"type": "dict",
"properties": {
"coin_tosses": {
"type": "integer",
"description": "The ... |
irrelevance_65 | [
[
{
"role": "user",
"content": "Quantas bolas vermelhas existem num saco de 20, sabendo que a probabilidade de tirar uma bola vermelha é 0,3?"
}
]
] | [
{
"name": "probability.determine_population",
"description": "Calculate the population based on the probability and sample size",
"parameters": {
"type": "dict",
"properties": {
"probability": {
"type": "float",
"description": "Probability of a certain outcome."
... |
irrelevance_66 | [
[
{
"role": "user",
"content": "Calcula a probabilidade de sair cara ao lançar uma moeda."
}
]
] | [
{
"name": "get_standard_deviation",
"description": "Calculates the standard deviation of a series of numbers.",
"parameters": {
"type": "dict",
"properties": {
"data": {
"type": "array",
"items": {
"type": "float"
},
"description": ... |
irrelevance_67 | [
[
{
"role": "user",
"content": "Qual é a média de uma experiência com 50 resultados bem-sucedidos em 500 ensaios, sob a hipótese nula de que a probabilidade de sucesso é 0,1?"
}
]
] | [
{
"name": "hypothesis_testing.get_p_value",
"description": "Performs a one-sample binomial test and returns the calculated p-value.",
"parameters": {
"type": "dict",
"properties": {
"successes": {
"type": "integer",
"description": "The number of successful outcome... |
irrelevance_68 | [
[
{
"role": "user",
"content": "Calcula o desvio padrão do teste da hipótese nula com uma média da amostra de 98,2, desvio padrão de 1,4 e tamanho da amostra de 40 para uma média populacional de 98,6."
}
]
] | [
{
"name": "statistics.calculate_p_value",
"description": "Calculate the p-value for a t-test on a single sample from a population.",
"parameters": {
"type": "dict",
"properties": {
"sample_mean": {
"type": "float",
"description": "The mean of the sample data."
... |
irrelevance_69 | [
[
{
"role": "user",
"content": "Recupera o preço médio das casas na Califórnia"
}
]
] | [
{
"name": "regression_model.predict",
"description": "Predict the target variable based on input features using a trained regression model.",
"parameters": {
"type": "dict",
"properties": {
"features": {
"type": "array",
"items": {
"type": "float"
... |
irrelevance_70 | [
[
{
"role": "user",
"content": "Calcula os juros compostos para um montante principal de 10000 dólares, com uma taxa de juro anual de 5% durante um período de 3 anos."
}
]
] | [
{
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment given the loan amount, loan term and annual interest rate.",
"parameters": {
"type": "dict",
"properties": {
"loan_amount": {
"type": "float",
"description": "The loan a... |
irrelevance_71 | [
[
{
"role": "user",
"content": "Calcula a margem de lucro de uma empresa com receitas de 200 000 dólares e despesas de 150 000 dólares."
}
]
] | [
{
"name": "calculate_ROI",
"description": "Calculate the Return on Investment (ROI) for a given investment amount and net profit.",
"parameters": {
"type": "dict",
"properties": {
"investment_amount": {
"type": "float",
"description": "The initial amount of money ... |
irrelevance_72 | [
[
{
"role": "user",
"content": "Qual é a taxa de retorno externa para um projeto com fluxos de caixa de -100, 40, 60, 80, 120?"
}
]
] | [
{
"name": "calculate_internal_rate_of_return",
"description": "Calculate the internal rate of return for a project given its cash flows.",
"parameters": {
"type": "dict",
"properties": {
"cash_flows": {
"type": "array",
"items": {
"type": "float"
... |
irrelevance_73 | [
[
{
"role": "user",
"content": "Qual é a projeção de perdas para a empresa XYZ para o próximo ano?"
}
]
] | [
{
"name": "finance.predict_revenue",
"description": "Predict the revenue of a company for a specific period based on historical data and industry trends.",
"parameters": {
"type": "dict",
"properties": {
"company_name": {
"type": "string",
"description": "The name... |
irrelevance_74 | [
[
{
"role": "user",
"content": "Qual é a taxa de retorno para um negócio com 15000 dólares de receita total e 22000 dólares de custo total?"
}
]
] | [
{
"name": "investment_analysis.calculate_profit",
"description": "Calculates the net profit given the total revenue and total cost",
"parameters": {
"type": "dict",
"properties": {
"total_revenue": {
"type": "float",
"description": "The total revenue for the busin... |
irrelevance_75 | [
[
{
"role": "user",
"content": "Quantos quilogramas tem uma libra?"
}
]
] | [
{
"name": "portfolio.returns",
"description": "Calculate the return on investment based on initial investment, ending value and the period",
"parameters": {
"type": "dict",
"properties": {
"initial_investment": {
"type": "float",
"description": "The initial amount... |
irrelevance_76 | [
[
{
"role": "user",
"content": "Como é que obtenho as últimas notícias de desporto?"
}
]
] | [
{
"name": "investment_trend_analysis",
"description": "Analyze the trend of a user's investment portfolio based on its history data.",
"parameters": {
"type": "dict",
"properties": {
"investment_data": {
"type": "string",
"description": "The historical data of the... |
irrelevance_77 | [
[
{
"role": "user",
"content": "Podes listar alguns filmes de terror que eu possa ver?"
}
]
] | [
{
"name": "calculate_investment_value",
"description": "Calculate the future value of an investment given the principal, interest rate and term.",
"parameters": {
"type": "dict",
"properties": {
"principal": {
"type": "float",
"description": "The initial amount of... |
irrelevance_78 | [
[
{
"role": "user",
"content": "Qual é o preço do ouro hoje nos EUA?"
}
]
] | [
{
"name": "calculate_Bond_Price",
"description": "Calculate the bond price given the face value, coupon rate, required rate of return, and maturity period.",
"parameters": {
"type": "dict",
"properties": {
"Face_Value": {
"type": "float",
"description": "The face ... |
irrelevance_79 | [
[
{
"role": "user",
"content": "Quem é o melhor jogador de futebol atualmente?"
}
]
] | [
{
"name": "stock_market_prediction",
"description": "Predict the future value of stocks based on historical data.",
"parameters": {
"type": "dict",
"properties": {
"stock_name": {
"type": "string",
"description": "The name of the stock."
},
"days":... |
irrelevance_80 | [
[
{
"role": "user",
"content": "Quem venceu o Campeonato do Mundo de FIFA 2010?"
}
]
] | [
{
"name": "stock_ticker",
"description": "Retrieves the latest stock ticker information for a specified company.",
"parameters": {
"type": "dict",
"properties": {
"company_name": {
"type": "string",
"description": "The name of the company for which the stock ticke... |
irrelevance_81 | [
[
{
"role": "user",
"content": "Podes listar alguns filmes de terror que eu possa ver?"
}
]
] | [
{
"name": "get_stock_prices",
"description": "Fetches the historical prices of a specified stock",
"parameters": {
"type": "dict",
"properties": {
"ticker_symbol": {
"type": "string",
"description": "The symbol representing the stock."
},
"start_da... |
irrelevance_82 | [
[
{
"role": "user",
"content": "Procura algumas notícias sobre ações"
}
]
] | [
{
"name": "calculate_capital_gains",
"description": "Calculate the capital gains or losses based on purchase price, sale price, and number of shares.",
"parameters": {
"type": "dict",
"properties": {
"purchase_price": {
"type": "float",
"description": "The price a... |
irrelevance_83 | [
[
{
"role": "user",
"content": "Qual é a taxa de juro atual?"
}
]
] | [
{
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment given the loan amount, annual interest rate, and number of years.",
"parameters": {
"type": "dict",
"properties": {
"loan_amount": {
"type": "float",
"description": "The... |
irrelevance_84 | [
[
{
"role": "user",
"content": "Quem ganhou o jogo de basquetebol entre os Lakers e os Celtics ontem?"
}
]
] | [
{
"name": "get_stock_data",
"description": "Retrieve the current stock price for a specific company.",
"parameters": {
"type": "dict",
"properties": {
"company_name": {
"type": "string",
"description": "The company for which to retrieve the stock price."
}... |
irrelevance_85 | [
[
{
"role": "user",
"content": "Quem venceu as eleições presidenciais em 2020?"
}
]
] | [
{
"name": "criminal_case_details.get",
"description": "Retrieve the details of a specific criminal case.",
"parameters": {
"type": "dict",
"properties": {
"case_number": {
"type": "string",
"description": "The official number of the case in the judiciary system."
... |
irrelevance_86 | [
[
{
"role": "user",
"content": "Qual é a pena para o crime de furto com invasão na Califórnia?"
}
]
] | [
{
"name": "law_info.get_penalty",
"description": "Retrieves penalty information based on the criminal act and state.",
"parameters": {
"type": "dict",
"properties": {
"crime": {
"type": "string",
"description": "The criminal act that was committed."
},
... |
irrelevance_87 | [
[
{
"role": "user",
"content": "Quem é o Governador da Califórnia?"
}
]
] | [
{
"name": "legal_case.file",
"description": "File a new case in a specific court.",
"parameters": {
"type": "dict",
"properties": {
"court": {
"type": "string",
"description": "The name of the court."
},
"case_type": {
"type": "string",
... |
irrelevance_88 | [
[
{
"role": "user",
"content": "Quais são os melhores filmes de Crime e Suspense de 2020?"
}
]
] | [
{
"name": "detect_forgery",
"description": "Detect if the given set of documents are forged or not",
"parameters": {
"type": "dict",
"properties": {
"documents": {
"type": "array",
"items": {
"type": "string"
},
"description": "Arra... |
irrelevance_89 | [
[
{
"role": "user",
"content": "Quais são os meus direitos como inquilino no estado do Texas?"
}
]
] | [
{
"name": "generate_contract",
"description": "Generate a specific type of legal contract based on provided details.",
"parameters": {
"type": "dict",
"properties": {
"contract_type": {
"type": "string",
"description": "The type of contract to generate."
}... |
irrelevance_90 | [
[
{
"role": "user",
"content": "Quais são os componentes do Direito Civil?"
}
]
] | [
{
"name": "file_complaint",
"description": "File a complaint for noise to the local council in a specified city.",
"parameters": {
"type": "dict",
"properties": {
"complaint_type": {
"type": "string",
"description": "The type of complaint, such as noise, litter, e... |
irrelevance_91 | [
[
{
"role": "user",
"content": "Posso apresentar uma queixa de ruído à câmara municipal da cidade de Atlanta?"
}
]
] | [
{
"name": "get_law_categories",
"description": "Retrieves the list of categories within a specified type of law.",
"parameters": {
"type": "dict",
"properties": {
"law_type": {
"type": "string",
"description": "The type of law to be searched."
},
"... |
irrelevance_92 | [
[
{
"role": "user",
"content": "Preciso de um guarda de segurança, onde posso encontrar o mais popular em Nova Iorque?"
}
]
] | [
{
"name": "search_lawyer",
"description": "Find a list of lawyers in a specific area, sorted by the number of cases they have won.",
"parameters": {
"type": "dict",
"properties": {
"area": {
"type": "string",
"description": "The city and state where you need a law... |
irrelevance_93 | [
[
{
"role": "user",
"content": "Qual é a sentença no caso XYZ?"
}
]
] | [
{
"name": "law_firm.get_impactful_cases",
"description": "Retrieve impactful cases handled by a specific law firm within a given year.",
"parameters": {
"type": "dict",
"properties": {
"firm_name": {
"type": "string",
"description": "Name of the law firm."
... |
irrelevance_94 | [
[
{
"role": "user",
"content": "Quais foram os casos com maior impacto tratados pela sociedade de advogados ABC no ano de 2020?"
}
]
] | [
{
"name": "case_info.get",
"description": "Retrieve case details including the judgement from a case id.",
"parameters": {
"type": "dict",
"properties": {
"case_id": {
"type": "string",
"description": "The unique id for the case."
},
"case_year": {... |
irrelevance_95 | [
[
{
"role": "user",
"content": "Quem é o advogado no processo judicial Doe vs. Smith?"
}
]
] | [
{
"name": "case_review.retrieve_case_outcome",
"description": "Retrieve the outcome of a specific law case.",
"parameters": {
"type": "dict",
"properties": {
"case_name": {
"type": "string",
"description": "The full case name (including vs.)."
},
"... |
irrelevance_96 | [
[
{
"role": "user",
"content": "Quanto tempo demorará a pintar a Torre Eiffel?"
}
]
] | [
{
"name": "get_case_result",
"description": "Retrieve the result of a specific law case based on the year and name of the case.",
"parameters": {
"type": "dict",
"properties": {
"case_year": {
"type": "integer",
"description": "The year when the law case was estab... |
irrelevance_97 | [
[
{
"role": "user",
"content": "Podes recomendar um bom restaurante chinês em Nova Iorque?"
}
]
] | [
{
"name": "file_lawsuit",
"description": "File a lawsuit against a party.",
"parameters": {
"type": "dict",
"properties": {
"defendant": {
"type": "string",
"description": "The party being sued."
},
"plaintiff": {
"type": "string",
... |
irrelevance_98 | [
[
{
"role": "user",
"content": "Quanto tempo demorará a pintar a Torre Eiffel?"
}
]
] | [
{
"name": "lawsuit.settlement_estimate",
"description": "Calculate an estimated lawsuit settlement amount based on inputs.",
"parameters": {
"type": "dict",
"properties": {
"damage_amount": {
"type": "float",
"description": "Amount of damages in USD."
},
... |
irrelevance_99 | [
[
{
"role": "user",
"content": "Informa-te sobre as leis de trânsito no Texas."
}
]
] | [
{
"name": "lawsuit_search",
"description": "Search for lawsuits related to a particular subject matter in a certain location.",
"parameters": {
"type": "dict",
"properties": {
"location": {
"type": "string",
"description": "The location to perform the search in."
... |
bfcl-pt-pt
The single-turn categories of the Berkeley Function Calling Leaderboard (BFCL v3) with the user questions translated into European Portuguese (pt-PT). Functions and possible answers are unchanged, so BFCL's AST checker scores a model the same way as on the English set.
| Category | Questions | Kept after checks |
|---|---|---|
simple |
400 | 394 |
multiple |
200 | 197 |
parallel |
200 | 200 |
parallel_multiple |
200 | 198 |
irrelevance |
240 | 238 |
live_simple |
258 | 252 |
live_multiple |
1,053 | 1,010 |
live_parallel |
16 | 16 |
live_parallel_multiple |
24 | 23 |
live_irrelevance |
882 | 852 |
live_relevance |
18 | 17 |
The code categories (Java, JavaScript, SQL, REST), the executable ones and the multi-turn ones are left out.
📄 Files
Files keep BFCL's names and layout: BFCL_v3_<category>.json holds the questions and possible_answer/BFCL_v3_<category>.json the answers, both as JSON lines. Ids are the same as in BFCL.
from datasets import load_dataset
simple = load_dataset("jgalego/bfcl-pt-pt", "simple", split="test")
To score with BFCL's own checker, use these files in place of its data files of the same names.
🔧 How it is built
- Only user messages are translated, by google/gemma-4-31B-it with greedy decoding. Function definitions stay in English.
- Strings from the possible answers that appear in the question and are quoted, or look like a name, code or identifier, are copied as they are, so the answers still match the question. Other words are translated, so the model has to map them back to the English values the functions expect.
- Questions that fail the checks of jgalego/function-calling-pt-pt are dropped with their answers. Scores are over the kept questions only, so they are not directly comparable with English BFCL scores.
🙏 Credits
BFCL is by the Gorilla team at UC Berkeley, under Apache 2.0. Changes: the user questions were machine-translated into pt-PT by google/gemma-4-31B-it and questions that failed the checks were removed, with their answers. If you use it, cite BFCL:
@misc{berkeley-function-calling-leaderboard,
title={Berkeley Function Calling Leaderboard},
author={Fanjia Yan and Huanzhi Mao and Charlie Cheng-Jie Ji and Tianjun Zhang and Shishir G. Patil and Ion Stoica and Joseph E. Gonzalez},
howpublished={\url{https://gorilla.cs.berkeley.edu/blogs/8_berkeley_function_calling_leaderboard.html}},
year={2024}
}
- Downloads last month
- 206