messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_results_for_query\", \"description\": \"Fetches results for a given query string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"email_qr_code\", \"description\": \"Creates and returns a static QR code encoded with the provided email address. The QR code can be customized with various design parameters such as background color, eye pattern, err...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_signature\", \"description\": \"Formats a function signature string given a function's name and an optional list of default arguments.\", \"parameters\": {\"type\": \"obje...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_module_attrs\", \"description\": \"Inspects and returns the public attributes of a given Python module.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"module_na...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_duplicate_words\", \"description\": \"Finds and returns a list of duplicate words in the given string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"string\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_kv_list\", \"description\": \"Converts a string containing a list of key-value pairs into a list of tuples.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"s\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"validate_security_level\", \"description\": \"Validates a security level against a set of predefined security levels.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"print_id_or_error\", \"description\": \"Prints the ID of the object if it exists, otherwise prints an error message.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_hashtag\", \"description\": \"Fetches detailed information about a specific Instagram hashtag using the provided API key.\", \"parameters\": {\"tag\": {\"description\": \"The name of the hashtag to search for.\", ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"create_list_with_default_value\", \"description\": \"Creates an empty list with a specified size and initializes each element to a given value.\", \"parameters\": {\"type\": \"ob...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_query_string\", \"description\": \"Parses an HTTP GET request query string and returns a dictionary.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"string\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"advanced\", \"description\": \"Fetches advanced chess puzzles based on various search criteria from an external API.\", \"parameters\": {\"number_of_puzzles\": {\"description\": \"Number of puzzles to fetch. Defaults ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"us_license_plate_to_vin\", \"description\": \"Converts a U.S. state license plate number to a Vehicle Identification Number (VIN).\", \"parameters\": {\"state_code\": {\"description\": \"A two-letter U.S. state code w...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_unique_chars\", \"description\": \"Identifies and returns all the characters in the first string that are not present in the second string.\", \"parameters\": {\"type\": \"o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_range\", \"description\": \"Helper function to format the range string.\", \"parameters\": {\"start\": {\"description\": \"The start of the range.\", \"type\": \"int\"}, \"end\": {\"description\": \"The end of the...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"non_empty_keys\", \"description\": \"Returns a new dictionary with keys from the input dictionary that have non-empty values.\", \"parameters\": {\"type\": \"object\", \"properti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"games_esports\", \"description\": \"Fetches information about esports games for a given event ID using the SofaSport API.\", \"parameters\": {\"event_id\": {\"description\": \"The ID of the event to retrieve esports g...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"companies_id_data\", \"description\": \"Fetches the basic information of a company using its identifier from the German Company Data API.\", \"parameters\": {\"is_id\": {\"description\": \"The Implisense identifier of...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_electric_field\", \"description\": \"Calculate the electric field produced by a charge at a certain distance.\", \"parameters\": {\"charge\": {\"description\": \"Charge in coulombs producing the electric fie...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getcity\", \"description\": \"Retrieves a list of cities for a given ISO code using the RapidAPI service.\", \"parameters\": {\"iso\": {\"description\": \"The ISO code representing the country.\", \"type\": \"str\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"exact_url_non_english\", \"description\": \"Retrieves the backlinks of a specific non-English URL using the RapidAPI service.\", \"parameters\": {\"domain\": {\"description\": \"The domain of the non-English URL for w...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"wrap_values\", \"description\": \"Wraps the values of a specific key in a list if they are not already a list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input_...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"group_and_count\", \"description\": \"Groups the rows by the specified column(s) and counts the occurrences of the given column.\", \"parameters\": {\"type\": \"object\", \"prope...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"tsv4\", \"description\": \"Retrieves the entry list of a specified subset from a dataset using the odem API.\", \"parameters\": {\"subset\": {\"description\": \"The identifier of the data subset to retrieve.\", \"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\": \"calculate_average_with_custom_exception\", \"description\": \"Calculates the average of the values in each dictionary for the specified key.\\n\\nIf the key is not found in any o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_all_app_keys\", \"description\": \"Fetch all keys for a specified application using the RapidAPI service.\", \"parameters\": {\"appid\": {\"description\": \"The unique identifier for the specific application. Obta...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_hotel_available\", \"description\": \"Checks the availability of a hotel for a given date range.\", \"parameters\": {\"hotel\": {\"description\": \"The name of the hotel.\", \"type\": \"str\"}, \"city\": {\"descrip...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"popular_posts\", \"description\": \"Fetches popular posts from Reddit based on the given sort type.\", \"parameters\": {\"sort\": {\"description\": \"The sorting method for the posts. Accepted values are 'new' and 'ho...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_rotation\", \"description\": \"Checks if one string is a rotation of another string.\", \"parameters\": {\"str1\": {\"description\": \"The first string.\", \"type\": \"str\"}, \"str2\": {\"description\": \"The seco...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"reverse_string\", \"description\": \"Reverses the characters in a string.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"calculate_grade\", \"description\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"community_post_comments\", \"description\": \"Retrieves comments for a YouTube community post using the specified cursor token.\", \"parameters\": {\"cursor\": {\"description\": \"A token used for pagination to fetch ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"top_comments_by_username\", \"description\": \"Fetches the top comments by a specific Reddit username within a given time frame.\", \"parameters\": {\"time\": {\"description\": \"The time frame for which to fetch top ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"facilities_lookup\", \"description\": \"Fetches facilities in Nigeria based on specified query parameters such as state, type, limit, and city.\", \"parameters\": {\"state\": {\"description\": \"The state where the fa...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_missing_ranges\", \"description\": \"Finds the missing ranges between lower and upper in a sorted list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The sorted list of integers.\", \"type\": \"Li...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"classify\", \"description\": \"Classifies input text using the IAB taxonomy via RapidAPI and returns the confidence score and IAB classification.\", \"parameters\": {\"text\": {\"description\": \"The input text to be ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"auto_complete_deprecating\", \"description\": \"Fetch auto-complete suggestions for a given query from the specified API.\", \"parameters\": {\"query\": {\"description\": \"The term or phrase for which to get suggesti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"gameslist\", \"description\": \"Retrieves a list of games on special discount offers from the specified region.\", \"parameters\": {\"region\": {\"description\": \"The region code to fetch the game offers from.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"sentiment\", \"description\": \"Analyzes the sentiment of the given text using the VADER sentiment analysis tool through the RapidAPI platform.\", \"parameters\": {\"text\": {\"description\": \"The input text whose se...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"v1_stars\", \"description\": \"Fetches a list of stars matching specified parameters with a maximum of 30 results per request. To access more than 30 results, use the offset parameter to paginate through multiple API ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"replace_all_words_starting_with_a_with_the_word_apple\", \"description\": \"Replaces all words that start with 'a' with the word 'apple' in the given text.\", \"parameters\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_scrabble_score\", \"description\": \"Fetches the Scrabble score for a given word using the Dicolink API.\", \"parameters\": {\"mot\": {\"description\": \"The word for which the Scrabble score is to be retrieved.\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_dst_start_date\", \"description\": \"Finds the date when Daylight Savings Time starts in the given timezone.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tim...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"create_package\", \"description\": \"Creates a package structure in the current directory using the given package name and a list of module names.\\n\\nThe package structure incl...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"links_finder\", \"description\": \"Fetches relevant links based on a given query using the ExplorArc's Link Finder API.\", \"parameters\": {\"query\": {\"description\": \"The search query to find relevant links. Defau...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search\", \"description\": \"Performs a search for indexes, stocks, ETFs, cryptocurrencies, currencies, and more using the Joj Finance API.\", \"parameters\": {\"q\": {\"description\": \"The search query string.\", \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"scrape_links\", \"description\": \"Scrapes a specified number of links from the provided URL using the Scrapey Link Scraper API.\", \"parameters\": {\"url\": {\"description\": \"The target URL from which to scrape lin...
[ { "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\": \"num_days_to_string\", \"description\": \"Converts a list of [years, months, days] into a string representation.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"date_...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"neutron_mass\", \"description\": \"Computes the mass of a neutron given a non-negative temperature in Kelvin.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tempera...
[ { "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\": \"least_common_multiple\", \"description\": \"Computes the least common multiple (LCM) of two positive integers.\", \"parameters\": {\"a\": {\"description\": \"The first positive integer.\", \"type\": \"int\"}, \"b\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_cities\", \"description\": \"Fetches a list of cities from the 50k Radio Stations API, optionally filtered by country ID and keyword.\", \"parameters\": {\"country_id\": {\"description\": \"Filter cities by countr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"retrieve_key_values\", \"description\": \"Retrieves the values associated with a given key from a list of dictionaries.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_annualized_return\", \"description\": \"Calculates the annualized return of a vector of periodic returns.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"p...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"merge_two_sorted_arrays\", \"description\": \"Merges two sorted arrays into a single sorted array.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"array_1\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_file_by_pattern\", \"description\": \"Searches for files in the directory that match the pattern.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"directory_path...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_maximum_peak\", \"description\": \"Finds the maximum peak in an array of numbers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"numbers\": {\"type\": \"array\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"update_dict_keys\", \"description\": \"Updates the key of a dictionary entry from original_key to new_key.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"original_d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"verify_plate_number_location\", \"description\": \"Fetches information about the state and LGA (Local Government Area) associated with a given Nigerian plate number code.\", \"parameters\": {\"platecodeloc\": {\"descr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_range\", \"description\": \"Extracts the start and end integers from a string representing a range of integers.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_valid_movement\", \"description\": \"Checks if a cursor movement is valid in a 2D array given its current position and the operation to be performed.\", \"parameters\": {\"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_wisdom_quotes_by_topic\", \"description\": \"Fetches wisdom quotes related to a specific topic using the RapidAPI service.\", \"parameters\": {\"topic\": {\"description\": \"The topic to retrieve wisdom quotes abo...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_date_from_str\", \"description\": \"Parse the date from a string and return a datetime object.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"date_str\": {\"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}, {\"name\": \"calculate_distanc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"prematchform\", \"description\": \"Fetch pre-match form information for a specific cricket match using the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the cricket match for which to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_unit\", \"description\": \"Formats a time unit and its value into a string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"unit\": {\"type\": \"string\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"playlist_details\", \"description\": \"Retrieves the details of a YouTube playlist based on the provided playlist ID using the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the YouTube...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"max_len_substring_same_char\", \"description\": \"Finds the maximum length of a substring of `s` that consists of only the same character.\", \"parameters\": {\"type\": \"object\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_memoized\", \"description\": \"Computes the sum of all positive integers smaller than or equal to n using recursion with memoization.\", \"parameters\": {\"type\": \"object\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"players\", \"description\": \"Fetches information about a PGA Tour player based on provided search parameters such as last name, first name, or player ID.\", \"parameters\": {\"lastname\": {\"description\": \"The last...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"compute_points\", \"description\": \"Computes the value of `z` based on the logic described in the instruction.\\nIf `scalar` is provided, multiply its value with `z`.\", \"param...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_percentages\", \"description\": \"Calculates the percentage of prices for a given name in the list of items.\", \"parameters\": {\"type\": \"object\", \"properties\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"symbols_press_releases\", \"description\": \"Fetches a list of press releases for a given stock symbol from Seeking Alpha's API.\", \"parameters\": {\"ticker_slug\": {\"description\": \"The slug representing the stock...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"disable_auto_kw_discovery\", \"description\": \"Decorator that disables automatic keyword discovery for the given function.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"blogs_by_category\", \"description\": \"Fetches all blogs from a given category by its ID using the RapidAPI service.\", \"parameters\": {\"category\": {\"description\": \"The ID of the category to fetch blogs from.\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"digest\", \"description\": \"Calculates a cryptographic digest of the given object.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"obj\": {\"description\": \"The ob...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"companies_id_financials\", \"description\": \"Retrieves the financial key figures (balance sheet total, revenue, profit, number of employees) for a company with the given identifier.\", \"parameters\": {\"is_id\": {\"...
[ { "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: [{\"type\": \"function\", \"function\": {\"name\": \"extract_first_sentence\", \"description\": \"Extracts the first sentence from a given text.\\n\\nThe function splits the text into sentences based on the period ('.'), question m...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_http_status\", \"description\": \"Parses an HTTP status line and returns the status code, reason phrase, and version in a tuple.\", \"parameters\": {\"type\": \"object\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_samples\", \"description\": \"Generates random samples from a uniform distribution within a given range.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"low...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"repeated_string\", \"description\": \"Returns a new string where the original string `s` is repeated `n` times.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"s\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"bitwise_and_sum\", \"description\": \"Finds the bitwise AND sum of all subarrays of length k in arr.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"arr\": {\"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_diff_vectorized\", \"description\": \"Returns the difference between the ith and jth rows of the matrix as a vector.\", \"parameters\": {\"type\": \"object\", \"properties\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sublist\", \"description\": \"Return a sublist of the given list that starts at index start and ends at index end.\\n\\nIf start or end is not provided, the sublist starts at the...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_words_with_digits\", \"description\": \"Extracts all words from the input string that contain at least one digit.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"validate_curly_braces\", \"description\": \"Validates if an input string has matching curly braces.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"string\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"matrix_product\", \"description\": \"Computes the matrix product of two numpy arrays.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"a\": {\"type\": \"object\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"fibonacci_numbers\", \"description\": \"Generates the first n Fibonacci numbers.\", \"parameters\": {\"n\": {\"description\": \"The number of Fibonacci numbers to generate.\", \"type\": \"int\"}}}, {\"name\": \"calcul...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"yearly_income_statements\", \"description\": \"Fetches the annual income statements for a given stock symbol using the specified RapidAPI key.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol for w...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"remove_parentheses\", \"description\": \"Remove parentheses from a string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"s\": {\"type\": \"string\", \"description\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"add_item\", \"description\": \"Adds a non-empty string item to the list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"item\": {\"type\": \"string\", \"description...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_images_to_tensors\", \"description\": \"Converts a list of images into a Numpy tensor.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"images\": {\"type\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_sudoku\", \"description\": \"Checks if a 9x9 Sudoku board is valid.\", \"parameters\": {\"board\": {\"description\": \"The Sudoku board represented as a 2D list of strings.\", \"type\": \"List[List[str]]\"}}}...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_majority_element\", \"description\": \"Finds the majority element in a list, which appears more than \\u230an / 2\\u230b times.\", \"parameters\": {\"nums\": {\"description\": \"The input list of integers.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_wisdom_quotes_by_page\", \"description\": \"Retrieves wisdom quotes from a specified page using the Toolbench RapidAPI.\", \"parameters\": {\"page\": {\"description\": \"The page number to retrieve quotes from.\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_majority_element\", \"description\": \"Finds the majority element in a list, which appears more than \\u230an / 2\\u230b times.\", \"parameters\": {\"nums\": {\"description\": \"The input list of integers.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"create_binary_list\", \"description\": \"Creates a binary list of the same length as `values`, where each element of the binary list\\nis True if the corresponding element in `va...