messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_values_from_nested_dict\", \"description\": \"Returns a list of values associated with a given key in a nested dictionary.\", \"parameters\": {\"type\": \"object\", \"propert...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_ip_address\", \"description\": \"Checks if a string is a valid IP address (IPv4).\", \"parameters\": {\"ip\": {\"description\": \"The string to check.\", \"type\": \"str\"}}}, {\"name\": \"is_leap_year\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"rentalizer\", \"description\": \"Fetches rental property data for a given address from the AirDNA Rentalizer API.\", \"parameters\": {\"address\": {\"description\": \"The address of the property for which rental data ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_by_id\", \"description\": \"Retrieve certification details by ID using the Toolbench RapidAPI.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the certification to retrieve.\", \"type\": \"str\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"map_lines_to_numbers\", \"description\": \"Parses a text file and returns a dictionary that maps each line in the file to its line number.\", \"parameters\": {\"type\": \"object\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"project_investment_growth\", \"description\": \"Projects the growth of an investment over a specified number of years.\", \"parameters\": {\"principal\": {\"description\": \"The initial investment amount.\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"integrate\", \"description\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_possible_combinations\", \"description\": \"Generates all possible combinations of the input string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input_string...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"last_5_average\", \"description\": \"Calculates the average of the last 5 values of a list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input_list\": {\"type\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"details\", \"description\": \"Fetch product details from the price comparison API using various geographical and identification parameters.\", \"parameters\": {\"is_id\": {\"description\": \"The identifier for the pro...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"decorator_from_cmd_line\", \"description\": \"Creates a decorator function based on a list of command-line arguments.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"lines_line_abs\", \"description\": \"Fetches poems that contain a specific line using the Thundercomb Poetry DB API.\", \"parameters\": {\"line\": {\"description\": \"The exact line to search for in poems.\", \"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"build_span_string\", \"description\": \"Builds an HTML string containing the numbers from 1 to n with each number enclosed in a <span> element.\", \"parameters\": {\"type\": \"ob...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"replace_good_with_great\", \"description\": \"Replaces all occurrences of the word 'good' with 'great' in the given text.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"perpetuity_present_value\", \"description\": \"Calculates the present value of a perpetuity.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"annual_payment\": {\"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"triangle_area\", \"description\": \"Computes the area of a triangle given its base and height.\", \"parameters\": {\"base\": {\"description\": \"The length of the base of the triangle.\", \"type\": \"float\"}, \"heigh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"replace_above_threshold\", \"description\": \"Replaces all values in the array above the threshold with the threshold value, in-place.\", \"parameters\": {\"type\": \"object\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cell_density\", \"description\": \"Calculates the cell density based on the optical density (OD) and dilution factor.\", \"parameters\": {\"od\": {\"description\": \"The optical density of the sample.\", \"type\": \"f...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"stock_get_financial_stmts\", \"description\": \"Fetch financial statements for a given stock symbol.\", \"parameters\": {\"frequency\": {\"description\": \"The frequency of the financial statements. It can be either '...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get\", \"description\": \"Fetches data from the newnew.p.rapidapi.com endpoint with specified query parameters and headers.\", \"parameters\": {\"headerparam\": {\"description\": \"The value to be sent in the 'HeaderP...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"add_nums\", \"description\": \"Add two numbers and return their sum.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"num1\": {\"type\": \"integer\", \"description\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"mileages\", \"description\": \"Fetch mileage data from the car API based on various optional filters and sorting options.\", \"parameters\": {\"make_model_id\": {\"description\": \"The ID of the make and model.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"binary_search\", \"description\": \"Performs binary search on a sorted list to find the index of a target value.\", \"parameters\": {\"arr\": {\"description\": \"The sorted list of integers.\", \"type\": \"List[int]\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"vimeo\", \"description\": \"Checks if a given Vimeo username is available using the Toolbench RapidAPI service.\", \"parameters\": {\"username\": {\"description\": \"The Vimeo username to check for availability.\", \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"first_non_zero\", \"description\": \"Returns the first non-zero element from a given list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"lst\": {\"type\": \"array\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_valid_code_point\", \"description\": \"Checks if a code point is a valid Unicode code point.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code_point\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"heat_transfer_rate\", \"description\": \"Calculates the rate of heat transfer between two bodies of different temperatures in contact.\", \"parameters\": {\"type\": \"object\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_if_valid_identifier\", \"description\": \"Checks if the provided string is a valid identifier.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"identifier_strin...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_digit_count\", \"description\": \"Returns the number of digits in the given number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"num\": {\"type\": \"integer\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"autocomplete_search\", \"description\": \"Search for titles and/or people by name or partial name, useful for building an autocomplete feature. The results include a `result_type` field indicating whether the result i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"escape_html_characters\", \"description\": \"Escapes HTML special characters in a string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"download_video_or_reel\", \"description\": \"Downloads Facebook video or reel links in HD and SD formats.\", \"parameters\": {\"url\": {\"description\": \"The URL of the Facebook video or reel to be downloaded.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"read_file_by_name\", \"description\": \"Reads the content of a file and returns it as a string.\\n\\nIf the file does not exist, raises an IOError exception with the message \\\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"potential_energy\", \"description\": \"Calculates the electrostatic potential energy given the charge and voltage.\", \"parameters\": {\"charge\": {\"description\": \"The electric charge.\", \"type\": \"float\"}, \"vo...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"percentage_of_total\", \"description\": \"Computes the percentage of a given number `x` and a list of numbers `nums`.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_key_with_max_value\", \"description\": \"Returns the key with the largest value in the dictionary.\\n\\nIf there are multiple keys with the same maximum value, returns any of...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_ip_data\", \"description\": \"Fetch location-related data for a given IP address using the APIIP.net service.\", \"parameters\": {\"callback\": {\"description\": \"JSONP callback function name as per the APIIP.net...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_absolute_coordinate\", \"description\": \"Calculates the absolute coordinate from the relative coordinate and the direction vector.\", \"parameters\": {\"type\": \"obje...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"find_files\", \"descri...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_all_kfc_locations_by_state\", \"description\": \"Fetches all KFC locations in a specified state using the given RapidAPI key and returns the results.\", \"parameters\": {\"page\": {\"description\": \"The page numb...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"options_historical\", \"description\": \"Returns historical options data based on the given parameters.\", \"parameters\": {\"expiration\": {\"description\": \"The expiration date of the option in the format YYYY-mm-d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_first_non_repeating_char\", \"description\": \"Finds the first non-repeating character in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"count_occ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_standard_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"explore\", \"description\": \"Fetches a list of recipes from the Worldwide Recipes API with optional pagination support.\", \"parameters\": {\"start\": {\"description\": \"The starting point for pagination. Page 1 cor...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"hyperlink\", \"description\": \"Constructs an HTML hyperlink with the given URL and text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"url\": {\"type\": \"string\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_bytes_to_int\", \"description\": \"Converts a bytes object into an int that represents the binary data.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"b\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_languages_by_extension\", \"description\": \"Maps file extensions to the corresponding list of languages.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"filenam...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"numeric_transform\", \"description\": \"Transforms the values in the specified column based on their data type.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"df\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"monthly_mortgage_payment\", \"description\": \"Calculates the monthly mortgage payment based on the loan amount, annual interest rate, and loan term.\", \"parameters\": {\"loan_amount\": {\"description\": \"The total ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"news_latest_page\", \"description\": \"Fetches the latest news stories in chronological order, filtered by the specified page ID.\", \"parameters\": {\"page_id\": {\"description\": \"The identifier for the specific ne...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"us_ia\", \"description\": \"Retrieves current or historical gas price data for Iowa.\", \"parameters\": {\"date\": {\"description\": \"Specific date for querying historical data starting from 2023-06-01. Defaults to N...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"eps_revisions\", \"description\": \"Fetches analysts\\u2019 revisions of a company's future quarterly and annual earnings per share (EPS) from the last week and month.\", \"parameters\": {\"symbol\": {\"description\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"tweet_retweeters\", \"description\": \"Fetches the list of retweeters for a given tweet.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the tweet for which to fetch retweeters.\", \"type\": \"str\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"actors_random\", \"description\": \"Fetches a random list of actors from the Movies Database RapidAPI.\", \"parameters\": {\"limit\": {\"description\": \"The number of random actors to retrieve. Defaults to None, and ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"models\", \"description\": \"Search for car models based on various criteria such as year, make, model, make_id, and more. The results can be customized using different parameters to limit, sort, and filter the data.\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_addresses\", \"description\": \"Fetches addresses from the address-monitor API with specified query parameters.\", \"parameters\": {\"limit\": {\"description\": \"The maximum number of addresses to fetch. Defaults...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_raids_by_level\", \"description\": \"Fetches all guardian raids for a specified level.\", \"parameters\": {\"level\": {\"description\": \"The level of the guardian raids to retrieve information for.\", \"type\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"preprocess_csv_timestamps\", \"description\": \"Extracts the timestamp column from a CSV file, converts the timestamps to a usable number, and sorts the data.\", \"parameters\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"count_bits\", \"description\": \"Counts the number of set bits (1's) in the binary representation of a number.\", \"parameters\": {\"num\": {\"description\": \"The input number.\", \"type\": \"int\"}}}, {\"name\": \"w...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"normalize_vectors\", \"description\": \"Normalizes the word count vector by dividing each count by the square root of the sum of squares of the word counts.\", \"parameters\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"transform_and_save_dict\", \"description\": \"Transforms a dictionary into a pandas DataFrame with a specific column order and saves it as a CSV file.\", \"parameters\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"read_desktop_file\", \"description\": \"Reads the values of the fields \\\"Name\\\", \\\"GenericName\\\", and \\\"Exec\\\" from a desktop file.\", \"parameters\": {\"type\": \"ob...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"descriptio...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_divisible_by_3\", \"description\": \"Checks whether a given number is divisible by 3.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"num\": {\"type\": \"integ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"monthly_mortgage_payment\", \"description\": \"Calculates the monthly mortgage payment based on the loan amount, annual interest rate, and loan term.\", \"parameters\": {\"loan_amount\": {\"description\": \"The total ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cagr\", \"description\": \"Calculates the Compound Annual Growth Rate (CAGR) of an investment.\", \"parameters\": {\"start_value\": {\"description\": \"The initial value of the investment.\", \"type\": \"float\"}, \"e...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"industry_list\", \"description\": \"Gets a list of industries based on the provided alias from the specified API.\", \"parameters\": {\"alias\": {\"description\": \"An alias used to specify which industry list to fetc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"summarize_items\", \"description\": \"Summarizes the contents of a list of dictionaries that contain \\\"name\\\" and \\\"quantity\\\" keys,\\nwhere the output is a dictionary ma...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"tournaments\", \"description\": \"Retrieves a schedule of all tennis tournaments for a given tour code and season ID using the specified RapidAPI key.\", \"parameters\": {\"tour_code\": {\"description\": \"The code re...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_trivia_fact\", \"description\": \"Fetches a trivia fact about a given number from the Numbers API.\", \"parameters\": {\"number\": {\"description\": \"The number for which to retrieve the trivia fact.\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_movies_by_year\", \"description\": \"Fetches a list of movies released in a specified year from the IMDb API.\", \"parameters\": {\"movie_year\": {\"description\": \"The year to filter movies by. Defaults to None....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"players_photo\", \"description\": \"Retrieves the photo of a soccer player given the player's ID using the Soccerway API.\", \"parameters\": {\"player_id\": {\"description\": \"The unique identifier of the soccer play...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"partition_elements\", \"description\": \"Returns a list of integers representing the number of elements in each partition.\\n\\nThe function ensures that the number of elements i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"loginuser\", \"description\": \"Logs in a user using the provided username and password, utilizing the Toolbench RapidAPI key for authorization.\", \"parameters\": {\"username\": {\"description\": \"The username for l...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_12_to_24\", \"description\": \"Converts a 12-hour clock time string to a 24-hour clock.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"time_str\": {\"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"reverse_ab\", \"description\": \"Reverses all occurrences of 'a' and 'b' in the given string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"s\": {\"type\": \"strin...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getpetbyid\", \"description\": \"Fetches the details of a pet given its pet ID using the Toolbench RapidAPI.\", \"parameters\": {\"petid\": {\"description\": \"The ID of the pet to retrieve.\", \"type\": \"int\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getstats\", \"description\": \"Fetches the latest and historical coronavirus statistics data, including confirmed cases, deaths, and recovered cases, for a specified location.\", \"parameters\": {\"location\": {\"desc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"prefix_filter\", \"description\": \"Filters a nested dictionary to include only keys that start with the specified prefix.\", \"parameters\": {\"type\": \"object\", \"properties\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_power_of_two\", \"description\": \"Checks if a positive integer is a power of 2.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"n\": {\"type\": \"integer\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"std_deviation\", \"description\": \"Calculates the standard deviation of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[float]\"}}}, {\"name\": \"neuro...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"round_to_2_dp\", \"description\": \"Rounds a floating-point number to 2 decimal places and returns it as a string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"nu...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"trim_strings_from_file\", \"description\": \"Reads a file line by line and yields each string with trailing spaces removed.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_sort_codes\", \"description\": \"Returns a list of dictionaries sorted by the 'sort_code' key, including only those where 'val' is an integer.\", \"parameters\": {\"type\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"factorial_uncached\", \"description\": \"Computes the factorial of a number without using caching.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"n\": {\"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"merge_vectors\", \"description\": \"Merges two vectors into a dictionary where keys are from vector A and values are the sum of corresponding elements in vector B.\", \"parameter...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"metric_kilograms\", \"description\": \"Calculates the BMI (Body Mass Index) of an individual using metric measurements.\", \"parameters\": {\"weight\": {\"description\": \"The weight of an individual in kilograms (kg)...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search_team\", \"description\": \"Searches for a team using the provided team name and returns the response from the API.\", \"parameters\": {\"name\": {\"description\": \"The name of the team to search for.\", \"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"note_duration\", \"description\": \"Calculates the duration between two musical notes based on their frequencies and the tempo.\", \"parameters\": {\"freq1\": {\"description\": \"The frequency of the first note in Hz....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_of_all_elements\", \"description\": \"Returns the sum of all elements in a given matrix. If the matrix is empty, returns 0.\", \"parameters\": {\"type\": \"object\", \"proper...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getplatformlist\", \"description\": \"Fetches the list of platforms with their IDs and names from the API endpoint as JSON.\", \"parameters\": {\"page\": {\"description\": \"Page number to retrieve the platform list f...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"compose_phone_number\", \"description\": \"Formats a raw phone number into the form '+1-111-222-3344'.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"raw_phone_numb...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_male_name\", \"description\": \"Determines if the given name is a male name.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"desc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_breed_information\", \"description\": \"Retrieve information for a specific dog breed from the RapidAPI service.\", \"parameters\": {\"breed\": {\"description\": \"The name of the dog breed to get information abou...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"provider2_live_match_id\", \"description\": \"Fetches live match details from the provider2 API for a given match ID.\", \"parameters\": {\"is_id\": {\"description\": \"The match ID for which to fetch the live details...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"delete_files_in_directory\", \"description\": \"Deletes all files in a given directory that match a specified glob pattern.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"count_cat\", \"description\": \"Counts the number of times the word \\\"cat\\\" appears in a text file.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"file_path\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"product_offers\", \"description\": \"Fetches a list of offers for a specific product on Amazon based on the given ASIN.\", \"parameters\": {\"asin\": {\"description\": \"Product ASIN to get offers for. Supports batchi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_popular_hashtags\", \"description\": \"Finds the most popular hashtags in a list of tweets.\\n\\nA hashtag is considered popular if it is used in more than 20% of the tweets....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_column\", \"description\": \"Extracts all elements of a particular column from a 2-dimensional array.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"array\"...