messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"business_photos\", \"description\": \"Fetches photos of a business using its unique Business Id through the RapidAPI service.\", \"parameters\": {\"business_id\": {\"description\": \"The unique identifier of the busin...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_vowels_count\", \"description\": \"Returns the number of vowels (a, e, i, o, u) in the given string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"s\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"word_count_dict\", \"description\": \"Constructs a dictionary whose keys are the unique words from a string, and the values are the number of times that word appears in the strin...
[ { "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\": \"is_alpha_numeric\", \"description\": \"Checks if the input string contains only alphanumeric characters, including underscores and dashes.\", \"parameters\": {\"type\": \"object\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_array_chunks\", \"description\": \"Splits an array into subarrays of a given size.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"array\": {\"type\": \"array\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"add_underscore_and_hyphen\", \"description\": \"Creates a new string where each character from the input string is prefixed with an underscore (_) and followed by a hyphen (-).\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"longest_increasing_subsequence\", \"description\": \"Finds the length of the longest increasing subsequence in a 1-dimensional array.\", \"parameters\": {\"type\": \"object\", \"...
[ { "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: [{\"name\": \"can_attend_all_meetings\", \"description\": \"Determines if a person can attend all meetings given a list of meeting time intervals.\", \"parameters\": {\"intervals\": {\"description\": \"A list of meeting time interv...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_elevation\", \"description\": \"Gets the elevation for specified latitude and longitude using the Toolbench RapidAPI service.\", \"parameters\": {\"lat\": {\"description\": \"Latitude of the location for which the...
[ { "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\": \"element_wise_product\", \"description\": \"Performs element-wise multiplication of two tensors of the same shape. If the element-wise product is zero, sets the result to one.\", ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_joystick_compatibility\", \"description\": \"Check if a joystick is compatible with the game controller.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"joysti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"d_die\", \"description\": \"Rolls a die with a given number of faces by making a request to an API.\", \"parameters\": {\"die\": {\"description\": \"The number of faces on the die. Must be between 2 and 100.\", \"type...
[ { "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\": \"project_investment_...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"player_data\", \"description\": \"Fetches player data from the sports API using the provided player ID.\", \"parameters\": {\"player_id\": {\"description\": \"The ID of the player whose data is to be fetched.\", \"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_list_of_ints\", \"description\": \"Formats a list of integers into a string with the number of unique values and their counts.\", \"parameters\": {\"type\": \"object\", \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_email\", \"description\": \"Checks if an email address is valid.\", \"parameters\": {\"email\": {\"description\": \"The email address to validate.\", \"type\": \"str\"}}}]" }, { "role": "user", "c...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_palindrome\", \"description\": \"Checks if a string is a palindrome.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"binary_search\", \"description\": \"Per...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"continents\", \"description\": \"Fetches and returns a list of continents of the world localized to the requested language, with various filtering options.\", \"parameters\": {\"fields\": {\"description\": \"Specifies...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"item_by_id\", \"description\": \"Fetch an item from the Hacker News API by its unique ID.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier of the item to retrieve.\", \"type\": \"str\", \"defau...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"regular_dice\", \"description\": \"Roll a specified number of regular dice using the RapidAPI Dice Roll Simulator.\", \"parameters\": {\"dice\": {\"description\": \"Number of dice to roll. Defaults to 3.\", \"type\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"min_meeting_rooms\", \"description\": \"Finds the minimum number of meeting rooms required to accommodate all meetings.\", \"parameters\": {\"intervals\": {\"description\": \"A list of meeting time intervals, where ea...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"tennis_match_statistics\", \"description\": \"Fetches and returns statistics about a given tennis match identified by `match_id`.\", \"parameters\": {\"match_id\": {\"description\": \"The unique identifier for the ten...
[ { "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: [{\"type\": \"function\", \"function\": {\"name\": \"parse_http_request\", \"description\": \"Parses a raw HTTP request string and returns a dictionary containing the request method, path, and protocol.\", \"parameters\": {\"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_quarterly_dividend\", \"description\": \"Calculates the quarterly dividend per share based on the total dividend payout and the number of outstanding shares.\", \"parameters\": {\"total_dividend\": {\"descri...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"job\", \"description\": \"Search for job opportunities based on a provided query string.\", \"parameters\": {\"query\": {\"description\": \"A URL-encoded query string specifying the position title and optionally the l...
[ { "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\": \"batch_and_concatenate\", \"description\": \"Batches and concatenates tensors for deep learning.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tensors\": {\"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"clean_column_names\", \"description\": \"Cleans column names by removing non-alphanumeric characters and converting them to lowercase.\", \"parameters\": {\"type\": \"object\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"readmail\", \"description\": \"Fetches mail data from the provided mail ID using the Toolbench RapidAPI service.\", \"parameters\": {\"mailid\": {\"description\": \"The ID of the mail to retrieve.\", \"type\": \"str\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"carriers_detect\", \"description\": \"Detects the carrier by providing a parcel tracking number using the TrackingMore API.\", \"parameters\": {\"trackingnumber\": {\"description\": \"The tracking number of the parcel...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"love_quote\", \"description\": \"Fetches and returns love quotes from the olato-quotes API.\", \"parameters\": {\"quotes\": {\"description\": \"Specific quotes to search for. Defaults to 'random quotes'.\", \"type\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_and_average\", \"description\": \"Calculates the sum and average of a list of numbers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"numbers\": {\"type\": \"ar...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"merge_sorted_lists\", \"description\": \"Merges two sorted lists into a single sorted list.\", \"parameters\": {\"list1\": {\"description\": \"The first sorted list.\", \"type\": \"List[int]\"}, \"list2\": {\"descript...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"convert_cooking_measurements\", \"description\": \"Converts a quantity of a cooking ingredient from one measurement unit to another.\", \"parameters\": {\"quantity\": {\"description\": \"The quantity of the item to co...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_all_posts\", \"description\": \"Retrieves a paginated list of all posts from the API.\", \"parameters\": {\"per_page\": {\"description\": \"The number of posts to retrieve per page. Defaults to 10.\", \"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"country_location_api\", \"description\": \"Retrieves location data for a specified country using the Country Location API.\", \"parameters\": {\"country\": {\"description\": \"Name of the country for which to retrieve...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"min_meeting_rooms\", \"description\": \"Finds the minimum number of meeting rooms required to accommodate all meetings.\", \"parameters\": {\"intervals\": {\"description\": \"A list of meeting time intervals, where ea...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_the_latest_remote_jobs\", \"description\": \"Fetches the latest 20 remote job listings from a specified company and/or category using the RapidAPI.\", \"parameters\": {\"company\": {\"description\": \"The company ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_name_from_context_item\", \"description\": \"Retrieves the name property from a given context item.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"context_item\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_sparsity\", \"description\": \"Calculates the sparsity of a 2D NumPy array.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"matrix\": {\"type\": \"object\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"vin_decoder\", \"description\": \"Decodes a given VIN (Vehicle Identification Number) for a vehicle manufactured in Europe to retrieve information such as car model, maker, year, engine, and other relevant details.\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_string_count_dict\", \"description\": \"Returns a dictionary mapping each string to its frequency in the list.\\nDictionary keys combine the string with its length (e.g., \\\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_power_of_two\", \"description\": \"Checks if a number is a power of two.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"calculate_distance\", \"descripti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_entry\", \"description\": \"Finds the first entry in the given list of objects that has a specific attribute and the attribute has a specific key with a specific value.\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"balance_sheet_statement\", \"description\": \"Fetches the balance sheet statement of a specified company by its ticker symbol.\", \"parameters\": {\"ticker\": {\"description\": \"The ticker symbol of the company whose...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"prematch\", \"description\": \"Fetches the prematch list from the Sports Betting API.\", \"parameters\": {\"sp\": {\"description\": \"The sport ID.\", \"type\": \"int\", \"default\": \"\"}, \"lang\": {\"description\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"construct_transition_matrix\", \"description\": \"Constructs the transition matrix T from the original graph G.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"graph...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_leap_year\", \"description\": \"Checks if a year is a leap year.\", \"parameters\": {\"year\": {\"description\": \"The year to check.\", \"type\": \"int\"}}}, {\"name\": \"predict_forest_area\", \"description\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"safe_mult\", \"description\": \"Safely multiplies two numbers.\\n\\nHandles type errors by checking if both arguments are numbers and returns 0 if they are not.\\nRe-raises a Zer...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_same_length\", \"description\": \"Checks if two lists have the same length.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"list1\": {\"type\": \"array\", \"descr...
[ { "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: [{\"name\": \"product_reviews\", \"description\": \"Fetch product reviews from the Real-Time Product Search API, supporting infinite pagination and filtering options.\", \"parameters\": {\"product_id\": {\"description\": \"The prod...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_first_matching_dict\", \"description\": \"Returns the first dictionary in a list where the value of a specified attribute matches the given value.\", \"parameters\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_minimum_rotated_sorted_array\", \"description\": \"Finds the minimum element in a rotated sorted array.\", \"parameters\": {\"nums\": {\"description\": \"The rotated sorted array.\", \"type\": \"List[int]\"}}}, {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"clean_keys\", \"description\": \"Cleans the keys of a list of dictionaries by converting them to lowercase and removing all spaces.\", \"parameters\": {\"type\": \"object\", \"pr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_string_with_100_lines\", \"description\": \"Generates a string with 100 lines, each consisting of the line number and the word \\\"Python\\\".\", \"parameters\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"count_integer_pairs\", \"description\": \"Counts the occurrences of integers in a list of integer pairs.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"pairs\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cpf\", \"description\": \"Fetches information of a partner or administrator based on their CPF (Cadastro de Pessoas F\\u00edsicas).\", \"parameters\": {\"cpf\": {\"description\": \"The CPF number of the partner or adm...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getfutureevents\", \"description\": \"Fetches future election events for a given page from the Election2020 Smartable API.\", \"parameters\": {\"page\": {\"description\": \"The page number or identifier to fetch speci...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"select_matching_ids\", \"description\": \"Selects objects from the first list that have a matching ID in the second list.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"loginuser\", \"description\": \"Logs a user into the Pet Store API using the provided credentials.\", \"parameters\": {\"password\": {\"description\": \"The password for logging in.\", \"type\": \"str\", \"default\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"filter_strings_with_cat\", \"description\": \"Filters a list of strings to include only those that contain the word 'cat'.\", \"parameters\": {\"type\": \"object\", \"properties\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_new_releases\", \"description\": \"Fetch new album releases from Spotify for a specified country.\", \"parameters\": {\"country\": {\"description\": \"A standardized country code (e.g., 'US' for United States, 'CA...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"whois\", \"description\": \"Queries a WhoIS lookup service to retrieve data about a specified domain.\", \"parameters\": {\"domain\": {\"description\": \"The domain name for the WhoIS lookup.\", \"type\": \"str\", \"d...
[ { "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: [{\"name\": \"products_search\", \"description\": \"Search for products by a specified keyword and optional filters, with support for pagination and sorting.\", \"parameters\": {\"keyword\": {\"description\": \"The term or phrase t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"fibonacci\", \"description\": \"Calculates the nth Fibonacci number.\", \"parameters\": {\"n\": {\"description\": \"The position of the Fibonacci number.\", \"type\": \"int\"}}}, {\"name\": \"reverse_string\", \"descr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"trace_path\", \"description\": \"Traces the path from the root object to the final object and returns a list of accessed attributes.\", \"parameters\": {\"type\": \"object\", \"p...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_intersection_of_lists\", \"description\": \"Finds the intersection of two lists.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"list1\": {\"type\": \"array\", ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_ratio_to_percentage\", \"description\": \"Converts a ratio to a percentage with a maximum of one decimal place of accuracy.\", \"parameters\": {\"type\": \"object\", \"pr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"carbonfootprintfrommotorbike\", \"description\": \"Calculates the CO2 emissions in kilograms (Kg) from a motorbike travel based on the type of motorbike and the distance traveled.\", \"parameters\": {\"type\": {\"desc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"merge_data_into_collections\", \"description\": \"Merges data into a dictionary of collections, keyed by collection names.\", \"parameters\": {\"type\": \"object\", \"properties\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"findplacesnearby\", \"description\": \"Find nearby places based on the given location, language, radius, and type.\", \"parameters\": {\"location\": {\"description\": \"The latitude/longitude around which to retrieve ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"autocomplete_localities\", \"description\": \"Sends a GET request to the RapidAPI Autocomplete India service to fetch autocomplete suggestions for a given locality.\", \"parameters\": {\"locality\": {\"description\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"schedule_by_date\", \"description\": \"Fetches the event schedule for a given date and sport ID using the specified API key.\", \"parameters\": {\"date\": {\"description\": \"The date for which the event schedule is r...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_recipe_by_id\", \"description\": \"Fetches a specific recipe by its ID from the Ghana Food Recipe API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the recipe to fetch.\", \"type\": \"str\", \"defa...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"mixing_ratio_to_specific_humidity\", \"description\": \"Convert mixing ratio to specific humidity.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"r\": {\"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"geocode_city\", \"description\": \"Retrieves the latitude and longitude coordinates of a given city using the Maps.co Geocoding API.\", \"parameters\": {\"city\": {\"description\": \"The name of the city.\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cosine_similarity\", \"description\": \"Calculates the cosine similarity between two vectors.\", \"parameters\": {\"vector_a\": {\"description\": \"The first vector.\", \"type\": \"List[float]\"}, \"vector_b\": {\"des...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search_autocomplete_api\", \"description\": \"Search or Autocomplete API returns matching cities and towns based on the query.\", \"parameters\": {\"q\": {\"description\": \"Query parameter used to obtain matching loc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"expand_around_center\", \"description\": \"Helper function to expand around a center for finding palindromic substrings.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}, \"left\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"albums_get_details\", \"description\": \"Fetch detailed information of an album using the Shazam API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the album. This value can be obtained from the 'id' fi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_email\", \"description\": \"Checks if an email address is valid.\", \"parameters\": {\"email\": {\"description\": \"The email address to validate.\", \"type\": \"str\"}}}]" }, { "role": "user", "c...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_line_number\", \"description\": \"Finds the line number of a key in a list of key-value pairs (tuples).\", \"parameters\": {\"type\": \"object\", \"properties\": {\"key\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_cuda\", \"description\": \"Checks if the current hardware environment supports CUDA. If supported, returns a PyTorch tensor of size 3x3 filled with 1's.\\nIf not supported,...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_iso8601\", \"description\": \"Parses the ISO 8601-compliant string representation of a date and time into a datetime object.\", \"parameters\": {\"type\": \"object\", \"pro...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_ticker_for_specific_coin\", \"description\": \"Retrieves the ticker information for a specific cryptocurrency coin using the Coinlore API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the specific ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"map_characters_to_indices\", \"description\": \"Maps the characters of a string to their corresponding indices in a hashmap.\", \"parameters\": {\"type\": \"object\", \"propertie...
[ { "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\": \"strip_text\", \"description\": \"Strips leading and trailing whitespace from the given string.\\n\\nIf the string is empty after stripping, returns None.\", \"parameters\": {\"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"basketball_match_statistics\", \"description\": \"Fetches statistics for a given basketball match using the RapidAPI sports live scores service.\", \"parameters\": {\"match_id\": {\"description\": \"The identifier for...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getchanneldetails\", \"description\": \"Fetch detailed information and insights about a specific YouTube channel using its ID.\", \"parameters\": {\"is_id\": {\"description\": \"The unique ID of the YouTube channel to...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_first_matching_element\", \"description\": \"Finds the first element of each string that matches the regex `[aeiou][a-z]+`.\\n\\nIf no match is found, the default value \\\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"income_statement\", \"description\": \"Fetches the income statement for a specified company using the given RapidAPI key.\", \"parameters\": {\"ticker\": {\"description\": \"The stock ticker symbol of the company. Def...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"conditional_decorator\", \"description\": \"Decorator that conditionally flips the first two arguments of a function based on the parity of `n`.\", \"parameters\": {\"type\": \"o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_dates\", \"description\": \"Generates a list of dates between two given dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start_date\": {\"type\": \"st...