messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"artist_albums\", \"description\": \"Fetches all albums of a given Spotify artist using the RapidAPI service.\", \"parameters\": {\"artist_id\": {\"description\": \"The Spotify ID of the artist whose albums are to be f...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"wire_resistance\", \"description\": \"Calculates the resistance of a wire based on its length, cross-sectional area, and material resistivity.\", \"parameters\": {\"length_m\": {\"description\": \"The length of the wi...
[ { "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: [{\"name\": \"simulate_query_database\", \"description\": \"Simulates querying a database based on certain conditions.\", \"parameters\": {\"table\": {\"description\": \"Name of the table to query.\", \"type\": \"str\"}, \"conditio...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"ufc_fight_night_vettori_vs_cannonier_june_17_2023\", \"description\": \"Accesses information about the UFC Fight Night: Vettori vs. Cannonier held on June 17, 2023, including details like win-loss record, height, weig...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"user_friends_list\", \"description\": \"Retrieve a full listing of in-game, online, and offline friends of a user from the Steam community using RapidAPI.\", \"parameters\": {\"is_id\": {\"description\": \"The user's ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"emailvalidation\", \"description\": \"Validates whether the given email address is disposable or not by using the Toolbench RapidAPI service.\", \"parameters\": {\"email\": {\"description\": \"The email address to be ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"checkthatphone\", \"description\": \"Validates a given United States phone number and optionally checks its details like carrier look-up, line type, portability status, geoIP, and timezone using an external API servic...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"wire_resistance\", \"description\": \"Calculates the resistance of a wire based on its length, cross-sectional area, and material resistivity.\", \"parameters\": {\"length_m\": {\"description\": \"The length of the wi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"vector_transition_matrix\", \"description\": \"Creates a probability transition matrix for a vector of n states.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"n\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"application_details_by_id\", \"description\": \"Retrieves application details from the RapidAPI by application ID.\", \"parameters\": {\"is_id\": {\"description\": \"The application ID to fetch details for.\", \"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"music_metadata\", \"description\": \"Fetch metadata for a given music track from TikTok.\", \"parameters\": {\"music\": {\"description\": \"The TikTok music URL. For example: 'https://www.tiktok.com/music/Streets-x-Ki...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"merge_dictionaries\", \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_followers_by_username\", \"description\": \"Retrieves the information of 12 followers for a given Instagram username using the RapidAPI service.\", \"parameters\": {\"username\": {\"description\": \"The Instagram ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"predict_evolution_rate\", \"description\": \"Predict the evolutionary rate for a specific species for a given timeframe.\", \"parameters\": {\"species\": {\"description\": \"The species that the evolution rate will be...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_valid_str_or_byte_seq\", \"description\": \"Checks if a given input object is a valid string or a sequence of bytes.\\n\\nNote that the function should not accept string or by...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"filter_by_flag\", \"description\": \"Returns a decorator that uses the provided flag name to either keep or discard the decorated function or method from the final result.\", \"p...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"batting_average\", \"description\": \"Calculates the batting average of a baseball player based on the number of hits and at-bats.\", \"parameters\": {\"num_hits\": {\"description\": \"The number of hits.\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"add_1_shift_right_set_rightmost_bit\", \"description\": \"Adds 1 to the integer without using arithmetic operators, shifts the bits to the right by 1, and sets the rightmost bit ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_duplicate_number\", \"description\": \"Finds the duplicate number in a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \"is_sum_...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_factorial\", \"description\": \"Calculates the factorial of a non-negative integer.\", \"parameters\": {\"n\": {\"description\": \"The non-negative integer.\", \"type\": \"int\"}}}]" }, { "role": "us...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"game_predictions\", \"description\": \"Fetch game predictions using specified parameters.\", \"parameters\": {\"timezone\": {\"description\": \"The timezone name.\", \"type\": \"str\", \"default\": \"America/Chicago\"...
[ { "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\": \"place_safeway_order\", \"description\": \"Order specified items from a Safeway location.\", \"parameters\": {\"location\": {\"description\": \"The location of the Safeway store, e.g., 'Palo Alto, CA'.\", \"type\": \"s...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"clip_bboxes\", \"description\": \"Clips the second bounding box within the first bounding box if it is out of bounds.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_list_to_dict_using_list_comprehension\", \"description\": \"Converts a list of tuples into a dictionary using dictionary comprehension.\", \"parameters\": {\"type\": \"ob...
[ { "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\"}}}]" }, { "role": "user", "content": "Is the...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_middle_values\", \"description\": \"Returns a tuple of the middle two values from a given tuple of three values.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"make_html_tag\", \"description\": \"Creates a function that wraps text in an HTML tag.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tag_name\": {\"type\": \"strin...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"has_dependencies\", \"description\": \"Checks if a list of dependencies is satisfied for a given module name and version.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"factorial_sequential\", \"description\": \"Computes the factorial of a positive integer using a sequential execution approach.\", \"parameters\": {\"type\": \"object\", \"propert...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cell_density\", \"description\": \"Calculates the cell density based on the optical density (OD) and dilution factor.\", \"parameters\": {\"od\": {\"description\": \"The optical density of the sample.\", \"type\": \"f...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_breed_information\", \"description\": \"Retrieve information for a specific dog breed from the RapidAPI service.\", \"parameters\": {\"breed\": {\"description\": \"The name of the dog breed to get information abou...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cagr\", \"description\": \"Calculates the Compound Annual Growth Rate (CAGR) of an investment.\", \"parameters\": {\"start_value\": {\"description\": \"The initial value of the investment.\", \"type\": \"float\"}, \"e...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"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\": \"analyze\", \"description\": \"Analyzes the page speed of a given URL using the specified strategy and category.\", \"parameters\": {\"url\": {\"description\": \"The URL of the page to be analyzed.\", \"type\": \"str\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"determine_time_of_day\", \"description\": \"Determines whether a given time in UTC is in the morning, afternoon, or evening based on the user's time zone.\", \"parameters\": {\"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"stock_net_share_purchase_activity\", \"description\": \"Fetches net share purchase activity information for a particular stock symbol.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol for which to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"compare_interest\", \"description\": \"Compares the interest earned from compounding interest over a fixed period of time to the interest earned from a liquidity pool with a fixe...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_log_message\", \"description\": \"Formats a log message by inserting newlines before each word in the list and joining them with the original message.\", \"parameters\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"matchdetails\", \"description\": \"Fetch detailed information for a specific American Football match from the API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the match for which the details are to be...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"contacts\", \"description\": \"Fetches the contacts list from a specified WhatsApp instance using the Maytapi API.\", \"parameters\": {\"phone_id\": {\"description\": \"The unique identifier for the phone instance in ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_tag_count\", \"description\": \"Counts the number of occurrences of a given tag in an XML string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tag\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getlearningresources\", \"description\": \"Fetches Power BI learning resources from a specified page using the RapidAPI key.\", \"parameters\": {\"page\": {\"description\": \"The page number of the learning resources ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"deep_copy_graph\", \"description\": \"Returns a deep copy of the given graph (adjacency list).\", \"parameters\": {\"type\": \"object\", \"properties\": {\"graph\": {\"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_face_edges\", \"description\": \"Converts an edge-to-face map to a face-to-edges map.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"edge_face_map\": {\"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_longest_palindromic_substring\", \"description\": \"Finds the longest palindromic substring in a string.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"std_...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_keyword_from_string\", \"description\": \"Extract the keyword value from a string that contains the keyword-value pair in the format \\\"keyword: value\\\".\", \"paramete...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"create_set_from_dict\", \"description\": \"Extracts all unique values from a nested dictionary and returns them as a set.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getrandompassword\", \"description\": \"Generates a random password string of the specified length using the Random Chunk API on RapidAPI.\", \"parameters\": {\"length\": {\"description\": \"The desired length of the ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"divisible\", \"description\": \"Checks if one of the integers is divisible by the other.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"a\": {\"type\": \"integer\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"construct_string_from_dict\", \"description\": \"Creates a string representation of a dictionary by concatenating the keys and values using f-strings.\", \"parameters\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"modify_array\", \"description\": \"Modifies an array by replacing every even number with 0 and every odd number with 2.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search\", \"description\": \"Searches the Steam shop for a given term and returns the results.\", \"parameters\": {\"term\": {\"description\": \"The search term to query in the Steam shop.\", \"type\": \"str\", \"defa...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"product_excluding_self\", \"description\": \"Calculates the product of all numbers in the list except for the element itself.\", \"parameters\": {\"type\": \"object\", \"properti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"simplify_path\", \"description\": \"Simplifies a Unix-like file system path.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"path\": {\"type\": \"string\", \"descrip...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"albums_get_related_artist\", \"description\": \"Fetches related artist information for a given album using the Shazam API.\", \"parameters\": {\"is_id\": {\"description\": \"The value of the 'albums->id', 'id', or 'al...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getpetbyid\", \"description\": \"Get details of a pet by its ID using the provided RapidAPI key.\", \"parameters\": {\"petid\": {\"description\": \"The ID of the pet to retrieve.\", \"type\": \"int\", \"default\": 0}}...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"process_item\", \"description\": \"Processes the input string and returns a boolean indicating if the string does not start with '!'.\", \"parameters\": {\"type\": \"object\", \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"select_constant\", \"description\": \"Selects a constant from a list of constants with probabilities proportional to their values.\", \"parameters\": {\"type\": \"object\", \"pro...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"ip_to_dict\", \"description\": \"Converts a string representing an IP address into a dictionary.\\n\\nThe function validates the input string as a valid IP address using the `ipa...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_video_urls\", \"description\": \"Retrieves video or shorts URLs from YouTube using a provided video ID.\", \"parameters\": {\"is_id\": {\"description\": \"The YouTube video ID for which the URLs are to be fetched....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"monthly_mortgage_payment\", \"description\": \"Calculates the monthly mortgage payment based on the loan amount, annual interest rate, and loan term.\", \"parameters\": {\"loan_amount\": {\"description\": \"The total ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_call\", \"description\": \"Fetches the API result using the given request ID.\", \"parameters\": {\"request_id\": {\"description\": \"The unique identifier for the API request.\", \"type\": \"str\", \"default\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"properties_get_facilities\", \"description\": \"Fetches the facilities of a property given its hotel ID.\", \"parameters\": {\"hotel_ids\": {\"description\": \"The value of the hotel_id field from the properties/list ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_math_fact\", \"description\": \"Fetch a mathematical property or fact about a given number.\", \"parameters\": {\"number\": {\"description\": \"The number for which the mathematical fact is to be retrieved.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"identify_plugin\", \"description\": \"Identifies the plugin type based on a given qualified plugin name.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"name\": {\"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"product_id\", \"description\": \"Fetch Aliexpress product data using the given product ID.\", \"parameters\": {\"product_id\": {\"description\": \"The ID of the product on Aliexpress to fetch data for.\", \"type\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"about_channel\", \"description\": \"Fetches detailed information about a YouTube channel using its ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the YouTube channel for which information is being fe...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"list_of_tuples\", \"description\": \"Converts a list of integers into a list of tuples.\\n\\nEach tuple contains the original integer and a string of the integer concatenated wit...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"check\", \"description\": \"Checks the details of a bank card BIN (Bank Identification Number) using the provided BIN number and RapidAPI key.\", \"parameters\": {\"binnum\": {\"description\": \"The bank card BIN numb...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search_php\", \"description\": \"Search for geocoding information using the specified Geokeo Forward Geocoding API.\", \"parameters\": {\"api\": {\"description\": \"The API key for accessing the Geokeo Forward Geocodi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"global_achievement_percentages_for_app\", \"description\": \"Retrieve the global achievement percentages for a specific Steam app.\", \"parameters\": {\"appid\": {\"description\": \"The Steam application ID for which ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"invert_capitalization\", \"description\": \"Inverts the capitalization of a string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"s\": {\"type\": \"string\", \"des...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"feedbacks_id\", \"description\": \"Fetches feedbacks for a given product ID from the AliExpress unofficial API.\", \"parameters\": {\"is_id\": {\"description\": \"The product ID for which feedbacks are to be fetched.\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"message_send\", \"description\": \"Sends an SMS message using the SensSMS API.\", \"parameters\": {\"password\": {\"description\": \"Your SensSMS API key.\", \"type\": \"str\", \"default\": \"\"}, \"to\": {\"descripti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_value_list\", \"description\": \"Takes a list of dictionaries and a string as input, and returns a list of the values of the specified key from all the dictionaries that have...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"news_list\", \"description\": \"Fetches a list of news articles based on the specified category.\", \"parameters\": {\"is_id\": {\"description\": \"The category of news to fetch, allowable values include markets, tech...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"hexadecimal\", \"description\": \"Converts a positive integer to its hexadecimal representation.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"n\": {\"type\": \"in...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_packet_header_length\", \"description\": \"Calculates the length of the header in a packet given the payload size and the size of the payload unit in bytes.\", \"parameters\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_image_url\", \"description\": \"Checks if the URL's path ends with an image extension.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"url\": {\"type\": \"string\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"regular_dice_rolls\", \"description\": \"This function simulates rolling a specified number of dice for a specified number of times using the Dice Roll Simulator API.\", \"parameters\": {\"rolls\": {\"description\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_closest_known_age\", \"description\": \"Returns the closest known age in a given list of ages.\\n\\nIf the given age is not in the list, return the age that is closest to it....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"numbers_translator\", \"description\": \"Converts a numerical text string into its spelled-out form using an external API.\", \"parameters\": {\"text\": {\"description\": \"Numerical text to be converted. Defaults to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_clips\", \"description\": \"Fetch the latest 50 clips of a specified Twitch channel.\", \"parameters\": {\"name\": {\"description\": \"The name of the Twitch channel to fetch clips from.\", \"type\": \"str\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"trapezoidal_integration\", \"description\": \"Calculates the definite integral of a function using the trapezoidal rule.\", \"parameters\": {\"func\": {\"description\": \"The function to integrate, expressed as a stri...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"fetch_by_type\", \"description\": \"Fetches records from the RapidAPI endpoint based on the specified type and limit.\", \"parameters\": {\"type\": {\"description\": \"The type of records to fetch. Refer to the API do...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"helper_func\", \"description\": \"Finds the index of the specified value in the given list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"my_list\": {\"type\": \"a...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_diagonal\", \"description\": \"Extracts the diagonal elements from a symmetric square matrix.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"matrix\": {\"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_status_phrase\", \"description\": \"Returns the corresponding status phrase for an HTTP status code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"status_code\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_titles\", \"description\": \"Extracts all the markdown titles from a given text and returns them as a list of strings.\", \"parameters\": {\"type\": \"object\", \"propert...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"ratio\", \"description\": \"Calculates the ratio of two numbers. If the denominator is zero, returns 0.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"numerator\": ...
[ { "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: [{\"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\": \"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\": \"politicians\", \"description\": \"Fetches a list of politicians' data based on given filters.\", \"parameters\": {\"offset\": {\"description\": \"The starting point in the list of results. Defaults to None.\", \"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"tweets_by_userid\", \"description\": \"Fetches the most recent tweets of a specified user, with optional pagination and count control.\", \"parameters\": {\"userid\": {\"description\": \"The userId of the user whose t...
[ { "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: [{\"type\": \"function\", \"function\": {\"name\": \"format_course_run_name\", \"description\": \"Formats a course's run name.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"course_number\": {\"type\": \"string\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_12_hour_time\", \"description\": \"Formats a 24-hour time string into a 12-hour time string with AM/PM suffix.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...