messages
listlengths 2
2
| tools
stringlengths 277
1.04k
| extra
dict |
---|---|---|
[
{
"content": "How much time will it take for the light to reach earth from a star 4 light years away?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"distance_in_light_years\": 4, \"speed_of_light\": 299792458}",
"name": "light_travel_time"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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": "integer", "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"]}}}] | {
"id": "simple_100"
} |
[
{
"content": "Calculate the speed of an object in km/h if it traveled 450 meters in 20 seconds.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"distance\": 450, \"time\": 20, \"to_unit\": \"km/h\"}",
"name": "calculate_speed"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_speed", "description": "Calculate the speed of an object based on the distance travelled and the time taken.", "parameters": {"type": "dict", "properties": {"distance": {"type": "integer", "description": "The distance the object travelled in meters."}, "time": {"type": "integer", "description": "The time it took for the object to travel in seconds."}, "to_unit": {"type": "string", "description": "The unit in which the speed should be calculated, default is m/s."}}, "required": ["distance", "time"]}}}] | {
"id": "simple_101"
} |
[
{
"content": "What's the distance in milesfrom the Earth to the Moon?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"body1\": \"Earth\", \"body2\": \"Moon\", \"unit\": \"mi\"}",
"name": "calculate_distance"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_distance", "description": "Calculate the distance between two celestial bodies.", "parameters": {"type": "dict", "properties": {"body1": {"type": "string", "description": "The first celestial body."}, "body2": {"type": "string", "description": "The second celestial body."}, "unit": {"type": "string", "description": "The unit of measurement, default is 'km'."}}, "required": ["body1", "body2"]}}}] | {
"id": "simple_102"
} |
[
{
"content": "Calculate the area under the curve y=3x^2 + 2x - 4, between x = -1 and x = 2.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"polynomial\": [3.0, 2.0, -4.0], \"limits\": [-1.0, 2.0]}",
"name": "mathematics_calculate_area_under_curve"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "mathematics_calculate_area_under_curve", "description": "Calculate the area under the curve for a given polynomial function within a specified interval.", "parameters": {"type": "dict", "properties": {"polynomial": {"type": "array", "items": {"type": "float"}, "description": "The coefficients of the polynomial, in decreasing order of exponent, where the first element is the coefficient for x^n, the second element is the coefficient for x^(n-1), and so on. The last element is the constant term."}, "limits": {"type": "array", "items": {"type": "float"}, "description": "A list of two numbers specifying the lower and upper limit for the integration interval."}}, "required": ["polynomial", "limits"]}}}] | {
"id": "simple_103"
} |
[
{
"content": "Calculate the area of a triangle with base 6 and height 10.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"base\": 6, \"height\": 10}",
"name": "geometry_area_triangle"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_104"
} |
[
{
"content": "Calculate the power of 3 raised to the power 4.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"base\": 3, \"exponent\": 4}",
"name": "math_power"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "math_power", "description": "Calculate the power of one number raised to another.", "parameters": {"type": "dict", "properties": {"base": {"type": "integer", "description": "The base number."}, "exponent": {"type": "integer", "description": "The exponent."}, "mod": {"type": "integer", "description": "The modulus. Default is 1. Calculates pow(base, exponent) % mod when provided."}}, "required": ["base", "exponent"]}}}] | {
"id": "simple_105"
} |
[
{
"content": "Train a random forest classifier on dataset your_dataset_name with maximum depth of trees as 5, and number of estimators as 100.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"dataset\": \"your_dataset_name\", \"max_depth\": 5, \"n_estimators\": 100}",
"name": "train_random_forest_classifier"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "train_random_forest_classifier", "description": "Train a Random Forest classifier with the specified parameters.", "parameters": {"type": "dict", "properties": {"dataset": {"type": "string", "description": "The dataset to train the classifier on."}, "max_depth": {"type": "integer", "description": "The maximum depth of the trees in the forest."}, "n_estimators": {"type": "integer", "description": "The number of trees in the forest."}}, "required": ["dataset", "max_depth", "n_estimators"]}}}] | {
"id": "simple_106"
} |
[
{
"content": "Calculate the Body Mass Index for a person with a weight of 70 kg and a height of 175 cm.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"weight\": 70, \"height\": 175, \"system\": \"metric\"}",
"name": "calculate_bmi"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_107"
} |
[
{
"content": "Run a linear regression model with predictor variables 'Age', 'Income' and 'Education' and a target variable 'Purchase_Amount'. Also apply standardization.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"predictors\": [\"Age\", \"Income\", \"Education\"], \"target\": \"Purchase_Amount\", \"standardize\": true}",
"name": "run_linear_regression"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_108"
} |
[
{
"content": "Generate a random forest model with 100 trees and a depth of 5 on the provided data my_data.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"n_estimators\": 100, \"max_depth\": 5, \"data\": \"my_data\"}",
"name": "random_forest_train"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "random_forest_train", "description": "Train a Random Forest Model on given data", "parameters": {"type": "dict", "properties": {"n_estimators": {"type": "integer", "description": "The number of trees in the forest."}, "max_depth": {"type": "integer", "description": "The maximum depth of the tree."}, "data": {"type": "any", "description": "The training data for the model."}}, "required": ["n_estimators", "max_depth", "data"]}}}] | {
"id": "simple_109"
} |
[
{
"content": "Predict the price of the house in San Francisco with 3 bedrooms, 2 bathrooms and area of 1800 square feet.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"bedrooms\": 3, \"bathrooms\": 2, \"area\": 1800, \"location\": \"San Francisco\"}",
"name": "predict_house_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "predict_house_price", "description": "Predict the price of a house in a given area based on number of bedrooms, bathrooms and area.", "parameters": {"type": "dict", "properties": {"bedrooms": {"type": "integer", "description": "The number of bedrooms in the house."}, "bathrooms": {"type": "integer", "description": "The number of bathrooms in the house."}, "area": {"type": "integer", "description": "The area of the house in square feet."}, "location": {"type": "string", "description": "The location of the house in the format of city name."}}, "required": ["bedrooms", "bathrooms", "area", "location"]}}}] | {
"id": "simple_110"
} |
[
{
"content": "Generate a random number from a normal distribution with mean 0 and standard deviation 1.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"mu\": 0, \"sigma\": 1}",
"name": "random_normalvariate"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "random_normalvariate", "description": "Generates a random number from a normal distribution given the mean and standard deviation.", "parameters": {"type": "dict", "properties": {"mu": {"type": "integer", "description": "Mean of the normal distribution."}, "sigma": {"type": "integer", "description": "Standard deviation of the normal distribution."}}, "required": ["mu", "sigma"]}}}] | {
"id": "simple_111"
} |
[
{
"content": "Calculate the probability of drawing a king from a deck of cards.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"total_outcomes\": 52, \"favorable_outcomes\": 4}",
"name": "calculate_probability"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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.", "default": 2}}, "required": ["total_outcomes", "favorable_outcomes"]}}}] | {
"id": "simple_112"
} |
[
{
"content": "What's the probability of rolling a six on a six-sided die twice in a row?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"desired_number\": 6, \"number_of_rolls\": 2, \"die_sides\": 6}",
"name": "probability_dice_roll"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "probability_dice_roll", "description": "Calculate the probability of rolling a certain number on a six-sided die a certain number of times in a row.", "parameters": {"type": "dict", "properties": {"desired_number": {"type": "integer", "description": "The number you want to roll."}, "number_of_rolls": {"type": "integer", "description": "How many times you want to roll that number in a row."}, "die_sides": {"type": "integer", "description": "The number of sides on the die (optional; default is 6)."}}, "required": ["desired_number", "number_of_rolls"]}}}] | {
"id": "simple_113"
} |
[
{
"content": "Find the probability of getting exactly 5 heads in 10 fair coin tosses.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"trials\": 10, \"successes\": 5, \"p\": 0.5}",
"name": "prob_dist_binomial"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_114"
} |
[
{
"content": "Calculate the probability of getting exactly 5 heads in 8 tosses of a fair coin.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"number_of_trials\": 8, \"number_of_successes\": 5}",
"name": "calculate_binomial_probability"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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.", "default": 0.5}}, "required": ["number_of_trials", "number_of_successes"]}}}] | {
"id": "simple_115"
} |
[
{
"content": "What's the probability of drawing a king from a well shuffled standard deck of 52 cards?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"total_outcomes\": 52, \"event_outcomes\": 4, \"round\": 2}",
"name": "probabilities_calculate_single"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "probabilities_calculate_single", "description": "Calculate the probability of an event.", "parameters": {"type": "dict", "properties": {"total_outcomes": {"type": "integer", "description": "The total number of outcomes."}, "event_outcomes": {"type": "integer", "description": "The number of outcomes where the event occurs."}, "round": {"type": "integer", "description": "Round the answer to a specified number of decimal places. Defaults to 2."}}, "required": ["total_outcomes", "event_outcomes"]}}}] | {
"id": "simple_116"
} |
[
{
"content": "What are the odds of pulling a heart suit from a well-shuffled standard deck of 52 cards? Format it as ratio.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"success_outcomes\": 13, \"total_outcomes\": 52, \"format_as_ratio\": true}",
"name": "probability_of_event"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "probability_of_event", "description": "Calculates the probability of an event.", "parameters": {"type": "dict", "properties": {"success_outcomes": {"type": "integer", "description": "The number of successful outcomes."}, "total_outcomes": {"type": "integer", "description": "The total number of possible outcomes."}, "format_as_ratio": {"type": "boolean", "description": "When true, formats the output as a ratio instead of a decimal. Default is false."}}, "required": ["success_outcomes", "total_outcomes"]}}}] | {
"id": "simple_117"
} |
[
{
"content": "Perform a two-sample t-test on my experiment data of Control [10, 15, 12, 14, 11] and Treated [18, 16, 17, 20, 22] group with alpha equals to 0.05",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"array_1\": [10, 15, 12, 14, 11], \"array_2\": [18, 16, 17, 20, 22], \"alpha\": 0.05}",
"name": "stats_t_test"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "stats_t_test", "description": "Perform a two-sample t-test for two given arrays.", "parameters": {"type": "dict", "properties": {"array_1": {"type": "array", "items": {"type": "integer"}, "description": "First array of data."}, "array_2": {"type": "array", "items": {"type": "integer"}, "description": "Second array of data."}, "alpha": {"type": "float", "description": "Significance level for hypothesis testing."}}, "required": ["array_1", "array_2", "alpha"]}}}] | {
"id": "simple_118"
} |
[
{
"content": "Perform a hypothesis test for two independent samples with scores of Sample1: [22,33,42,12,34] and Sample2: [23,45,44,14,38] at a significance level of 0.05.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"sample1\": [22, 33, 42, 12, 34], \"sample2\": [23, 45, 44, 14, 38], \"significance_level\": 0.05}",
"name": "hypothesis_testing_ttest_ind"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "hypothesis_testing_ttest_ind", "description": "Conducts a hypothesis test for two independent samples.", "parameters": {"type": "dict", "properties": {"sample1": {"type": "array", "items": {"type": "integer"}, "description": "First set of observations (array of numbers)."}, "sample2": {"type": "array", "items": {"type": "integer"}, "description": "Second set of observations (array of numbers)."}, "significance_level": {"type": "float", "description": "Significance level of the test (default: 0.05)"}}, "required": ["sample1", "sample2"]}}}] | {
"id": "simple_119"
} |
[
{
"content": "Run a two sample T-test to compare the average of Group A [3, 4, 5, 6, 4] and Group B [7, 8, 9, 8, 7] assuming equal variance.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"group1\": [3, 4, 5, 6, 4], \"group2\": [7, 8, 9, 8, 7], \"equal_variance\": true}",
"name": "run_two_sample_ttest"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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.", "default": true}}, "required": ["group1", "group2"]}}}] | {
"id": "simple_120"
} |
[
{
"content": "Calculate the probability of observing 60 heads if I flip a coin 100 times with probability of heads 0.5.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"num_trials\": 100, \"num_success\": 60, \"prob_success\": 0.5}",
"name": "calc_binomial_prob"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calc_binomial_prob", "description": "Calculates the probability of an outcome based on the binomial distribution", "parameters": {"type": "dict", "properties": {"num_trials": {"type": "integer", "description": "Number of independent experiments."}, "num_success": {"type": "integer", "description": "Number of times the event of interest has occurred."}, "prob_success": {"type": "float", "description": "Probability of the event of interest on any single experiment."}}, "required": ["num_trials", "num_success", "prob_success"]}}}] | {
"id": "simple_121"
} |
[
{
"content": "Perform a Chi-Squared test for independence on a 2x2 contingency table [ [10, 20], [30, 40] ]",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"table\": [[10, 20], [30, 40]], \"alpha\": 0.05}",
"name": "chi_squared_test"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "chi_squared_test", "description": "Performs a Chi-Squared test for independence on a 2x2 contingency table.", "parameters": {"type": "dict", "properties": {"table": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}, "description": "A 2x2 contingency table presented in array form."}, "alpha": {"type": "float", "description": "Significance level for the Chi-Squared test. Default is 0.05."}}, "required": ["table"]}}}] | {
"id": "simple_122"
} |
[
{
"content": "Perform a two-sample t-test to determine if there is a significant difference between the mean of group1 (e.g., 12.4, 15.6, 11.2, 18.9) and group2 (e.g., 10.5, 9.8, 15.2, 13.8) at the significance level 0.05.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"group1\": [12.4, 15.6, 11.2, 18.9], \"group2\": [10.5, 9.8, 15.2, 13.8], \"alpha\": 0.05}",
"name": "hypothesis_testing_two_sample_t_test"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "hypothesis_testing_two_sample_t_test", "description": "Perform a two-sample t-test to determine if there is a significant difference between the means of two independent samples.", "parameters": {"type": "dict", "properties": {"group1": {"type": "array", "items": {"type": "float"}, "description": "Sample observations from group 1."}, "group2": {"type": "array", "items": {"type": "float"}, "description": "Sample observations from group 2."}, "alpha": {"type": "float", "description": "Significance level for the t-test. Default is 0.05."}}, "required": ["group1", "group2"]}}}] | {
"id": "simple_123"
} |
[
{
"content": "Find the statistical significance between two set of variables, dataset_A with the values 12, 24, 36 and dataset_B with the values 15, 30, 45.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"dataset_A\": [12, 24, 36], \"dataset_B\": [15, 30, 45], \"alpha\": 0.05}",
"name": "t_test"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_124"
} |
[
{
"content": "Predict house price in San Francisco based on its area of 2500 square feet, number of rooms as 5 and year of construction is 1990.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"area\": 2500, \"rooms\": 5, \"year\": 1990, \"location\": \"San Francisco\"}",
"name": "predict_house_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_125"
} |
[
{
"content": "What is the coefficient of determination (R-squared) for a model using engine size and fuel economy variables to predict car_price with a dataset in path C:/data/cars.csv?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"dataset_path\": \"C:/data/cars.csv\", \"independent_variables\": [\"engine_size\", \"fuel_economy\"], \"dependent_variable\": \"car_price\"}",
"name": "linear_regression_get_r_squared"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "linear_regression_get_r_squared", "description": "Calculate the coefficient of determination of a regression model.", "parameters": {"type": "dict", "properties": {"dataset_path": {"type": "string", "description": "Path to the CSV dataset file."}, "independent_variables": {"type": "array", "items": {"type": "string"}, "description": "The independent variables to use in the regression model."}, "dependent_variable": {"type": "string", "description": "The dependent variable to predict in the regression model."}}, "required": ["dataset_path", "independent_variables", "dependent_variable"]}}}] | {
"id": "simple_126"
} |
[
{
"content": "Find the Net Present Value (NPV) of an investment, given cash_flows=[200,300,400,500], a discount rate of 10%, and an initial investment of $2000.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"cash_flows\": [200, 300, 400, 500], \"discount_rate\": 0.1, \"initial_investment\": 2000}",
"name": "calculate_NPV"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_NPV", "description": "Calculate the NPV (Net Present Value) of an investment, considering a series of future cash flows, discount rate, and an initial investment.", "parameters": {"type": "dict", "properties": {"cash_flows": {"type": "array", "items": {"type": "integer"}, "description": "Series of future cash flows."}, "discount_rate": {"type": "float", "description": "The discount rate to use."}, "initial_investment": {"type": "integer", "description": "The initial investment. Default is 0 if not specified."}}, "required": ["cash_flows", "discount_rate"]}}}] | {
"id": "simple_127"
} |
[
{
"content": "What's the quarterly dividend per share of a company with 100 million outstanding shares and total dividend payout of 50 million USD?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"total_payout\": 50000000, \"outstanding_shares\": 100000000}",
"name": "finance_calculate_quarterly_dividend_per_share"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"], "optional": []}}}] | {
"id": "simple_128"
} |
[
{
"content": "Calculate the discounted cash flow of a bond that is giving a coupon payment of $100 annually for next 5 years with discount rate 4%.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"coupon_payment\": 100, \"period\": 5, \"discount_rate\": 0.04}",
"name": "calculate_discounted_cash_flow"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_discounted_cash_flow", "description": "Calculate the discounted cash flow of a bond for a given annual coupon payment, time frame and discount rate.", "parameters": {"type": "dict", "properties": {"coupon_payment": {"type": "integer", "description": "The annual coupon payment."}, "period": {"type": "integer", "description": "The time frame in years for which coupon payment is made."}, "discount_rate": {"type": "float", "description": "The discount rate."}, "face_value": {"type": "integer", "description": "The face value of the bond, default is 1000."}}, "required": ["coupon_payment", "period", "discount_rate"]}}}] | {
"id": "simple_129"
} |
[
{
"content": "What's the NPV (Net Present Value) of a series of cash flows: [-50000, 10000, 15000, 20000, 25000, 30000] discounted at 8% annually?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"cash_flows\": [-50000, 10000, 15000, 20000, 25000, 30000], \"discount_rate\": 0.08}",
"name": "finance_calculator_npv"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "finance_calculator_npv", "description": "Calculate the Net Present Value (NPV) for a series of cash flows discounted at a certain interest rate.", "parameters": {"type": "dict", "properties": {"cash_flows": {"type": "array", "items": {"type": "integer"}, "description": "A list of cash flows."}, "discount_rate": {"type": "float", "description": "The annual interest rate used to discount the cash flows."}, "years": {"type": "array", "items": {"type": "integer"}, "description": "A list of years when the cash flow occurs. Default is empty array."}}, "required": ["cash_flows", "discount_rate"]}}}] | {
"id": "simple_130"
} |
[
{
"content": "Calculate the compound interest for an initial principal amount of $10000, with an annual interest rate of 5% and the number of times interest applied per time period is 4 and the time the money is invested for 10 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"principal\": 10000, \"rate\": 0.05, \"time\": 10, \"n\": 4}",
"name": "calculate_compound_interest"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_compound_interest", "description": "Calculate compound interest for an initial principal amount.", "parameters": {"type": "dict", "properties": {"principal": {"type": "integer", "description": "The principal amount that the interest is applied to."}, "rate": {"type": "float", "description": "The annual interest rate. Enter as a decimal. E.g, 5% is 0.05"}, "time": {"type": "integer", "description": "The time the money is invested for in years."}, "n": {"type": "integer", "description": "The number of times that interest is compounded per time period. Default is 1."}}, "required": ["principal", "rate", "time"]}}}] | {
"id": "simple_131"
} |
[
{
"content": "Calculate the company's return on equity given its net income of $2,000,000, shareholder's equity of $10,000,000, and dividends paid of $200,000.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"net_income\": 2000000, \"shareholder_equity\": 10000000, \"dividends_paid\": 200000}",
"name": "calculate_return_on_equity"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_return_on_equity", "description": "Calculate a company's return on equity based on its net income, shareholder's equity, and dividends paid.", "parameters": {"type": "dict", "properties": {"net_income": {"type": "integer", "description": "The company's net income."}, "shareholder_equity": {"type": "integer", "description": "The company's total shareholder's equity."}, "dividends_paid": {"type": "integer", "description": "The total dividends paid by the company. Optional. If not given, default to 0."}}, "required": ["net_income", "shareholder_equity"]}}}] | {
"id": "simple_132"
} |
[
{
"content": "Predict the future value of a $5000 investment with an annual interest rate of 5% in 3 years with monthly compounding.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"present_value\": 5000, \"annual_interest_rate\": 0.05, \"compounding_periods_per_year\": 12, \"time_years\": 3}",
"name": "finance_predict_future_value"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "finance_predict_future_value", "description": "Calculate the future value of an investment given its present value, interest rate, the number of compounding periods per year, and the time horizon.", "parameters": {"type": "dict", "properties": {"present_value": {"type": "integer", "description": "The present value of the investment."}, "annual_interest_rate": {"type": "float", "description": "The annual interest rate of the investment."}, "compounding_periods_per_year": {"type": "integer", "description": "The number of times that interest is compounded per year. Default is 1 (annually)."}, "time_years": {"type": "integer", "description": "The investment horizon in years."}}, "required": ["present_value", "annual_interest_rate", "time_years"]}}}] | {
"id": "simple_133"
} |
[
{
"content": "Predict the total expected profit of stocks XYZ in 5 years given I have invested $5000 and annual return rate is 7%.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"investment_amount\": 5000, \"annual_return\": 0.07, \"years\": 5}",
"name": "investment_predictProfit"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "investment_predictProfit", "description": "Predict the profit for given investment after specified number of years.", "parameters": {"type": "dict", "properties": {"investment_amount": {"type": "integer", "description": "The amount invested in dollars."}, "annual_return": {"type": "float", "description": "The annual return rate of the investment."}, "years": {"type": "integer", "description": "The time period in years for which the investment is made."}}, "required": ["investment_amount", "annual_return", "years"]}}}] | {
"id": "simple_134"
} |
[
{
"content": "Calculate the return on investment for a stock bought at $20, sold at $25, with a dividend of $2.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"purchase_price\": 20, \"sale_price\": 25, \"dividend\": 2}",
"name": "calculate_return_on_investment"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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.", "default": 0}}, "required": ["purchase_price", "sale_price"]}}}] | {
"id": "simple_135"
} |
[
{
"content": "Find the compound interest for an investment of $10000 with an annual interest rate of 5% compounded monthly for 5 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"principal\": 10000, \"annual_rate\": 5.0, \"compounding_freq\": \"monthly\", \"time_in_years\": 5}",
"name": "compound_interest"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "compound_interest", "description": "Calculate compound interest for a certain time period.", "parameters": {"type": "dict", "properties": {"principal": {"type": "integer", "description": "The initial amount of money that was invested or loaned out."}, "annual_rate": {"type": "float", "description": "The interest rate for a year as a percentage."}, "compounding_freq": {"type": "string", "enum": ["monthly", "quarterly", "annually"], "description": "The number of times that interest is compounded per unit period."}, "time_in_years": {"type": "integer", "description": "The time the money is invested for in years."}}, "required": ["principal", "annual_rate", "compounding_freq", "time_in_years"]}}}] | {
"id": "simple_136"
} |
[
{
"content": "Calculate the projected return on a $5000 investment in ABC company's stock, if the expected annual growth rate is 6% and the holding period is 5 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"investment_amount\": 5000, \"annual_growth_rate\": 0.06, \"holding_period\": 5}",
"name": "calculate_stock_return"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_stock_return", "description": "Calculate the projected return of a stock investment given the investment amount, the annual growth rate and holding period in years.", "parameters": {"type": "dict", "properties": {"investment_amount": {"type": "integer", "description": "The amount of money to invest."}, "annual_growth_rate": {"type": "float", "description": "The expected annual growth rate of the stock."}, "holding_period": {"type": "integer", "description": "The number of years you intend to hold the stock."}, "dividends": {"type": "boolean", "description": "Optional. True if the calculation should take into account potential dividends. Default is false."}}, "required": ["investment_amount", "annual_growth_rate", "holding_period"]}}}] | {
"id": "simple_137"
} |
[
{
"content": "Calculate the future value of my portfolio if I invest $5000 in stock 'X' with an expected annual return of 5% for 7 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"stock\": \"X\", \"invested_amount\": 5000, \"expected_annual_return\": 0.05, \"years\": 7}",
"name": "portfolio_future_value"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "portfolio_future_value", "description": "Calculate the future value of an investment in a specific stock based on the invested amount, expected annual return and number of years.", "parameters": {"type": "dict", "properties": {"stock": {"type": "string", "description": "The ticker symbol of the stock."}, "invested_amount": {"type": "integer", "description": "The invested amount in USD."}, "expected_annual_return": {"type": "float", "description": "The expected annual return on investment as a decimal. E.g. 5% = 0.05"}, "years": {"type": "integer", "description": "The number of years for which the investment is made."}}, "required": ["stock", "invested_amount", "expected_annual_return", "years"]}}}] | {
"id": "simple_138"
} |
[
{
"content": "What is the estimated return on a mutual fund, given that it has a yearly yield of 5%, an investment amount of $2000 and a time period of 3 years?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"yearly_yield\": 5.0, \"investment_amount\": 2000, \"years\": 3}",
"name": "estimate_mutual_fund_return"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "estimate_mutual_fund_return", "description": "Calculate the estimated return on a mutual fund given the yearly yield, the investment amount and the time period.", "parameters": {"type": "dict", "properties": {"yearly_yield": {"type": "float", "description": "The yearly yield of the mutual fund as a percentage."}, "investment_amount": {"type": "integer", "description": "The initial investment amount in the mutual fund."}, "years": {"type": "integer", "description": "The time period for which the investment is made in years."}}, "required": ["yearly_yield", "investment_amount", "years"]}}}] | {
"id": "simple_139"
} |
[
{
"content": "Calculate the Compound Annual Growth Rate (CAGR) for an initial investment of $2000, final value of $3000 in a period of 4 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"initial_value\": 2000, \"final_value\": 3000, \"period_in_years\": 4}",
"name": "calculate_cagr"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_140"
} |
[
{
"content": "Get current Gold price per ounce.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"metal\": \"Gold\", \"measure\": \"ounce\"}",
"name": "get_metal_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_metal_price", "description": "Retrieve the current price for a specified metal and measure.", "parameters": {"type": "dict", "properties": {"metal": {"type": "string", "description": "The metal whose price needs to be fetched."}, "measure": {"type": "string", "description": "The measure unit for price, like 'ounce' or 'kg'."}}, "required": ["metal", "measure"]}}}] | {
"id": "simple_141"
} |
[
{
"content": "Find the NASDAQ stock price for the company Amazon at closing March.11, 2022.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company_name\": \"Amazon\", \"date\": \"2022-03-11\", \"exchange\": \"NASDAQ\"}",
"name": "get_stock_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_stock_price", "description": "Get the closing stock price for a specific company on a specified date.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "Name of the company."}, "date": {"type": "string", "description": "Date of when to get the stock price. Format: yyyy-mm-dd."}, "exchange": {"type": "string", "description": "Name of the stock exchange market where the company's stock is listed. Default is 'NASDAQ'"}}, "required": ["company_name", "date"]}}}] | {
"id": "simple_142"
} |
[
{
"content": "'Get stock price of Apple for the last 5 days in NASDAQ.'",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company\": \"AAPL\", \"days\": 5, \"exchange\": \"NASDAQ\"}",
"name": "get_stock_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_stock_price", "description": "Retrieve the stock price for a specific company and time frame.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The ticker symbol of the company."}, "days": {"type": "integer", "description": "Number of past days for which the stock price is required."}, "exchange": {"type": "string", "description": "The stock exchange where the company is listed, default is NYSE"}}, "required": ["company", "days"]}}}] | {
"id": "simple_143"
} |
[
{
"content": "Find the market performance of the S&P 500 and the Dow Jones over the past 5 days.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"indexes\": [\"S&P 500\", \"Dow Jones\"], \"days\": 5}",
"name": "market_performance_get_data"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "market_performance_get_data", "description": "Retrieve the market performance data for specified indexes over a specified time period.", "parameters": {"type": "dict", "properties": {"indexes": {"type": "array", "items": {"type": "string"}, "description": "Array of stock market indexes. Supported indexes are 'S&P 500', 'Dow Jones', 'NASDAQ', 'FTSE 100', 'DAX' etc."}, "days": {"type": "integer", "description": "Number of days in the past for which the performance data is required."}, "detailed": {"type": "boolean", "description": "Whether to return detailed performance data. If set to true, returns high, low, opening, and closing prices. If false, returns only closing prices. Default is false."}}, "required": ["indexes", "days"]}}}] | {
"id": "simple_144"
} |
[
{
"content": "Calculate the compounded interest for an initial principal of $5000, annual interest rate of 5%, and compounding period of 10 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"principal\": 5000, \"interest_rate\": 0.05, \"period\": 10, \"compounding_frequency\": \"Annually\"}",
"name": "calculate_compounded_interest"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_compounded_interest", "description": "Calculate the compounded interest for a given principal, interest rate, and period.", "parameters": {"type": "dict", "properties": {"principal": {"type": "integer", "description": "The initial principal."}, "interest_rate": {"type": "float", "description": "The annual interest rate."}, "period": {"type": "integer", "description": "The period in years."}, "compounding_frequency": {"type": "string", "description": "The frequency of compounding per year. Defaults to 'Annually'.", "enum": ["Annually", "Semiannually", "Quarterly", "Monthly", "Daily"]}}, "required": ["principal", "interest_rate", "period"]}}}] | {
"id": "simple_145"
} |
[
{
"content": "What's the price of Amazon stock for the last 3 days?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company\": \"Amazon\", \"days\": 3, \"data_type\": \"Close\"}",
"name": "stock_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "stock_price", "description": "Get stock price data for a given company over a specified number of days.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company name."}, "days": {"type": "integer", "description": "The number of previous days to retrieve data for."}, "data_type": {"type": "string", "description": "The type of price data to retrieve (e.g., 'Open', 'Close', 'High', 'Low'). Default is 'Close'."}}, "required": ["company", "days"]}}}] | {
"id": "simple_146"
} |
[
{
"content": "Retrieve stock prices of Microsoft and Google for the last 2 weeks.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"companies\": [\"Microsoft\", \"Google\"], \"duration\": \"2 weeks\"}",
"name": "get_stock_prices"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_stock_prices", "description": "Retrieves stock prices for specified companies and duration.", "parameters": {"type": "dict", "properties": {"companies": {"type": "array", "items": {"type": "string"}, "description": "List of companies to retrieve stock prices for."}, "duration": {"type": "string", "description": "Time duration to retrieve stock prices for. E.g., '1 week', '2 weeks', '1 month', etc."}}, "required": ["companies", "duration"]}}}] | {
"id": "simple_147"
} |
[
{
"content": "Calculate the future value of an investment with an annual rate of return of 8%, an initial investment of $20000, and a time frame of 5 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"initial_investment\": 20000, \"rate_of_return\": 0.08, \"years\": 5}",
"name": "finance_calculate_future_value"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "finance_calculate_future_value", "description": "Calculate the future value of an investment given an initial investment, annual rate of return, and a time frame.", "parameters": {"type": "dict", "properties": {"initial_investment": {"type": "integer", "description": "The initial investment amount."}, "rate_of_return": {"type": "float", "description": "The annual rate of return."}, "years": {"type": "integer", "description": "The time frame of the investment in years."}, "contribution": {"type": "integer", "description": "Optional: Additional regular contributions. Default is 0."}}, "required": ["initial_investment", "rate_of_return", "years"]}}}] | {
"id": "simple_148"
} |
[
{
"content": "What's the current stock price of Apple and Microsoft?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company_names\": [\"Apple\", \"Microsoft\"]}",
"name": "get_stock_price"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_stock_price", "description": "Retrieves the current stock price of the specified companies", "parameters": {"type": "dict", "properties": {"company_names": {"type": "array", "items": {"type": "string"}, "description": "The list of companies for which to retrieve the stock price."}}, "required": ["company_names"]}}}] | {
"id": "simple_149"
} |
[
{
"content": "Calculate the return of investment of a bank's savings account with a deposit of $1000, annual interest rate of 3% for 1 year.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"deposit\": 1000, \"annual_interest_rate\": 0.03, \"years\": 1}",
"name": "calculate_roi"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_roi", "description": "Calculate the return on investment for a given deposit amount, annual interest rate, and time frame.", "parameters": {"type": "dict", "properties": {"deposit": {"type": "integer", "description": "The initial deposit amount."}, "annual_interest_rate": {"type": "float", "description": "The annual interest rate provided by the bank."}, "years": {"type": "integer", "description": "The period for which the money is invested."}}, "required": ["deposit", "annual_interest_rate", "years"]}}}] | {
"id": "simple_150"
} |
[
{
"content": "Find the highest grossing bank in the U.S for year 2020.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"country\": \"U.S\", \"year\": 2020, \"top_n\": 1}",
"name": "highest_grossing_banks"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "highest_grossing_banks", "description": "Retrieve the highest grossing banks in a specified country and year.", "parameters": {"type": "dict", "properties": {"country": {"type": "string", "description": "The country to get the data from."}, "year": {"type": "integer", "description": "The year to get the data from."}, "top_n": {"type": "integer", "description": "Top n banks in terms of grossing. Default is 5"}}, "required": ["country", "year"]}}}] | {
"id": "simple_151"
} |
[
{
"content": "Calculate the balance of a mutual fund given a total investment of $50000 with a 5% annual yield after 3 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"investment_amount\": 50000, \"annual_yield\": 0.05, \"years\": 3}",
"name": "calculate_mutual_fund_balance"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_mutual_fund_balance", "description": "Calculate the final balance of a mutual fund investment based on the total initial investment, annual yield rate and the time period.", "parameters": {"type": "dict", "properties": {"investment_amount": {"type": "integer", "description": "The initial total amount invested in the fund."}, "annual_yield": {"type": "float", "description": "The annual yield rate of the fund."}, "years": {"type": "integer", "description": "The period of time for the fund to mature."}}, "required": ["investment_amount", "annual_yield", "years"]}}}] | {
"id": "simple_152"
} |
[
{
"content": "Calculate the compounded interest on an initial deposit of $5000 at an annual interest rate of 3% for 5 years, compounded quarterly.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"principal\": 5000, \"rate\": 0.03, \"time\": 5, \"n\": 4}",
"name": "calculate_compounded_interest"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_compounded_interest", "description": "Calculate the compounded interest for a given initial deposit, interest rate, time and number of times the interest is compounded per unit time.", "parameters": {"type": "dict", "properties": {"principal": {"type": "integer", "description": "The initial amount of money that is being invested or loaned."}, "rate": {"type": "float", "description": "The annual interest rate."}, "time": {"type": "integer", "description": "The number of time periods the money is invested or loaned for."}, "n": {"type": "integer", "description": "The number of times that interest is compounded per unit time."}}, "required": ["principal", "rate", "time", "n"]}}}] | {
"id": "simple_153"
} |
[
{
"content": "Calculate the Future Value of a $5000 investment made today for a term of 10 years at an annual interest rate of 5%",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"present_value\": 5000, \"annual_interest_rate\": 0.05, \"years\": 10}",
"name": "calculate_future_value"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_future_value", "description": "Calculates the future value of an investment based on the present value, interest rate, and time period.", "parameters": {"type": "dict", "properties": {"present_value": {"type": "integer", "description": "The present value or principal amount."}, "annual_interest_rate": {"type": "float", "description": "The annual interest rate in decimal form. Example, 5% is 0.05."}, "years": {"type": "integer", "description": "The time period in years for which the investment is made."}, "compounds_per_year": {"type": "integer", "description": "The number of times the interest is compounded per year. Default is 1 (annual compounding)."}}, "required": ["present_value", "annual_interest_rate", "years"]}}}] | {
"id": "simple_154"
} |
[
{
"content": "Calculate the future value of my investment of $1000 with an annual interest rate of 5% over 2 years.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"initial_investment\": 1000, \"interest_rate\": 0.05, \"duration\": 2}",
"name": "calculate_future_value"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_future_value", "description": "Calculate the future value of an investment given the initial amount, interest rate, and investment duration.", "parameters": {"type": "dict", "properties": {"initial_investment": {"type": "integer", "description": "The initial investment amount."}, "interest_rate": {"type": "float", "description": "The annual interest rate in decimal form."}, "duration": {"type": "integer", "description": "The investment duration in years."}, "compounded": {"type": "integer", "description": "The number of times the interest is compounded per year. Default is 1 (annual compounding)."}}, "required": ["initial_investment", "interest_rate", "duration"]}}}] | {
"id": "simple_155"
} |
[
{
"content": "Look up details of a felony crime record for case number CA123456 in San Diego County",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_number\": \"CA123456\", \"county\": \"San Diego\", \"details\": true}",
"name": "crime_record_get_record"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "crime_record_get_record", "description": "Retrieve detailed felony crime records using a specific case number and location.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "string", "description": "The case number related to the crime."}, "county": {"type": "string", "description": "The county in which the crime occurred."}, "details": {"type": "boolean", "description": "To get a detailed report, set as true. Defaults to false."}}, "required": ["case_number", "county"]}}}] | {
"id": "simple_156"
} |
[
{
"content": "Find out if an individual John Doe with a birthday 01-01-1980 has any prior felony convictions in California.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"full_name\": \"John Doe\", \"birth_date\": \"01-01-1980\", \"state\": \"California\"}",
"name": "criminal_history_check_felonies"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "criminal_history_check_felonies", "description": "This function checks if an individual has any prior felony convictions based on their full name and birth date.", "parameters": {"type": "dict", "properties": {"full_name": {"type": "string", "description": "The full name of the individual."}, "birth_date": {"type": "string", "description": "The birth date of the individual. Must be in MM-DD-YYYY format."}, "state": {"type": "string", "description": "The state to search the criminal record in. Default to 'None', which the function will search across all states."}}, "required": ["full_name", "birth_date"]}}}] | {
"id": "simple_157"
} |
[
{
"content": "Find the information of criminal cases of Mr. X in New York between 2012 and 2015.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"name\": \"Mr. X\", \"location\": \"New York, NY\", \"from_year\": 2012, \"to_year\": 2015}",
"name": "get_criminal_records"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_criminal_records", "description": "Retrieve the criminal records of a specific person in a specific area during a certain time period.", "parameters": {"type": "dict", "properties": {"name": {"type": "string", "description": "The name of the person."}, "location": {"type": "string", "description": "The city and state, e.g. New York, NY"}, "from_year": {"type": "integer", "description": "The start year of the time frame."}, "to_year": {"type": "integer", "description": "The end year of the time frame."}}, "required": ["name", "location", "from_year", "to_year"]}}}] | {
"id": "simple_158"
} |
[
{
"content": "Give me the details of Criminal Law Amendment Act of 2013.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"act_name\": \"Criminal Law Amendment Act\", \"amendment_year\": 2013}",
"name": "get_act_details"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_act_details", "description": "Retrieve the details of a particular legal act based on its name and year of amendment if any.", "parameters": {"type": "dict", "properties": {"act_name": {"type": "string", "description": "The name of the act."}, "amendment_year": {"type": "integer", "description": "Year of amendment if any. If not provided, the latest amendment year will be considered."}}, "required": ["act_name", "amendment_year"]}}}] | {
"id": "simple_159"
} |
[
{
"content": "Who was the victim in the case docket numbered 2022/AL2562 in California?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"docket\": \"2022/AL2562\", \"court\": \"California\", \"info_type\": \"victim\"}",
"name": "get_case_info"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_case_info", "description": "Retrieve case details using a specific case docket number and court location.", "parameters": {"type": "dict", "properties": {"docket": {"type": "string", "description": "Docket number for the specific court case."}, "court": {"type": "string", "description": "Court in which the case was heard."}, "info_type": {"type": "string", "description": "Specify the information type needed for the case. i.e., victim, accused, verdict etc."}}, "required": ["docket", "court", "info_type"]}}}] | {
"id": "simple_160"
} |
[
{
"content": "Find out the possible punishments for the crime of theft in California in detail.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"jurisdiction\": \"California\", \"crime\": \"theft\", \"detail_level\": \"detailed\"}",
"name": "crime_statute_lookup"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "crime_statute_lookup", "description": "Look up the criminal statutes in a specific jurisdiction to find possible punishments for a specific crime.", "parameters": {"type": "dict", "properties": {"jurisdiction": {"type": "string", "description": "The jurisdiction to search in, usually a state or country."}, "crime": {"type": "string", "description": "The crime to search for."}, "detail_level": {"type": "string", "enum": ["basic", "detailed"], "description": "How detailed of a report to return. Optional, default is 'basic'."}}, "required": ["jurisdiction", "crime"]}}}] | {
"id": "simple_161"
} |
[
{
"content": "Generate a customized law contract between John and Alice for rental agreement in California.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"parties\": [\"John\", \"Alice\"], \"contract_type\": \"Rental Agreement\", \"location\": \"California\"}",
"name": "generate_law_contract"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "generate_law_contract", "description": "Generates a customized law contract given involved parties, contract type and location.", "parameters": {"type": "dict", "properties": {"parties": {"type": "array", "items": {"type": "string"}, "description": "Parties involved in the contract."}, "contract_type": {"type": "string", "description": "Type of the contract."}, "location": {"type": "string", "description": "Location where the contract will be in effect."}}, "required": ["parties", "contract_type", "location"]}}}] | {
"id": "simple_162"
} |
[
{
"content": "Provide me with the property records of my house located at 123 main street, with parcel number 1234567890 in Santa Clara county. Include owners information in the response.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"address\": \"123 main street\", \"parcel_number\": \"1234567890\", \"county\": \"Santa Clara\", \"include_owner\": true}",
"name": "property_records_get"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "property_records_get", "description": "Fetch property records based on location, parcel number and county.", "parameters": {"type": "dict", "properties": {"address": {"type": "string", "description": "Address of the property."}, "parcel_number": {"type": "string", "description": "Parcel number of the property."}, "county": {"type": "string", "description": "County where the property is located."}, "include_owner": {"type": "boolean", "description": "Include owner's name in the property record. Default is false.", "default": false}}, "required": ["address", "parcel_number", "county"]}}}] | {
"id": "simple_163"
} |
[
{
"content": "Provide me the official crime rate of violent crime in San Francisco in 2020.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"city\": \"San Francisco\", \"state\": \"California\", \"type\": \"violent\", \"year\": 2020}",
"name": "get_crime_rate"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_crime_rate", "description": "Retrieve the official crime rate of a city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The name of the city."}, "state": {"type": "string", "description": "The state where the city is located."}, "type": {"type": "string", "description": "Optional. The type of crime. Default is 'violent'"}, "year": {"type": "integer", "description": "Optional. The year for the crime rate data. Default is year 2001."}}, "required": ["city", "state"]}}}] | {
"id": "simple_164"
} |
[
{
"content": "Retrieve cases from 2020 about theft crimes in Los Angeles, California",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"year\": 2020, \"crime_type\": \"theft\", \"location\": \"Los Angeles\"}",
"name": "civil_cases_retrieve"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "civil_cases_retrieve", "description": "Retrieve civil cases based on given parameters, including year, crime type, and location.", "parameters": {"type": "dict", "properties": {"year": {"type": "integer", "description": "Year of the cases"}, "crime_type": {"type": "string", "description": "Type of the crime."}, "location": {"type": "string", "description": "Location of the case in the format of city name."}}, "required": ["year", "crime_type", "location"]}}}] | {
"id": "simple_165"
} |
[
{
"content": "Find a lawyer specializing in divorce cases and charge fee less than 400 dollars per hour in Chicago.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"city\": \"Chicago, IL.\", \"specialty\": [\"Divorce\"], \"fee\": 400}",
"name": "lawyer_find_nearby"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "lawyer_find_nearby", "description": "Locate nearby lawyers based on specific criteria like specialty, fee per hour and city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city and state, e.g. Chicago, IL."}, "specialty": {"type": "array", "items": {"type": "string", "enum": ["Civil", "Divorce", "Immigration", "Business", "Criminal"]}, "description": "Specialization of the lawyer."}, "fee": {"type": "integer", "description": "Hourly fee charged by lawyer"}}, "required": ["city", "specialty", "fee"]}}}] | {
"id": "simple_166"
} |
[
{
"content": "Retrieve the details of a Supreme Court case titled 'Roe v. Wade'.Include dissent information.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_title\": \"Roe v. Wade\", \"include_dissent\": true}",
"name": "law_civil_get_case_details"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "law_civil_get_case_details", "description": "Retrieve the details of a Supreme Court case given its title.", "parameters": {"type": "dict", "properties": {"case_title": {"type": "string", "description": "Title of the Supreme Court case."}, "include_dissent": {"type": "boolean", "description": "If true, the output will include details of the dissenting opinion."}}, "required": ["case_title", "include_dissent"]}}}] | {
"id": "simple_167"
} |
[
{
"content": "Search for ongoing lawsuits related to the company 'Google' filed after January 1, 2021 in California.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company\": \"Google\", \"start_date\": \"01-01-2021\", \"location\": \"California\", \"status\": \"ongoing\"}",
"name": "lawsuit_search"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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 in the format of MM-DD-YYY."}, "location": {"type": "string", "description": "Location where the lawsuit was filed in the format of full state name."}, "status": {"type": "string", "enum": ["ongoing", "settled", "dismissed"], "description": "The status of the lawsuit. Default is 'ongoing'."}}, "required": ["company", "start_date", "location"]}}}] | {
"id": "simple_168"
} |
[
{
"content": "Find the details of the court case identified by docket number 123456 in Texas. Don't return full text",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"docket_number\": \"123456\", \"location\": \"Texas\", \"full_text\": false}",
"name": "court_case_search"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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: state, e.g., Texas"}, "full_text": {"type": "boolean", "default": "false", "description": "Option to return the full text of the case ruling."}}, "required": ["docket_number", "location"]}}}] | {
"id": "simple_169"
} |
[
{
"content": "Find a historical law case about fraud from 2010 to 2015.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"subject\": \"fraud\", \"from_year\": 2010, \"to_year\": 2015}",
"name": "law_case_search_find_historical"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "law_case_search_find_historical", "description": "Search for a historical law case based on specific criteria like the subject and year.", "parameters": {"type": "dict", "properties": {"subject": {"type": "string", "description": "The subject matter of the case, e.g., 'fraud'"}, "from_year": {"type": "integer", "description": "The start year for the range of the case. The case should happen after this year."}, "to_year": {"type": "integer", "description": "The end year for the range of the case. The case should happen before this year."}}, "required": ["subject", "from_year", "to_year"]}}}] | {
"id": "simple_170"
} |
[
{
"content": "Fetch details of a law case with number 43403 in New York court for year 2018.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_number\": 43403, \"court\": \"New York\", \"year\": 2018}",
"name": "fetch_law_case_details"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "fetch_law_case_details", "description": "Fetch details of a specific law case based on case number, year and court.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "integer", "description": "The specific number of the law case."}, "court": {"type": "string", "description": "The city name where the court takes place"}, "year": {"type": "integer", "description": "The year in which the law case took place."}}, "required": ["case_number", "court", "year"]}}}] | {
"id": "simple_171"
} |
[
{
"content": "How to obtain the detailed case information of the 'R vs Adams' legal case?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_id\": \"R vs Adams\", \"details\": true}",
"name": "legal_case_fetch"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "legal_case_fetch", "description": "Fetch detailed legal case information from database.", "parameters": {"type": "dict", "properties": {"case_id": {"type": "string", "description": "The ID of the legal case."}, "details": {"type": "boolean", "description": "True if need the detail info. "}}, "required": ["case_id", "details"]}}}] | {
"id": "simple_172"
} |
[
{
"content": "Find state law cases related to land disputes in the past 5 years from 2015 to 2021 in New York.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"topic\": \"land disputes\", \"year_range\": [2015, 2021], \"location\": \"New York\", \"judicial_system\": \"state\"}",
"name": "law_case_search"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "law_case_search", "description": "Search and retrieve law cases based on the topic, timeline, and location.", "parameters": {"type": "dict", "properties": {"topic": {"type": "string", "description": "The subject matter of the case."}, "year_range": {"type": "array", "items": {"type": "integer"}, "description": "The start and end year for searching cases."}, "location": {"type": "string", "description": "The location where the case is being heard."}, "judicial_system": {"type": "string", "description": "The specific judicial system in which to search (e.g. 'federal', 'state').", "default": "all"}}, "required": ["topic", "year_range", "location"]}}}] | {
"id": "simple_173"
} |
[
{
"content": "Get me the top 10 landmark cases in constitutional law in China.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"field_of_law\": \"constitutional law\", \"top_number\": 10, \"country\": \"China\"}",
"name": "get_top_cases"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_top_cases", "description": "Retrieve a list of the most influential or landmark cases in a specific field of law.", "parameters": {"type": "dict", "properties": {"field_of_law": {"type": "string", "description": "The specific field of law e.g., constitutional law, criminal law, etc."}, "top_number": {"type": "integer", "description": "The number of top cases to retrieve."}, "country": {"type": "string", "description": "The country where the law cases should be retrieved from. Default is United States of America."}}, "required": ["field_of_law", "top_number"]}}}] | {
"id": "simple_174"
} |
[
{
"content": "How many months of experience a Lawyer John Doe has on handling Bankruptcy cases.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"name\": \"John Doe\", \"law_type\": \"Bankruptcy\"}",
"name": "lawyer_get_experience"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "lawyer_get_experience", "description": "Retrieve months of experience of a Lawyer on handling certain type of law cases.", "parameters": {"type": "dict", "properties": {"name": {"type": "string", "description": "The full name of the Lawyer."}, "law_type": {"type": "string", "description": "The type of law case. eg. Bankruptcy"}}, "required": ["name", "law_type"]}}}] | {
"id": "simple_175"
} |
[
{
"content": "Find details of patent lawsuits involving the company 'Apple Inc.' from the year 2010.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company_name\": \"Apple Inc.\", \"year\": 2010, \"case_type\": \"Patent\"}",
"name": "lawsuit_details_find"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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. Default is 'all'."}}, "required": ["company_name", "year"]}}}] | {
"id": "simple_176"
} |
[
{
"content": "Find all Patent lawsuit cases of Facebook in 2018.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company_name\": \"Facebook\", \"year\": 2018, \"status\": \"all\"}",
"name": "get_lawsuit_cases"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_lawsuit_cases", "description": "Retrieve all lawsuit cases related to a specific company during a particular year.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The name of the company."}, "year": {"type": "integer", "description": "The specific year to search for lawsuit cases."}, "status": {"type": "string", "enum": ["open", "closed", "all"], "description": "The status of the lawsuit cases to retrieve. If not specified, defaults to 'all'."}}, "required": ["company_name", "year"]}}}] | {
"id": "simple_177"
} |
[
{
"content": "Find details about lawsuit case numbered 'LAX2019080202' in the Los Angeles court.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_number\": \"LAX2019080202\", \"court_location\": \"Los Angeles\"}",
"name": "get_lawsuit_details"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_lawsuit_details", "description": "Retrieve the detailed information about a lawsuit based on its case number and the court location.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "string", "description": "The case number of the lawsuit."}, "court_location": {"type": "string", "description": "The location of the court where the case is filed."}, "additional_details": {"type": "array", "items": {"type": "string", "enum": ["attorneys", "plaintiffs", "defendants", "charges", "court_updates"]}, "description": "Optional. Array containing additional details to be fetched. Default is all."}}, "required": ["case_number", "court_location"]}}}] | {
"id": "simple_178"
} |
[
{
"content": "Find the latest court case between Apple and Samsung occured in USA.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company1\": \"Apple\", \"company2\": \"Samsung\", \"country\": \"USA\"}",
"name": "find_latest_court_case"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "find_latest_court_case", "description": "Find the latest court case between two companies.", "parameters": {"type": "dict", "properties": {"company1": {"type": "string", "description": "The name of the first company."}, "company2": {"type": "string", "description": "The name of the second company."}, "country": {"type": "string", "description": "The country in which the court case is located.", "default": "USA"}}, "required": ["company1", "company2"]}}}] | {
"id": "simple_179"
} |
[
{
"content": "Find the lawsuits filed against the company Google in California in the year 2020.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"company_name\": \"Google\", \"location\": \"California\", \"year\": 2020}",
"name": "lawsuits_search"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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. Default is 'all'."}}, "required": ["company_name", "location", "year"]}}}] | {
"id": "simple_180"
} |
[
{
"content": "Get details of a lawsuit with case number '123456-ABC' filed in Los Angeles court with verdict",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_number\": \"123456-ABC\", \"court_location\": \"Los Angeles\", \"with_verdict\": true}",
"name": "get_lawsuit_details"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_lawsuit_details", "description": "Retrieve details of a lawsuit based on its case number and court location.", "parameters": {"type": "dict", "properties": {"case_number": {"type": "string", "description": "Case number of the lawsuit."}, "court_location": {"type": "string", "description": "The location of the court where the lawsuit was filed."}, "with_verdict": {"type": "boolean", "description": "Flag to include verdict details if available. Default is False"}}, "required": ["case_number", "court_location"]}}}] | {
"id": "simple_181"
} |
[
{
"content": "Retrieve all the lawsuit details for case number XYZ123.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_number\": \"XYZ123\"}",
"name": "lawsuit_info"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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. Default is 2023 if not specified.", "optional": true, "default": 2023}, "location": {"type": "string", "description": "The location or court jurisdiction where the case was filed. Default is 'all'.", "optional": true}}, "required": ["case_number"]}}}] | {
"id": "simple_182"
} |
[
{
"content": "Search for current lawsuits filed against Apple in Santa Clara County.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"entity\": \"Apple\", \"county\": \"Santa Clara County\", \"state\": \"California\"}",
"name": "lawsuit_search"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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 for example Alameda county."}, "state": {"type": "string", "description": "The state for the lawsuit search. Default is California."}}, "required": ["entity", "county"]}}}] | {
"id": "simple_183"
} |
[
{
"content": "I need the details of the lawsuit case with case ID of 1234 and verify if it's already closed.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"case_id\": 1234, \"closed_status\": true}",
"name": "lawsuit_check_case"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "lawsuit_check_case", "description": "Verify the details of a lawsuit case and check its status using case ID.", "parameters": {"type": "dict", "properties": {"case_id": {"type": "integer", "description": "The identification number of the lawsuit case."}, "closed_status": {"type": "boolean", "description": "The status of the lawsuit case to be verified."}}, "required": ["case_id", "closed_status"]}}}] | {
"id": "simple_184"
} |
[
{
"content": "What will be the weather in New York in the next 72 hours including the precipitation?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"New York\", \"duration\": 72, \"include_precipitation\": true}",
"name": "detailed_weather_forecast"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "detailed_weather_forecast", "description": "Retrieve a detailed weather forecast for a specific location and duration including optional precipitation details.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city name that you want to get the weather for."}, "duration": {"type": "integer", "description": "Duration in hours for the detailed forecast."}, "include_precipitation": {"type": "boolean", "description": "Whether to include precipitation data in the forecast. Default is false."}}, "required": ["location", "duration"]}}}] | {
"id": "simple_185"
} |
[
{
"content": "What is the temperature in celsius and humidity level of Tokyo, Japan right now?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"city\": \"Tokyo\", \"country\": \"Japan\", \"measurement\": \"c\"}",
"name": "current_weather_condition"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "current_weather_condition", "description": "Get the current weather conditions of a specific city including temperature and humidity.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city that you want to get the current weather conditions for."}, "country": {"type": "string", "description": "The country of the city you specified."}, "measurement": {"type": "string", "description": "You can specify which unit to display the temperature in, 'c' for Celsius, 'f' for Fahrenheit. Default is 'c'."}}, "required": ["city", "country"]}}}] | {
"id": "simple_186"
} |
[
{
"content": "What's the current temperature and humidity in Seattle, Washington?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"Seattle\", \"include_temperature\": true, \"include_humidity\": true}",
"name": "get_current_weather"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_current_weather", "description": "Retrieves the current temperature and humidity for a specific location.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city name to get the weather for."}, "include_temperature": {"type": "boolean", "description": "Whether to include the temperature in the result. Default is true."}, "include_humidity": {"type": "boolean", "description": "Whether to include the humidity in the result. Default is true."}}, "required": ["location"]}}}] | {
"id": "simple_187"
} |
[
{
"content": "What is the humidity level in Miami, Florida in the upcoming 7 days?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"Miami\", \"days\": 7}",
"name": "weather_humidity_forecast"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_188"
} |
[
{
"content": "Get weather information for New York, USA for the next 3 days with details.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"New York\", \"days\": 3, \"details\": true}",
"name": "weather_forecast_detailed"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "weather_forecast_detailed", "description": "Retrieve a detailed weather forecast for a specific city like Boston and time frame.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the weather for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}, "details": {"type": "boolean", "description": "Provide detailed weather information or not.", "default": false}}, "required": ["location", "days"]}}}] | {
"id": "simple_189"
} |
[
{
"content": "What's the elevation and area of Yellowstone National Park?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"park_name\": \"Yellowstone\", \"information\": [\"Elevation\", \"Area\"]}",
"name": "park_information"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "park_information", "description": "Retrieve the basic information such as elevation and area of a national park.", "parameters": {"type": "dict", "properties": {"park_name": {"type": "string", "description": "The name of the national park."}, "information": {"type": "array", "items": {"type": "string", "enum": ["Elevation", "Area", "Location", "Established Year"]}, "description": "The type of information you want about the park."}}, "required": ["park_name", "information"]}}}] | {
"id": "simple_190"
} |
[
{
"content": "Find me the 5 tallest mountains within 50km of Denver, Colorado.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"Denver, Colorado\", \"radius\": 50, \"amount\": 5}",
"name": "locate_tallest_mountains"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "locate_tallest_mountains", "description": "Find the tallest mountains within a specified radius of a location.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city from which to calculate distance."}, "radius": {"type": "integer", "description": "The radius within which to find mountains, measured in kilometers."}, "amount": {"type": "integer", "description": "The number of mountains to find, listed from tallest to smallest."}}, "required": ["location", "radius", "amount"]}}}] | {
"id": "simple_191"
} |
[
{
"content": "Calculate the slope gradient in degree between two points on a landscape with coordinates (40.7128, -74.0060) and (34.0522, -118.2437).",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"point1\": [40.7128, -74.006], \"point2\": [34.0522, -118.2437], \"unit\": \"degree\"}",
"name": "calculate_slope_gradient"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"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"]}}}] | {
"id": "simple_192"
} |
[
{
"content": "Find the best local nurseries in Toronto with a good variety of annual plants.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"Toronto\", \"plant_types\": [\"Annual\"]}",
"name": "local_nursery_find"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "local_nursery_find", "description": "Locate local nurseries based on location and plant types availability.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city or locality where the nursery needs to be located."}, "plant_types": {"type": "array", "items": {"type": "string", "enum": ["Annual", "Perennial", "Shrub", "Tree", "Herbs", "Fruits"]}, "description": "Type of plants the nursery should provide."}}, "required": ["location", "plant_types"]}}}] | {
"id": "simple_193"
} |
[
{
"content": "What are the top three plants suitable for a hill slope in terms of erosion prevention?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"slope_type\": \"hill\", \"num_results\": 3}",
"name": "get_plants_for_slope"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_plants_for_slope", "description": "Retrieve the list of plants suitable for slope based on erosion control ability.", "parameters": {"type": "dict", "properties": {"slope_type": {"type": "string", "description": "The type of slope like steep, moderate etc."}, "num_results": {"type": "integer", "description": "The number of top results needed. Default is 5."}}, "required": ["slope_type", "num_results"]}}}] | {
"id": "simple_194"
} |
[
{
"content": "Calculate the carbon footprint of my lifestyle, assuming I drive 20 miles a day, consume 3 meat meals a week, and produce 500 lbs of trash in a year.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"daily_miles\": 20, \"meat_meals_per_week\": 3, \"annual_trash_weight\": 500}",
"name": "calculate_carbon_footprint"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_carbon_footprint", "description": "Calculate the estimated carbon footprint of a lifestyle based on factors such as daily driving distance, weekly meat consumption, and yearly trash production.", "parameters": {"type": "dict", "properties": {"daily_miles": {"type": "integer", "description": "The daily driving distance in miles."}, "meat_meals_per_week": {"type": "integer", "description": "The number of meat-based meals consumed per week."}, "annual_trash_weight": {"type": "integer", "description": "The yearly weight of trash production in pounds."}, "flights_per_year": {"type": "integer", "description": "The number of flights taken per year. Default is 0."}}, "required": ["daily_miles", "meat_meals_per_week", "annual_trash_weight"]}}}] | {
"id": "simple_195"
} |
[
{
"content": "What is the air quality index in London 2022/08/16?",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"London\", \"date\": \"08-16-2022\"}",
"name": "air_quality"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "air_quality", "description": "Retrieve the air quality index for a specific location.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the air quality index for."}, "date": {"type": "string", "description": "The date (month-day-year) you want to get the air quality index for."}}, "required": ["location", "date"]}}}] | {
"id": "simple_196"
} |
[
{
"content": "Find the air quality index in San Diego at 12pm.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"San Diego\", \"time\": \"12pm\"}",
"name": "get_air_quality_index"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "get_air_quality_index", "description": "Retrieve the air quality index at a specified location and time.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The location to get the air quality index for."}, "time": {"type": "string", "description": "The specific time to check the air quality. Default is the current time."}}, "required": ["location", "time"]}}}] | {
"id": "simple_197"
} |
[
{
"content": "Calculate the required water daily intake for a person with weight 70 kg.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"weight\": 70}",
"name": "calculate_daily_water_intake"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "calculate_daily_water_intake", "description": "Calculate the recommended daily water intake for a person based on their weight.", "parameters": {"type": "dict", "properties": {"weight": {"type": "integer", "description": "The weight of the person in kilograms."}, "activity_level": {"type": "string", "description": "The level of physical activity of the person. Default is 'moderate'."}, "climate": {"type": "string", "description": "The climate of the area where the person lives. Default is 'temperate'."}}, "required": ["weight"]}}}] | {
"id": "simple_198"
} |
[
{
"content": "Find air quality index in San Jose for next three days.",
"role": "user",
"tool_calls": null
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"location\": \"San Jose\", \"days\": 3}",
"name": "environmental_data_air_quality_index"
},
"type": "function"
}
]
}
] | [{"type": "function", "function": {"name": "environmental_data_air_quality_index", "description": "Retrieves Air Quality Index (AQI) for specified location over a number of days.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "Name of the city or town to retrieve air quality index for."}, "days": {"type": "integer", "description": "Number of days for which to retrieve data. If not provided, default to today."}}, "required": ["location"]}}}] | {
"id": "simple_199"
} |