messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"euclidean_distance\", \"description\": \"Computes the Euclidean distance between two points in a 2D plane.\", \"parameters\": {\"point_a\": {\"description\": \"The coordinates of the first point (x, y).\", \"type\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search\", \"description\": \"Search for images using the Webit Image Search API.\", \"parameters\": {\"q\": {\"description\": \"The search query string.\", \"type\": \"str\", \"default\": \"pizza\"}, \"number\": {\"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"factorial\", \"description\": \"Computes the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer to compute the factorial of.\", \"type\": \"int\"}}}, {\"name\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"top_grossing_games\", \"description\": \"Fetches the top-grossing games chart from the Google Play Store, with support for filtering by category, language, and region.\", \"parameters\": {\"limit\": {\"description\": ...
[ { "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\": \"number_to_english\", \"description\": \"Converts a number to its English word representation.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"number\": {\"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"findbypincode\", \"description\": \"Fetches information for a given Indian pincode using the Toolbench RapidAPI.\", \"parameters\": {\"pincode\": {\"description\": \"The pincode for which information needs to be fetch...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"change_case_of_first_letter\", \"description\": \"Modifies the case of the first letter of each word in a string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"str...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_same_byte_array\", \"description\": \"Checks if two byte arrays are equal in length and contain the same elements.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"music_search\", \"description\": \"Searches for music or audio names and retrieves artists' cover images and sound URLs.\", \"parameters\": {\"query\": {\"description\": \"The search term for the music or audio, typic...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"longest_concatenated_string\", \"description\": \"Finds the longest string that can be formed by concatenating all the strings from the list in any order.\", \"parameters\": {\"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"swift_codes_by_country\", \"description\": \"Fetches and returns a list of SWIFT codes for a specified country using the RapidAPI service.\", \"parameters\": {\"country_code\": {\"description\": \"Two-letter ISO count...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"count_unique_integers\", \"description\": \"Counts the number of unique integers in the list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"integers\": {\"type\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"video\", \"description\": \"Fetches all available information for a specific YouTube video using the provided video ID.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier of the YouTube video.\",...
[ { "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: [{\"type\": \"function\", \"function\": {\"name\": \"convert_oscar_score\", \"description\": \"Converts an Oscar score to a numerical score between 0.0 and 100.0, inclusive.\\n\\nIf the input is less than 0.0 or greater than 1.0, t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"reels_downloader\", \"description\": \"Downloads Instagram reels or posts using a given link and RapidAPI key.\", \"parameters\": {\"link\": {\"description\": \"The URL of the Instagram media (reel or post) to be down...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_package_name_from_pm_string\", \"description\": \"Extracts the package name from a package manager string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"pm_str...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_subsets\", \"description\": \"Calculates the sums of all subsets of the given list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"nums\": {\"type\": \"array\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_individual_quotes_by_quote_id\", \"description\": \"Fetches individual quotes based on the given quote ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the quote to be retrieved.\", \"type\": \"int...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"set_active_objects\", \"description\": \"Sets the `is_active` attribute of objects to `True` if all specified attributes match those of the reference object.\", \"parameters\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_tuple_to_string\", \"description\": \"Converts a tuple of string items into a single string, where the items\\nare separated by commas and enclosed in double quotes if th...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_function_signatures\", \"description\": \"Parses a string of function signatures and returns a list of functions encoded as strings.\", \"parameters\": {\"type\": \"object\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"video_post_metadata\", \"description\": \"Fetch metadata for a single TikTok video post.\", \"parameters\": {\"video\": {\"description\": \"The URL of the TikTok video post. For example: 'https://www.tiktok.com/@charl...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"shape_to_strings\", \"description\": \"Converts a 3-D tensor's shape to a list of descriptive strings.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tensor\": {\"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"assess_diabetes_risk\", \"description\": \"Assesses the risk of developing type 2 diabetes based on body mass index (BMI) and physical activity level.\", \"parameters\": {\"weight_lbs\": {\"description\": \"Body weigh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"walk_transit_and_bike_score\", \"description\": \"Retrieve the Walk, Transit, and Bike Score for a property using its Zillow property ID (zpid).\", \"parameters\": {\"zpid\": {\"description\": \"The Zillow property ID...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_strings_with_pattern\", \"description\": \"Finds indices of strings in the list that contain the given pattern.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"interpolate_string_list\", \"description\": \"Joins a list of strings into a single string with a specified separator.\", \"parameters\": {\"type\": \"object\", \"properties\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"predict_forest_area\", \"description\": \"Predicts the change in forest area over a specified number of years.\", \"parameters\": {\"location\": {\"description\": \"The geographic location for the prediction.\", \"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_median\", \"description\": \"Calculates the median of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}, {\"name\": \"di...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_mean_and_standard_deviation\", \"description\": \"Calculates the mean and standard deviation of a list of numbers.\", \"parameters\": {\"type\": \"object\", \"propertie...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"webcams_list_orderby_order_sort\", \"description\": \"Fetches a list of webcams ordered and sorted based on the specified parameters.\", \"parameters\": {\"sort\": {\"description\": \"The sorting direction for the res...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_player_details\", \"description\": \"Retrieves player details based on the provided username and region.\", \"parameters\": {\"name\": {\"description\": \"The username of the player. This is case sensitive.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"type_parent_get_recent_investment_rating_change\", \"description\": \"Fetches the recent investment rating change as displayed in the Parent tab for a given security.\", \"parameters\": {\"type\": {\"description\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"t3ma\", \"description\": \"Fetches the Triple Exponential Moving Average (T3MA) for a given financial instrument.\", \"parameters\": {\"symbol\": {\"description\": \"Instrument symbol, which can be any equity, index, ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"all_songs_from_artist\", \"description\": \"Retrieves all songs by the specified artist using the Toolbench RapidAPI service.\", \"parameters\": {\"artist\": {\"description\": \"The name of the artist whose songs are ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calc_list_product\", \"description\": \"Calculates the product of the elements in the input list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"L\": {\"type\": \"a...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"hex_to_byte_array\", \"description\": \"Converts a 16-bit hexadecimal string to a byte array string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"hex_string\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"events\", \"description\": \"Fetches economic events with optional filtering by date range and country codes.\", \"parameters\": {\"to\": {\"description\": \"End date for filtering events, in the format 'YYYY-MM-DD'. ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"livetraffic\", \"description\": \"Retrieves information about all aircraft within a 25-nautical mile radius of the specified latitude and longitude.\", \"parameters\": {\"lat\": {\"description\": \"Latitude of the cen...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_max_subarray_sum\", \"description\": \"Finds the maximum sum of a contiguous subarray within a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The input list of integers.\", \"type\": \"List[i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_biden_articles_from_specific_newspaper\", \"description\": \"Fetches all articles related to Biden from a specified newspaper using a given API key.\", \"parameters\": {\"newspaper\": {\"description\": \"The name ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_image_paths\", \"description\": \"Gets the paths to all image files within the directory and its subdirectories.\\n\\nIf the argument is a string representing a file path to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_command\", \"description\": \"Formats a command and its arguments as a shell command.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"command\": {\"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"t2g_kurs_check\", \"description\": \"Checks the exchange rate of IDR to another currency on a given date.\", \"parameters\": {\"date\": {\"description\": \"The date for which to check the exchange rate, in the format ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"split_and_convert_to_int\", \"description\": \"Splits a string based on a separator and casts each element to an integer.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_free_port\", \"description\": \"Searches for a free port number in a given range of port numbers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"starting_port\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"unpack_integers\", \"description\": \"Unpacks a list of 32-bit integers into bytes.\\n\\nEach integer is structured as a 4-byte big-endian value representing the following data:\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_type_counts\", \"description\": \"Retrieves a list of type names and counts for each type of object in the list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"structural_analysis\", \"description\": \"Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.\", \"parameters\": {\"building_id\": {\"description\": \"The unique identifier of...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"round_to_nearest_half\", \"description\": \"Rounds a number to the nearest 0.5 multiple.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"num\": {\"type\": [\"integer...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"build_lambda_function\", \"description\": \"Builds a lambda function that prints the values of the given environment variables.\", \"parameters\": {\"type\": \"object\", \"proper...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"d\", \"description\": \"Generates a dictionary based on the given list of keys.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"lst\": {\"type\": \"array\", \"items\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getbookcoverurl\", \"description\": \"Fetches the URL of a book cover image using the provided language code and ISBN.\", \"parameters\": {\"languagecode\": {\"description\": \"The language code in which the book cove...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"list_by_equipment\", \"description\": \"Fetch a list of exercises by the type of equipment.\", \"parameters\": {\"type\": {\"description\": \"The equipment type to filter exercises by.\", \"type\": \"str\", \"default\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"binary_addition\", \"description\": \"Adds two binary numbers and returns the result as a binary string.\", \"parameters\": {\"a\": {\"description\": \"The first binary number.\", \"type\": \"str\"}, \"b\": {\"descrip...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"to_int_dict\", \"description\": \"Converts a dictionary to one with integer keys and values.\\n\\nIf the original dictionary has numeric keys, the returned dictionary will have t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"neuronal_activity_rate\", \"description\": \"Calculates the neuronal activity rate based on the synaptic input rate, synaptic weight, and decay constant.\", \"parameters\": {\"synaptic_input_rate\": {\"description\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_key\", \"description\": \"Extracts the value of a key in a nested dictionary, where keys are separated by periods.\", \"parameters\": {\"type\": \"object\", \"properties\...
[ { "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\": \"string_to_utf8_bytes\", \"description\": \"Converts a string into a list of bytes using the UTF-8 encoding scheme.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"st...
[ { "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\": \"get_holidays_by_yea...
[ { "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: [{\"name\": \"prime_factorization\", \"description\": \"Computes the prime factorization of a positive integer.\", \"parameters\": {\"number\": {\"description\": \"The positive integer to factorize.\", \"type\": \"int\"}}}, {\"name...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"miles_to_kilometers\", \"description\": \"Converts the given distance in miles to kilometers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"miles\": {\"type\": \"n...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"deep_copy_list_of_tensors\", \"description\": \"Performs a deep copy of a list of tensors.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tensors\": {\"type\": \"ar...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"pow_rec\", \"description\": \"Calculates x raised to the power of n using recursion.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"x\": {\"type\": \"integer\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"replace_accented_e\", \"description\": \"Replaces all \\\"\\u00e9\\\" and \\\"\\u00eb\\\" characters with \\\"e\\\" in the given string, accounting for Unicode variations.\", \"p...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"apply_modular_exponentiation\", \"description\": \"Applies modular exponentiation to compute a^b mod 1000000007.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"a\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"read_file_process_lines\", \"description\": \"Reads the contents of a text file, processes each line, and returns the result as a list of lines.\", \"parameters\": {\"type\": \"o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"exact_url\", \"description\": \"Retrieves backlinks for a specified domain using the Best Backlink Checker API.\", \"parameters\": {\"domain\": {\"description\": \"The domain for which backlinks are to be retrieved.\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_symmetric_matrix\", \"description\": \"Creates a symmetric matrix by reflecting the input matrix about its main diagonal.\", \"parameters\": {\"type\": \"object\", \"properti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_list_element\", \"description\": \"Returns the element at the given index of a given list lst using safe list access.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"replace_AE_without_regex\", \"description\": \"Replaces all instances of 'A' in the given string with '4' and all instances of 'E' with '3'.\", \"parameters\": {\"type\": \"objec...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"binary_addition\", \"description\": \"Adds two binary numbers and returns the result as a binary string.\", \"parameters\": {\"a\": {\"description\": \"The first binary number.\", \"type\": \"str\"}, \"b\": {\"descrip...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"complex_add\", \"description\": \"Adds two complex numbers represented as tuples.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"c1\": {\"type\": \"array\", \"prefi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_matching_value\", \"description\": \"Returns the value associated with the first key that matches the target value in the dictionary.\", \"parameters\": {\"type\": \"object\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"take_image_screenshot\", \"description\": \"Takes a screenshot of a specified website using given dimensions.\", \"parameters\": {\"width\": {\"description\": \"The width of the screenshot in pixels. Defaults to 1024....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"random_digits\", \"description\": \"Generates a random sequence of digits of a given length.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"n\": {\"type\": \"intege...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"dict_to_array\", \"description\": \"Converts a dictionary to an array, where the key-value pairs are aligned with their sequential integer keys.\", \"parameters\": {\"type\": \"o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"count_occurrences\", \"description\": \"Counts the occurrences of each element in a list and returns a dictionary with the counts.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"onehot_encoding\", \"description\": \"Converts a list of categorical values into a NumPy array of one-hot encoded values.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"invert_permutation\", \"description\": \"Inverts a permutation.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"permutation\": {\"type\": \"array\", \"items\": {\"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"singleton_decorator\", \"description\": \"Decorator to create a singleton object.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"remove_duplicates\", \"description\": \"Removes duplicate elements from a list while preserving the order.\", \"parameters\": {\"lst\": {\"description\": \"The input list.\", \"type\": \"List\"}}}]" }, { "role...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"window_indices\", \"description\": \"Generates a list of tuple pairs of indices that define a window around an index i.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "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: [{\"type\": \"function\", \"function\": {\"name\": \"generate_points_in_rectangle\", \"description\": \"Generates a list of random coordinate points inside a given rectangle.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"normalize_string_list\", \"description\": \"Normalizes a list of strings by removing leading and trailing whitespace, punctuation, and special characters.\", \"parameters\": {\"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"matchschedules\", \"description\": \"Fetches the cricket match schedules for a given date, including match timings, teams, and other relevant information.\", \"parameters\": {\"year\": {\"description\": \"The year for...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"multiply_all_numbers_except_index\", \"description\": \"Returns a new list where each element is the product of all the other numbers in the list.\", \"parameters\": {\"type\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_highest_paid_employee\", \"description\": \"Finds the ID of the highest paid employee.\\n\\nIf there are multiple employees with the same highest salary, returns the one with...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_user_info_by_user_id\", \"description\": \"Fetch Instagram user information by user ID using the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The Instagram user ID for which the information...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"pattern_in_string\", \"description\": \"Checks if a pattern is found in a given string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"string\": {\"type\": \"string...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_salary\", \"description\": \"Calculate an employee's pay based on their hours worked and hourly rate.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"hours...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"write_csv_from_dict\", \"description\": \"Writes a list of dictionaries to a CSV file.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"csv_file_path\": {\"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"project_population\", \"description\": \"Projects the population size after a specified number of years.\", \"parameters\": {\"current_pop\": {\"description\": \"The current population size.\", \"type\": \"int\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"log_convert\", \"description\": \"Converts a number to its logarithmic form in a given base.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"x\": {\"type\": \"number...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_request_url\", \"description\": \"Constructs a URL from a base URL and query parameters.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"base_url\": {\"type\": \...