The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 2 new columns ({'lang', 'question'}) and 1 missing columns ({'inputs'}). This happened while the json dataset builder was generating data using hf://datasets/AlexHung29629/inst_distil/inst.jsonl (at revision 4bd39f100e231305459890c5f9e85b79241d0427) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast question: string lang: string to {'inputs': Value(dtype='string', id=None)} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1438, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1050, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 2 new columns ({'lang', 'question'}) and 1 missing columns ({'inputs'}). This happened while the json dataset builder was generating data using hf://datasets/AlexHung29629/inst_distil/inst.jsonl (at revision 4bd39f100e231305459890c5f9e85b79241d0427) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
inputs
string |
---|
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "database_us_census_get_population", "description": "Fetch population data from US Census database.", "parameters": {"type": "object", "properties": {"area": {"type": "string", "description": "Name of the city, state, or country."}, "type": {"type": "string", "description": "Specify whether the area is city/state/country."}, "year": {"type": "integer", "description": "Year of the data", "default": 2000}}, "required": ["area", "type"]}}}][/AVAILABLE_TOOLS][INST]Fetch the population of New York City, NY, and Los Angeles, CA from US Census Database, and also get the population data for Alaska state and USA[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "run_linear_regression", "description": "Build a linear regression model using given predictor variables and a target variable.", "parameters": {"type": "object", "properties": {"predictors": {"type": "array", "items": {"type": "string"}, "description": "Array containing the names of predictor variables."}, "target": {"type": "string", "description": "The name of target variable."}, "standardize": {"type": "boolean", "description": "Option to apply standardization on the predictors. Defaults to False."}}, "required": ["predictors", "target"]}}}][/AVAILABLE_TOOLS][INST]You are given a dataset with various variables including 'Age', 'Income', 'Education', 'Gender', 'Marital Status', and 'Spending Score'. You want to predict 'Spending Score' based on the other variables. Could you please use the 'run_linear_regression' function to build a linear regression model using 'Age', 'Income', and 'Education' as predictor variables and 'Spending Score' as the target variable without applying standardization on the predictors? Then, could you please run the same function again but this time with standardization applied on the predictors?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "lawsuit_search", "description": "Retrieve all lawsuits involving a particular entity from specified jurisdiction.", "parameters": {"type": "object", "properties": {"entity": {"type": "string", "description": "The entity involved in lawsuits."}, "county": {"type": "string", "description": "The jurisdiction for the lawsuit search."}, "state": {"type": "string", "description": "The state for the lawsuit search. Default is California."}}, "required": ["entity", "county"]}}}][/AVAILABLE_TOOLS][INST]Can you use the lawsuit_search function to retrieve all lawsuits involving the entity "Google" from the county of "Santa Clara" and then do the same for the entity "Facebook" in the county of "San Mateo", both in the state of California?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "Res9patchStreamDecoder_decode", "description": "Decodes a 9-patch image from the given input stream and writes the decoded PNG image to the specified output stream. Returns true if the operation is successful, otherwise false.", "parameters": {"type": "object", "properties": {"input": {"type": "string", "description": "The input stream containing the 9-patch image data."}, "out": {"type": "string", "description": "The output stream where the decoded PNG image will be written."}}, "required": ["input", "out"]}}}][/AVAILABLE_TOOLS][INST]Help me decode a 9-patch image from an input stream `imageInputStream` and write the decoded PNG image to an output stream `imageOutputStream`?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "team_stats_get_top_scorer", "description": "Fetch the top scorer of a specified football team.", "parameters": {"type": "object", "properties": {"team_name": {"type": "string", "description": "The name of the football team."}, "competition": {"type": "string", "description": "Competition for which to fetch stats (optional). Default ''"}}, "required": ["team_name"]}}}, {"type": "function", "function": {"name": "league_stats_get_top_scorer", "description": "Fetch the top scorer of a specified football league.", "parameters": {"type": "object", "properties": {"league_name": {"type": "string", "description": "The name of the football league."}, "season": {"type": "string", "description": "Season for which to fetch stats (optional). Default ''"}}, "required": ["league_name"]}}}, {"type": "function", "function": {"name": "player_stats_get_all_time_goals", "description": "Fetch all-time goals scored by a particular football player for a specified team.", "parameters": {"type": "object", "properties": {"player_name": {"type": "string", "description": "The name of the football player."}, "team_name": {"type": "string", "description": "The name of the team for which player has played."}, "competition": {"type": "string", "description": "Competition for which to fetch stats (optional). Default ''"}}, "required": ["player_name", "team_name"]}}}][/AVAILABLE_TOOLS][INST]How many goals has Lionel Messi scored for Barcelona till date?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "concert_search_find_concerts", "description": "Locate concerts at a specific venue on a specific date.", "parameters": {"type": "object", "properties": {"venue": {"type": "string", "description": "The name of the concert venue."}, "date": {"type": "string", "description": "The date of the concert in YYYY-MM-DD format."}, "artist": {"type": "string", "description": "The name of the artist or band, if looking for a specific performer. This parameter is optional. Default: 'chris nolan'", "optional": "yes"}}, "required": ["venue", "date"]}}}][/AVAILABLE_TOOLS][INST]Who is playing basketball game at Madison Square Garden tonight?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_co_ordinate", "description": "Fetch geographical coordinates of a particular location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city name you want coordinates for."}}, "required": ["location"]}}}][/AVAILABLE_TOOLS][INST]What is the time difference between Los Angeles and Berlin?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The API endpoint for fetching weather data from the Open-Meteo API for the given latitude and longitude", "default": "https://api.open-meteo.com/v1/forecast"}, "headers": {"properties": {}, "type": "object", "required": []}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"latitude": {"type": "string", "description": "Geographical WGS84 coordinates of the location. Multiple coordinates can be comma separated. E.g., &latitude=52.52,48.85&longitude=13.41,2.35. To return data for multiple locations the JSON output changes to a list of structures. CSV and XLSX formats add a column location_id."}, "longitude": {"type": "string", "description": "Geographical WGS84 coordinates of the location. Multiple coordinates can be comma separated."}, "elevation": {"type": "string", "description": "The elevation used for statistical downscaling. Per default, a 90 meter digital elevation model is used. You can manually set the elevation to correctly match mountain peaks. If &elevation=nan is specified, downscaling will be disabled and the API uses the average grid-cell height. For multiple locations, elevation can also be comma separated."}, "hourly": {"type": "array", "items": {"type": "string"}, "description": "A list of weather variables which should be returned. Values can be comma separated, or multiple &hourly= parameters in the URL can be used. Support parameters: temperature_2m,relative_humidity_2m,dew_point_2m,apparent_temperature,pressure_msl,cloud_cover,cloud_cover_low,cloud_cover_mid,cloud_cover_high,wind_speed_10m,wind_speed_80m,wind_speed_120m,wind_speed_180m,wind_direction_10m,wind_direction_80m,wind_direction_120m,wind_direction_180m,wind_gusts_10m,shortwave_radiation,direct_radiation,direct_normal_irradiance,diffuse_radiation,global_tilted_irradiance,vapour_pressure_deficit,cape,evapotranspiration,et0_fao_evapotranspiration,precipitation,snowfall,precipitation_probability,rain,showers,weather_code,snow_depth,freezing_level_height,visibility,soil_temperature_0cm,soil_temperature_6cm,soil_temperature_18cm,soil_temperature_54cm,soil_moisture_0_to_1cm,soil_moisture_1_to_3cm,soil_moisture_3_to_9cm,soil_moisture_9_to_27cm,soil_moisture_27_to_81cm"}, "daily": {"type": "array", "items": {"type": "string"}, "description": "A list of daily weather variable aggregations which should be returned. Values can be comma separated, or multiple &daily= parameters in the URL can be used. If daily weather variables are specified, parameter timezone is required. Possible values supported temperature_2m_max, temperature_2m_min, apparent_temperature_max, apparent_temperature_min, precipitation_sum, rain_sum, showers_sum, snowfall_sum, precipitation_hours, ,precipitation_probability_max, precipitation_probability_min, precipitation_probability_mean, weather_code,sunrise,sunset,sunshine_duration, daylight_duration, wind_speed_10m_max, wind_gusts_10m_max, wind_direction_10m_dominant,shortwave_radiation_sum,et0_fao_evapotranspiration,uv_index_maxuv_index_clear_sky_max"}, "temperature_unit": {"type": "string", "description": "If fahrenheit is set, all temperature values are converted to Fahrenheit.", "default": "celsius"}, "wind_speed_unit": {"type": "string", "description": "Other wind speed units: ms, mph, and kn.", "default": "kmh"}, "precipitation_unit": {"type": "string", "description": "Other precipitation amount units: inch.", "default": "mm"}, "timeformat": {"type": "string", "description": "If format unixtime is selaected, all time values are returned in UNIX epoch time in seconds. Please note that all timestamps are in GMT+0! For daily values with unix timestamps, please apply utc_offset_seconds again to get the correct date.", "default": "iso8601"}, "timezone": {"type": "string", "description": "If timezone is set, all timestamps are returned as local-time and data is returned starting at 00:00 local-time. Any time zone name from the time zone database is supported. If auto is set as a time zone, the coordinates will be automatically resolved to the local time zone. For multiple coordinates, a comma separated list of timezones can be specified.", "default": "GMT"}, "past_days": {"type": "integer", "description": "If past_days is set, yesterday or the day before yesterday data are also returned.", "default": 0}, "forecast_days": {"type": "integer", "description": "Per default, only 7 days are returned. Up to 16 days of forecast are possible.", "default": 7}, "forecast_hours": {"type": "integer", "description": "Similar to forecast_days, the number of timesteps of hourly data can be controlled."}, "forecast_minutely_15": {"type": "integer", "description": "The number of timesteps of 15-minutely data can be controlled."}, "past_hours": {"type": "integer", "description": "the number of timesteps of hourly data controlled"}, "past_minutely_15": {"type": "integer", "description": "the number of timesteps of 15 minute data controlled"}, "start_date": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "end_date": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "start_hour": {"type": "string", "description": "The time interval to get weather data for hourly data. Time must be specified as an ISO8601 date and time (e.g. 2022-06-30T12:00)."}, "end_hour": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "start_minutely_15": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "end_minutely_15": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "models": {"type": "array", "items": {"type": "string"}, "description": "A list of string, manually select one or more weather models. Per default, the best suitable weather models will be combined."}, "cell_selection": {"type": "string", "description": "Set a preference how grid-cells are selected. The default land finds a suitable grid-cell on land with similar elevation to the requested coordinates using a 90-meter digital elevation model. sea prefers grid-cells on sea. nearest selects the nearest possible grid-cell."}, "apikey": {"type": "string", "description": "Only required to commercial use to access reserved API resources for customers. The server URL requires the prefix customer-. See pricing for more information."}}, "type": "object", "required": ["latitude", "longitude"]}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]I am planning a hiking trip next weekend and I need to prepare for the weather conditions. Can you fetch me a 7-day forecast including temperature_2m_max, temperature_2m_min, 10 minute max wind speed, and sum of daily precipitation for the coordinates 35.6895 N, 139.6917 E? Please ensure the temperature is in Fahrenheit.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "event_finder_find_upcoming", "description": "Find upcoming events of a specific genre in a given location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state where the search will take place, e.g. New York, NY."}, "genre": {"type": "string", "description": "The genre of events."}, "days_ahead": {"type": "integer", "description": "The number of days from now to include in the search.", "default": 7}}, "required": ["location", "genre"]}}}][/AVAILABLE_TOOLS][INST]Can you find me upcoming jazz events in Los Angeles, CA for the next 14 days and then find the same for rock events in Chicago, IL for the next 10 days and finally find upcoming classical music events in Boston, MA for the next 7 days?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "calculate_paint_mix", "description": "Calculate the proportions of different paint colors required to obtain a specific color shade.", "parameters": {"type": "object", "properties": {"target_color": {"type": "string", "description": "The target color to mix."}, "available_colors": {"type": "array", "items": {"type": "string", "description": "List of available colors."}}, "shade_level": {"type": "integer", "description": "Intensity of the shade on a scale of 1-10. Optional parameter. Default is 5."}}, "required": ["target_color", "available_colors"]}}}][/AVAILABLE_TOOLS][INST]What is the Pantone color code for sky blue?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "BoardGameGeek_recommend", "description": "Generate game recommendation from BoardGameGeek store based on number of players and category.", "parameters": {"type": "object", "properties": {"numPlayers": {"type": "integer", "description": "The number of players who will play the game."}, "category": {"type": "string", "description": "The preferred category of board game. E.g. strategy, family, party etc."}, "difficulty": {"type": "string", "description": "Preferred difficulty level. E.g. beginner, intermediate, advanced etc. This is an optional parameter. Default 'beginner'"}}, "required": ["numPlayers", "category"]}}}, {"type": "function", "function": {"name": "AmazonGameStore_recommend", "description": "Generate game recommendation from Amazon Game Store based on number of players and category.", "parameters": {"type": "object", "properties": {"numOfPlayers": {"type": "integer", "description": "The number of players who will play the game."}, "category": {"type": "string", "description": "The preferred category of board game. E.g. strategy, family, party etc."}, "priceRange": {"type": "string", "description": "The price range you are willing to pay for the board game. E.g. $10-$20, $20-$30 etc. This is an optional parameter. Default ''"}}, "required": ["numOfPlayers", "category"]}}}][/AVAILABLE_TOOLS][INST]What are some recommended board games for 2 players and strategy based from store BoardGameGeek?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sql_execute", "description": "Execute SQL queries based on user-defined parameters like SQL keyword, table name, column names, and conditions.", "parameters": {"type": "object", "properties": {"sql_keyword": {"type": "string", "enum": ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"], "description": "The SQL keyword to define the type of operation."}, "table_name": {"type": "string", "description": "The name of the database table to operate on."}, "columns": {"type": "array", "items": {"type": "string"}, "description": "The column names involved in the SQL operation. If not specified use '*' to represent all columns."}, "insert_values": {"type": "array", "description": "Values of an INSERT statement.", "items": {"type": "array", "items": {"type": "string"}}}, "update_values": {"type": "array", "description": "Values of an UPDATE statement corresponding to columns to set.", "items": {"type": "string"}}, "conditions": {"type": "array", "description": "Conditions for the SQL operation, formatted as a SQL WHERE clause. Put them in the format of ['cond1 > val1', 'cond2 = val2', 'cond3<val3'] and etc.", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["sql_keyword", "table_name"]}}}][/AVAILABLE_TOOLS][INST]Can you provide the names and account balances of customers from the "Customers" table who have an account balance greater than $10,000?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "calculate_mutual_fund_balance", "description": "Calculate the final balance of a mutual fund investment based on the total initial investment, annual yield rate and the time period.", "parameters": {"type": "object", "properties": {"investment_amount": {"type": "integer", "description": "The initial total amount invested in the fund."}, "annual_yield": {"type": "number", "description": "The annual yield rate of the fund."}, "years": {"type": "integer", "description": "The period of time for the fund to mature."}}, "required": ["investment_amount", "annual_yield", "years"]}}}, {"type": "function", "function": {"name": "geometry_calculate_area_circle", "description": "Calculate the area of a circle given its radius.", "parameters": {"type": "object", "properties": {"radius": {"type": "number", "description": "The radius of the circle."}, "unit": {"type": "string", "description": "The measurement unit of the radius (optional parameter, default is 'units')."}}, "required": ["radius"]}}}][/AVAILABLE_TOOLS][INST]Calculate the balance of a mutual fund given a total investment of $50000 with a 5% annual yield after 3 years.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sql_execute", "description": "Execute SQL queries based on user-defined parameters like SQL keyword, table name, column names, and conditions.", "parameters": {"type": "object", "properties": {"sql_keyword": {"type": "string", "enum": ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"], "description": "The SQL keyword to define the type of operation."}, "table_name": {"type": "string", "description": "The name of the database table to operate on."}, "columns": {"type": "array", "items": {"type": "string"}, "description": "The column names involved in the SQL operation. If not specified use '*' to represent all columns."}, "insert_values": {"type": "array", "description": "Values of an INSERT statement.", "items": {"type": "array", "items": {"type": "string"}}}, "update_values": {"type": "array", "description": "Values of an UPDATE statement corresponding to columns to set.", "items": {"type": "string"}}, "conditions": {"type": "array", "description": "Conditions for the SQL operation, formatted as a SQL WHERE clause. Put them in the format of ['cond1 > val1', 'cond2 = val2', 'cond3<val3'] and etc.", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["sql_keyword", "table_name"]}}}][/AVAILABLE_TOOLS][INST]Can you add a new record into the 'employees' table, where the columns are 'employee_id', 'first_name', 'last_name', 'email', and 'phone_number', and the corresponding values to be inserted are 'E1001', 'John', 'Doe', 'johndoe@example.com', and '123-456-7890'?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "art_auction_fetch_artwork_price", "description": "Fetch the price of a specific artwork on the auction platform.", "parameters": {"type": "object", "properties": {"artwork_name": {"type": "string", "description": "The name of the artwork to be searched."}, "artist": {"type": "string", "description": "The artist's name to ensure the precise artwork is fetched."}, "platform": {"type": "string", "description": "The platform where the artwork's price should be fetched from.", "default": "all"}}, "required": ["artwork_name", "artist"]}}}, {"type": "function", "function": {"name": "library_search_book", "description": "Search for a specific book in the library.", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book to be searched."}, "author": {"type": "string", "description": "The author of the book to ensure the precise book is fetched."}, "platform": {"type": "string", "description": "The library where the book should be fetched from.", "default": "all"}}, "required": ["title", "author"]}}}][/AVAILABLE_TOOLS][INST]Find the price of Van Gogh's painting 'Starry Night' on all auction platforms.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "flight_book", "description": "Book a direct flight for a specific date and time from departure location to destination location.", "parameters": {"type": "object", "properties": {"departure_location": {"type": "string", "description": "The location you are departing from."}, "destination_location": {"type": "string", "description": "The location you are flying to."}, "date": {"type": "string", "description": "The date of the flight. Accepts standard date format e.g., 2022-04-28."}, "time": {"type": "string", "description": "Preferred time of flight. Default is ''"}, "direct_flight": {"type": "boolean", "description": "If set to true, only direct flights will be searched. Default is false"}}, "required": ["departure_location", "destination_location", "date"]}}}, {"type": "function", "function": {"name": "event_finder_find_upcoming", "description": "Find upcoming events of a specific genre in a given location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state where the search will take place, e.g. New York, NY."}, "genre": {"type": "string", "description": "The genre of events."}, "days_ahead": {"type": "integer", "description": "The number of days from now to include in the search.", "default": 7}}, "required": ["location", "genre"]}}}, {"type": "function", "function": {"name": "get_scientist_for_discovery", "description": "Retrieve the scientist's name who is credited for a specific scientific discovery or theory.", "parameters": {"type": "object", "properties": {"discovery": {"type": "string", "description": "The scientific discovery or theory."}}, "required": ["discovery"]}}}, {"type": "function", "function": {"name": "game_stats_fetch_player_statistics", "description": "Fetch player statistics for a specific video game for a given user.", "parameters": {"type": "object", "properties": {"game": {"type": "string", "description": "The name of the video game."}, "username": {"type": "string", "description": "The username of the player."}, "platform": {"type": "string", "description": "The platform user is playing on.", "default": "PC"}}, "required": ["game", "username"]}}}][/AVAILABLE_TOOLS][INST]Fetch player statistics of 'Zelda' on Switch for user 'Sam'.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "lawsuits_search", "description": "Search for lawsuits against a specific company within a specific time and location.", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The name of the company."}, "location": {"type": "string", "description": "The location where the lawsuit was filed."}, "year": {"type": "integer", "description": "The year when the lawsuit was filed."}, "case_type": {"type": "string", "description": "The type of the case. Options include: 'civil', 'criminal', 'small_claims', etc. If not specified, search for all types. Default is 'all'"}}, "required": ["company_name", "location", "year"]}}}, {"type": "function", "function": {"name": "hilton_hotel_check_availability", "description": "Check hotel availability for a specific location and time frame.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city where you want to check hotel availability."}, "check_in_date": {"type": "string", "description": "The check-in date in the format YYYY-MM-DD."}, "check_out_date": {"type": "string", "description": "The check-out date in the format YYYY-MM-DD."}, "no_of_adults": {"type": "integer", "description": "The number of adults for the hotel booking."}, "hotel_chain": {"type": "string", "description": "The hotel chain where you want to book the hotel.", "default": "Hilton"}}, "required": ["location", "check_in_date", "check_out_date", "no_of_adults"]}}}][/AVAILABLE_TOOLS][INST]Find the lawsuits filed against the company Google in California in the year 2020.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "detailed_weather_forecast", "description": "Retrieve a detailed weather forecast for a specific location and duration including optional precipitation details.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city that you want to get the weather for."}, "duration": {"type": "integer", "description": "Duration in hours for the detailed forecast."}, "include_precipitation": {"type": "boolean", "description": "Whether to include precipitation data in the forecast. Default is false."}}, "required": ["location", "duration"]}}}, {"type": "function", "function": {"name": "recipe_search", "description": "Search for a recipe given dietary restriction, ingredients, and number of servings.", "parameters": {"type": "object", "properties": {"dietary_restriction": {"type": "string", "description": "The dietary restriction, e.g., 'Vegetarian'."}, "ingredients": {"type": "array", "items": {"type": "string"}, "description": "The list of ingredients."}, "servings": {"type": "integer", "description": "The number of servings the recipe should make"}}, "required": ["dietary_restriction", "ingredients", "servings"]}}}, {"type": "function", "function": {"name": "get_time_difference", "description": "Get the time difference between two places.", "parameters": {"type": "object", "properties": {"place1": {"type": "string", "description": "The first place for time difference."}, "place2": {"type": "string", "description": "The second place for time difference."}}, "required": ["place1", "place2"]}}}][/AVAILABLE_TOOLS][INST]Give me a recipe for a vegetarian pasta with cheese for 2 servings.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_instrument_info", "description": "Retrieves the details of a specific musical instrument including its type and origin.", "parameters": {"type": "object", "properties": {"instrument_name": {"type": "string", "description": "The name of the instrument."}, "detail": {"type": "string", "enum": ["type", "origin", "range", "family"], "description": "The specific information requested about the instrument.", "default": "type"}}, "required": ["instrument_name"]}}}][/AVAILABLE_TOOLS][INST]What type of instrument is a cello?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "Convert any GPS Lat/Lon location into its timezone", "default": "https://timezone-by-location.p.rapidapi.com/timezone"}, "headers": {"properties": {"X-RapidAPI-Key": {"type": "string", "description": "The API key for authenticating requests to RapidAPI."}, "X-RapidAPI-Host": {"type": "string", "description": "The host domain for the RapidAPI service being accessed."}}, "type": "object", "required": ["X-RapidAPI-Key", "X-RapidAPI-Host"]}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"lat": {"type": "number", "description": "Latitude of the position for which the timezone is being requested."}, "lon": {"type": "number", "description": "Longitude of the position for which the timezone is being requested."}, "c": {"type": "integer", "description": "Optional. Return compact JSON. Useful for reducing the size of the response data."}, "s": {"type": "integer", "description": "Optional. Additional parameter, specifics not provided."}}, "type": "object", "required": ["lat", "lon"]}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]I'm currently at the GPS coordinates 40.712776, -74.005974, and I need to find out the timezone here for a scheduling app I'm developing. Can you provide me with the appropriate requests.get call using a compact JSON response from the RapidAPI service, specifying my API key 'YOUR-RAPID-API-KEY' and host 'timezone-by-location.p.rapidapi.com'?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sql_execute", "description": "Execute SQL queries based on user-defined parameters like SQL keyword, table name, column names, and conditions.", "parameters": {"type": "object", "properties": {"sql_keyword": {"type": "string", "enum": ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"], "description": "The SQL keyword to define the type of operation."}, "table_name": {"type": "string", "description": "The name of the database table to operate on."}, "columns": {"type": "array", "items": {"type": "string"}, "description": "The column names involved in the SQL operation. If not specified use '*' to represent all columns."}, "insert_values": {"type": "array", "description": "Values of an INSERT statement.", "items": {"type": "array", "items": {"type": "string"}}}, "update_values": {"type": "array", "description": "Values of an UPDATE statement corresponding to columns to set.", "items": {"type": "string"}}, "conditions": {"type": "array", "description": "Conditions for the SQL operation, formatted as a SQL WHERE clause. Put them in the format of ['cond1 > val1', 'cond2 = val2', 'cond3<val3'] and etc.", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["sql_keyword", "table_name"]}}}][/AVAILABLE_TOOLS][INST]Can you generate a new database table named "SurveyResults" that includes the columns "RespondentID", "Age", "Gender", "Income", and "SatisfactionScore" to store the data collected from a customer satisfaction survey?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "filter_s002_setting22MethodEntryRequest", "description": "Sets up a MethodEntryRequest with specified thread filter, class filter, suspend policy, and custom property. Throws JDITestRuntimeException on failure.", "parameters": {"type": "object", "properties": {"thread": {"type": "string", "description": "The ThreadReference to which the request will be applied."}, "testedClass": {"type": "string", "description": "The name of the class to filter for method entries."}, "suspendPolicy": {"type": "integer", "description": "The suspend policy to be used for this request."}, "property": {"type": "string", "description": "A custom property to associate with this request."}}, "required": ["thread", "testedClass", "suspendPolicy", "property"]}}}][/AVAILABLE_TOOLS][INST]Help me create a MethodEntryRequest for a specific thread `mainThread`, class `com.example.MainClass`, with a suspend policy of `EventRequest.SUSPEND_ALL`, and a custom property `testProperty` in a JDI test environment?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "Get tickers for any stock company, ETF, mutual fund, crypto and more", "default": "https://yahoo-finance15.p.rapidapi.com/api/v1/markets/search"}, "headers": {"properties": {"X-RapidAPI-Key": {"type": "string", "description": "The API key for authenticating requests to RapidAPI."}, "X-RapidAPI-Host": {"type": "string", "description": "The host domain for the RapidAPI service being accessed."}}, "type": "object", "required": ["X-RapidAPI-Key", "X-RapidAPI-Host"]}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"search": {"type": "string", "description": "Search query for stock name"}}, "type": "object", "required": []}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]I'm looking to get the latest tickers for Tesla stocks. Could you please make a GET request to the appropriate financial data API with my RapidAPI key 'YOUR-RAPID-API-KEY' and the host 'yahoo-finance15.p.rapidapi.com'? Also, include the search query 'Tesla'.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "calculate_displacement", "description": "Calculates the displacement of an object in motion given initial velocity, time, and acceleration.", "parameters": {"type": "object", "properties": {"initial_velocity": {"type": "integer", "description": "The initial velocity of the object in m/s."}, "time": {"type": "integer", "description": "The time in seconds that the object has been in motion."}, "acceleration": {"type": "number", "description": "The acceleration of the object in m/s^2.", "default": 0}}, "required": ["initial_velocity", "time"]}}}, {"type": "function", "function": {"name": "poker_game_winner", "description": "Identify the winner in a poker game based on the cards.", "parameters": {"type": "object", "properties": {"players": {"type": "array", "items": {"type": "string"}, "description": "Names of the players in a list."}, "cards": {"type": "object", "description": "An object containing the player name as key and the cards as values in a list."}, "type": {"type": "string", "description": "Type of poker game. Defaults to 'Texas Holdem'"}}, "required": ["players", "cards"]}}}, {"type": "function", "function": {"name": "musical_scale", "description": "Get the musical scale of a specific key in music theory.", "parameters": {"type": "object", "properties": {"key": {"type": "string", "description": "The musical key for which the scale will be found."}, "scale_type": {"type": "string", "default": "major", "description": "The type of musical scale."}}, "required": ["key"]}}}][/AVAILABLE_TOOLS][INST]Calculate the displacement of a car given the initial velocity of 10 and acceleeration of 9.8 within 5 seconds.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "tourist_spot_info", "description": "Retrieve information about a specific tourist spot.", "parameters": {"type": "object", "properties": {"spot": {"type": "string", "description": "The name of the tourist spot you want to get information for."}, "city": {"type": "string", "description": "The city where the tourist spot is located."}, "details": {"type": "array", "items": {"type": "string", "enum": ["timing", "attractions", "tickets", "accessibility", "history"]}, "description": "Details of the tourist spot to get information on. For multiple details, separate them by comma.", "default": "timing, attractions"}}, "required": ["spot", "city"]}}}, {"type": "function", "function": {"name": "museum_info", "description": "Retrieve information about a specific museum.", "parameters": {"type": "object", "properties": {"museum": {"type": "string", "description": "The name of the museum you want to get information for."}, "city": {"type": "string", "description": "The city where the museum is located."}, "features": {"type": "array", "items": {"type": "string", "enum": ["timings", "exhibitions", "accessibility", "events", "history"]}, "description": "Features of the museum to get information on. For multiple features, separate them by comma.", "default": "timings, exhibitions"}}, "required": ["museum", "city"]}}}][/AVAILABLE_TOOLS][INST]Get me information about Natural History Museum in London including timings, exhibitions, and accessibility.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "To retrieve the latest exchange rates for your chosen base currency against all other currencies supported by the API, substitute `YOUR-API-KEY` with your actual API key and `base_currency` with the ISO 4217 code of your desired base currency. Then, send a GET request to the provided endpoint. This guide helps in using the Standard endpoint of the Exchange Rate API", "default": "https://v6.exchangerate-api.com/v6/{YOUR-API-KEY}/latest/{base_currency}"}, "headers": {"properties": {}, "type": "object", "required": []}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {}, "type": "object", "required": []}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]Can you show me how to fetch the latest exchange rates for Euros against all other currencies using my API key `YOUR-EXCHANGERATE-API-KEY`?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "modify_painting", "description": "Modify an existing painting's attributes such as size, medium, and color.", "parameters": {"type": "object", "properties": {"size": {"type": "string", "description": "The size of the painting in inches, width by height."}, "medium": {"type": "string", "description": "The medium of the painting, such as oil, acrylic, etc."}, "dominant_color": {"type": "string", "description": "The dominant color of the painting. Default ''"}}, "required": ["size", "medium"]}}}, {"type": "function", "function": {"name": "prediction_evolution", "description": "Predict the evolutionary rate for a specific species for a given timeframe.", "parameters": {"type": "object", "properties": {"species": {"type": "string", "description": "The species that the evolution rate will be predicted for."}, "years": {"type": "integer", "description": "Number of years for the prediction."}, "model": {"type": "string", "description": "The model used to make the prediction, options: 'Darwin', 'Lamarck', default is 'Darwin'."}}, "required": ["species", "years"]}}}, {"type": "function", "function": {"name": "calculate_probability", "description": "Calculate the probability of an event.", "parameters": {"type": "object", "properties": {"total_outcomes": {"type": "integer", "description": "Total number of possible outcomes."}, "favorable_outcomes": {"type": "integer", "description": "Number of outcomes considered as 'successful'."}, "round_to": {"type": "integer", "description": "Number of decimal places to round the result to.", "default": 2}}, "required": ["total_outcomes", "favorable_outcomes"]}}}][/AVAILABLE_TOOLS][INST]Get me the predictions of the evolutionary rate for Homo Sapiens for next 50 years using Darwin model[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_discoverer", "description": "Get the person or team who made a particular scientific discovery", "parameters": {"type": "object", "properties": {"discovery": {"type": "string", "description": "The discovery for which the discoverer's information is needed."}, "detail": {"type": "boolean", "description": "Optional flag to get additional details about the discoverer, such as birth date and nationality. Defaults to false."}}, "required": ["discovery", "detail"]}}}, {"type": "function", "function": {"name": "diabetes_prediction", "description": "Predict the likelihood of diabetes type 2 based on a person's weight and height.", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "Weight of the person in lbs."}, "height": {"type": "number", "description": "Height of the person in inches."}, "activity_level": {"type": "string", "enum": ["sedentary", "lightly active", "moderately active", "very active", "extra active"], "description": "Physical activity level of the person."}}, "required": ["weight", "height", "activity_level"]}}}, {"type": "function", "function": {"name": "museum_working_hours_get", "description": "Get the working hours of a museum in a specific location.", "parameters": {"type": "object", "properties": {"museum": {"type": "string", "description": "The name of the museum."}, "location": {"type": "string", "description": "The location of the museum."}, "day": {"type": "string", "description": "Specific day of the week. Optional parameter. Default is 'today'."}}, "required": ["museum", "location"]}}}][/AVAILABLE_TOOLS][INST]Who discovered the neutron? Give me detail information.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "social_media_analytics_most_followed", "description": "Find the most followed Twitter user related to certain topics.", "parameters": {"type": "object", "properties": {"topic": {"type": "string", "description": "The main topic of interest."}, "sub_topics": {"type": "array", "items": {"type": "string"}, "description": "Sub-topics related to main topic, Optional. Default is an empty list."}, "region": {"type": "string", "description": "Region of interest for twitter search, Optional. Default is 'global'."}}, "required": ["topic"]}}}, {"type": "function", "function": {"name": "calculate_probability", "description": "Calculate the probability of an event.", "parameters": {"type": "object", "properties": {"total_outcomes": {"type": "integer", "description": "Total number of possible outcomes."}, "favorable_outcomes": {"type": "integer", "description": "Number of outcomes considered as 'successful'."}, "round_to": {"type": "integer", "description": "Number of decimal places to round the result to.", "default": 2}}, "required": ["total_outcomes", "favorable_outcomes"]}}}, {"type": "function", "function": {"name": "concert_info_get", "description": "Retrieve information about concerts based on specific genre, location and date.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city where the concert will take place."}, "date": {"type": "string", "description": "Time frame to get the concert for."}, "genre": {"type": "string", "description": "Genre of the concert.", "enum": ["Pop", "Rock", "Country", "Classical", "Electronic", "Hip-Hop"]}}, "required": ["location", "date", "genre"]}}}][/AVAILABLE_TOOLS][INST]Find the most followed person on twitter who tweets about psychology related to behaviour and group dynamics.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sports_data_basketball_most_points_single_season", "description": "Returns the record for the most points scored by a single player in one season of NBA, including the player name, points scored, and season.", "parameters": {"type": "object", "properties": {"league": {"type": "string", "description": "The specific basketball league for which to fetch the record. In this case, 'NBA'."}}, "required": ["league"]}}}, {"type": "function", "function": {"name": "sports_data_basketball_most_points_career", "description": "Returns the record for the most points scored by a player in his career in NBA, including the player name, total points scored, and career span.", "parameters": {"type": "object", "properties": {"league": {"type": "string", "description": "The specific basketball league for which to fetch the record. In this case, 'NBA'."}}, "required": ["league"]}}}, {"type": "function", "function": {"name": "sports_data_basketball_most_points_single_game", "description": "Returns the record for the most points scored by a single player in one game of NBA, including the player name, points scored, and game date.", "parameters": {"type": "object", "properties": {"league": {"type": "string", "description": "The specific basketball league for which to fetch the record. In this case, 'NBA'."}}, "required": ["league"]}}}][/AVAILABLE_TOOLS][INST]What is the record for the most points scored by a single player in an NBA game?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "geometry_calculate_cone_volume", "description": "Calculate the volume of a cone given the radius and height.", "parameters": {"type": "object", "properties": {"radius": {"type": "integer", "description": "Radius of the cone base."}, "height": {"type": "integer", "description": "Height of the cone."}, "round_off": {"type": "integer", "description": "Number of decimal places to round off the answer. Default 0"}}, "required": ["radius", "height"]}}}, {"type": "function", "function": {"name": "physics_calculate_cone_mass", "description": "Calculate the mass of a cone given the radius, height, and density.", "parameters": {"type": "object", "properties": {"radius": {"type": "number", "description": "Radius of the cone base."}, "height": {"type": "number", "description": "Height of the cone."}, "density": {"type": "number", "description": "Density of the material the cone is made of."}}, "required": ["radius", "height", "density"]}}}][/AVAILABLE_TOOLS][INST]Calculate the volume of a cone with radius 4 and height 7.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "color_complimentary", "description": "Determine the color complimentary to the given one. Complimentary colors provide a strong contrast.", "parameters": {"type": "object", "properties": {"color": {"type": "string", "description": "The base color that you want to find the complement of."}, "color_format": {"type": "string", "description": "Format to receive the complimentary color, options are RGB or HEX.", "default": "RGB"}}, "required": ["color"]}}}][/AVAILABLE_TOOLS][INST]What color should I use to get a similar color of blue in my painting?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "Geocoding API converting a human-readable address into a pair of latitude and longitude coordinates", "default": "https://geocode.maps.co/search"}, "headers": {"properties": {}, "type": "object", "required": []}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"q": {"type": "string", "description": "user query string to a particular address"}, "api_key": {"type": "string", "description": "Your API key for authentication."}, "format": {"type": "string", "description": "The desired response format. Options include 'xml', 'json', 'jsonv2', 'geojson', 'geocodejson'. Default is 'json'."}}, "type": "object", "required": ["q", "api_key"]}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]I need to convert the address '5331 Rexford Court, Montgomery AL 36116' to coordinates for a mapping project I'm working on. Can you fetch the latitude and longitude using the Geocoding API? My API key is 'YOUR-GEOCODE-API-KEY'. I would prefer the response in 'geojson' format.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "add_product_to_cart", "description": "This function allows users to add a product to their cart.", "parameters": {"type": "object", "properties": {"product_id": {"type": "integer", "description": "The ID of the product"}, "quantity": {"type": "integer", "description": "The number of this product to add to the cart"}, "cart_id": {"type": "integer", "description": "The ID of the cart, if no ID is given a new cart is created", "default": "0"}}, "required": ["product_id", "quantity"]}}}][/AVAILABLE_TOOLS][INST]Which online bookstore sells 'To Kill a Mockingbird'?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "doctor_search", "description": "Search for a doctor based on area of expertise and location", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Los Angeles, CA"}, "specialization": {"type": "string", "description": "Medical specialization. For example, 'Cardiology', 'Orthopedics', 'Gynecology'."}}, "required": ["location", "specialization"]}}}, {"type": "function", "function": {"name": "lawyer_search", "description": "Search for a lawyer based on area of expertise and location", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. Los Angeles, CA"}, "expertise": {"type": "string", "description": "Area of legal expertise. For example, 'Marriage', 'Criminal', 'Business'."}}, "required": ["location", "expertise"]}}}][/AVAILABLE_TOOLS][INST]Search for divorce law specialists in Los Angeles[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "calculate_compound_interest", "description": "Calculate compound interest for an initial principal amount.", "parameters": {"type": "object", "properties": {"principal": {"type": "integer", "description": "The principal amount that the interest is applied to."}, "rate": {"type": "number", "description": "The annual interest rate. Enter as a decimal. E.g, 5% is 0.05"}, "time": {"type": "integer", "description": "The time the money is invested for in years."}, "n": {"type": "integer", "description": "The number of times that interest is compounded per time period. Default is 1."}}, "required": ["principal", "rate", "time"]}}}][/AVAILABLE_TOOLS][INST]"Can you help me calculate the compound interest for my savings? I initially invested $5000 as the principal amount. The bank offers an annual interest rate of 2.5% (or 0.025 in decimal form). I plan to keep my money in the bank for 10 years. Also, the interest is compounded quarterly, so it's compounded 4 times in a year. Can you calculate the compound interest for the first 2 years, then for the next 3 years and finally for the remaining 5 years?"[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "SearchableSnapshotDirectory_create", "description": "Creates a new instance of a searchable snapshot directory for a shard in a repository with the provided settings and services.", "parameters": {"type": "object", "properties": {"repositories": {"type": "string", "description": "The service that provides access to the repositories."}, "cache": {"type": "string", "description": "The cache service."}, "indexSettings": {"type": "string", "description": "The settings for the index that the shard belongs to."}, "shardPath": {"type": "string", "description": "The path to the shard data."}, "currentTimeNanosSupplier": {"type": "string", "description": "A supplier that provides the current time in nanoseconds."}, "threadPool": {"type": "string", "description": "The thread pool for executing tasks."}, "blobStoreCacheService": {"type": "string", "description": "The service for caching blobs."}, "sharedBlobCacheService": {"type": "string", "description": "The service for caching blobs shared across multiple shards."}}, "required": ["repositories", "cache", "indexSettings", "shardPath", "currentTimeNanosSupplier", "threadPool", "blobStoreCacheService", "sharedBlobCacheService"]}}}][/AVAILABLE_TOOLS][INST]Help me create a new searchable snapshot directory for a shard with ID 5 in the 'daily-snapshots' repository, using the index settings for the 'logs' index with variable `indexSettingsForLogs`, given that the shard path is '/data/nodes/0/indices/logs/5', the current time in nanoseconds is provided by a supplier 'currentTimeNanos', and the necessary services like 'repositoriesService', 'cacheService', 'threadPool', 'blobStoreCacheService', and 'sharedBlobCacheService' are already initialized?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "math_gcd", "description": "Calculate the greatest common divisor of two integers.", "parameters": {"type": "object", "properties": {"num1": {"type": "integer", "description": "First number."}, "num2": {"type": "integer", "description": "Second number."}}, "required": ["num1", "num2"]}}}][/AVAILABLE_TOOLS][INST]"John and Mary are playing a game where they each choose two numbers and then calculate the greatest common divisor (GCD) of their chosen numbers. John chose the numbers 36 and 48, while Mary chose the numbers 60 and 96. Can you help them find the GCD of their chosen numbers?"[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "classfloadhk005_runIt", "description": "Executes the test to check if a class has been correctly instrumented by loading the class and invoking a method to verify the expected value change.", "parameters": {"type": "object", "properties": {"argv": {"type": "array", "description": "An array of command-line arguments to configure the test.", "items": {"type": "string"}}, "out": {"type": "string", "description": "The PrintStream object used for logging output during the test."}}, "required": ["argv", "out"]}}}][/AVAILABLE_TOOLS][INST]Help me execute the `runIt` method to test if a class has been correctly instrumented, using the command-line arguments `['/path/to/classes', '60']` and a `PrintStream` object `logStream`, assuming the original class value is `12345L` and the new expected value after instrumentation is `54321L`?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_nba_player_stats", "description": "Retrieves statistics of an NBA player's career, including points, assists, rebounds, steals, blocks and number of championships won.", "parameters": {"type": "object", "properties": {"player_name": {"type": "string", "description": "The name of the NBA player."}, "stat_type": {"type": "string", "enum": ["points", "assists", "rebounds", "steals", "blocks", "championships"], "description": "Type of statistics to retrieve."}}, "required": ["player_name", "stat_type"]}}}][/AVAILABLE_TOOLS][INST]How many championships did Michael Jordan win in his NBA career?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "soil_analysis_analyze_soil_type", "description": "Analyze a type of soil and provides characteristics about it.", "parameters": {"type": "object", "properties": {"soil_type": {"type": "string", "description": "The type of the soil. For example, loam, sandy, etc."}, "parameters_needed": {"type": "array", "items": {"type": "string", "enum": ["pH level", "Mineral content", "Organic matter content"], "default": ["Mineral content"]}, "description": "Optional specific characteristics of the soil to analyze."}}, "required": ["soil_type"]}}}][/AVAILABLE_TOOLS][INST]What kind of fertilizer is best for growing tomatoes?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "historical_event_get_date", "description": "Retrieve the date of a specific historical event.", "parameters": {"type": "object", "properties": {"event_name": {"type": "string", "description": "The name of the historical event."}, "format": {"type": "string", "description": "The desired date format. Default is YYYY-MM-DD."}}, "required": ["event_name"]}}}][/AVAILABLE_TOOLS][INST]What was the casualty number of the Battle of Waterloo?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "historical_event_get_date", "description": "Retrieve the date of a specific historical event.", "parameters": {"type": "object", "properties": {"event_name": {"type": "string", "description": "The name of the historical event."}, "event_location": {"type": "string", "description": "The location of the historical event."}, "event_time_period": {"type": "string", "description": "The historical time period during which the event took place. (e.g., Renaissance, Middle Ages, etc.)", "default": "Renaissance"}}, "required": ["event_name", "event_location"]}}}][/AVAILABLE_TOOLS][INST]Who signed the declaration of independence?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "math_gcd", "description": "Calculate the greatest common divisor of two integers.", "parameters": {"type": "object", "properties": {"num1": {"type": "integer", "description": "First number."}, "num2": {"type": "integer", "description": "Second number."}}, "required": ["num1", "num2"]}}}, {"type": "function", "function": {"name": "get_top_cases", "description": "Retrieve a list of the most influential or landmark cases in a specific field of law.", "parameters": {"type": "object", "properties": {"field_of_law": {"type": "string", "description": "The specific field of law e.g., constitutional law, criminal law, etc."}, "top_number": {"type": "integer", "description": "The number of top cases to retrieve."}, "country": {"type": "string", "description": "The country where the law cases should be retrieved from. Default is US."}}, "required": ["field_of_law", "top_number"]}}}][/AVAILABLE_TOOLS][INST]Find the greatest common divisor (GCD) of 12 and 18[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sql_execute", "description": "Execute SQL queries based on user-defined parameters like SQL keyword, table name, column names, and conditions.", "parameters": {"type": "object", "properties": {"sql_keyword": {"type": "string", "enum": ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"], "description": "The SQL keyword to define the type of operation."}, "table_name": {"type": "string", "description": "The name of the database table to operate on."}, "columns": {"type": "array", "items": {"type": "string"}, "description": "The column names involved in the SQL operation. If not specified use '*' to represent all columns."}, "insert_values": {"type": "array", "description": "Values of an INSERT statement.", "items": {"type": "array", "items": {"type": "string"}}}, "update_values": {"type": "array", "description": "Values of an UPDATE statement corresponding to columns to set.", "items": {"type": "string"}}, "conditions": {"type": "array", "description": "Conditions for the SQL operation, formatted as a SQL WHERE clause. Put them in the format of ['cond1 > val1', 'cond2 = val2', 'cond3<val3'] and etc.", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["sql_keyword", "table_name"]}}}][/AVAILABLE_TOOLS][INST]Can you add a new record to the 'EconomicData' table in the database, where the columns are 'Country', 'GDP', 'Unemployment_Rate', and 'Inflation_Rate', and the corresponding values to be inserted are 'USA', '21.43 trillion', '3.5%', and '1.8%' respectively?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "most_frequent_visitor", "description": "Retrieve the visitor who visited the museum the most within a given period.", "parameters": {"type": "object", "properties": {"museum_name": {"type": "string", "description": "The name of the museum."}, "start_date": {"type": "string", "description": "The start date of the period, format: yyyy-mm-dd."}, "end_date": {"type": "string", "description": "The end date of the period, format: yyyy-mm-dd."}, "minimum_visits": {"type": "integer", "description": "The minimum number of visits to qualify. Default: 1"}}, "required": ["museum_name", "start_date", "end_date"]}}}][/AVAILABLE_TOOLS][INST]How frequent do members at the Museum of Modern Art visi last year?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "mix_paint_color", "description": "Combine two primary paint colors and adjust the resulting color's lightness level.", "parameters": {"type": "object", "properties": {"color1": {"type": "string", "description": "The first primary color to be mixed."}, "color2": {"type": "string", "description": "The second primary color to be mixed."}, "lightness": {"type": "integer", "description": "The desired lightness level of the resulting color in percentage. The default level is set to 50%."}}, "required": ["color1", "color2"]}}}, {"type": "function", "function": {"name": "calculate_density", "description": "Calculate the density of a substance based on its mass and volume.", "parameters": {"type": "object", "properties": {"mass": {"type": "integer", "description": "The mass of the substance in kilograms."}, "volume": {"type": "integer", "description": "The volume of the substance in cubic meters."}, "unit": {"type": "string", "description": "The unit of density. Default is kg/m³"}}, "required": ["mass", "volume"]}}}][/AVAILABLE_TOOLS][INST]What is the density of a substance with a mass of 45 kg and a volume of 15 m³?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "uv_index_get_future", "description": "Retrieve UV index data for a specified location and date.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to retrieve the UV index for."}, "date": {"type": "string", "description": "The date for the UV index, in the format mm-dd-yyyy."}}, "required": ["location", "date"]}}}, {"type": "function", "function": {"name": "rainfall_prediction", "description": "Retrieve rainfall data for a specified location and date.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to retrieve the rainfall prediction for."}, "date": {"type": "string", "description": "The date for the rainfall prediction, in the format mm/dd/yyyy.'"}}, "required": ["location", "date"]}}}, {"type": "function", "function": {"name": "snowfall_prediction", "description": "Retrieve snowfall data for a specified location and date.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location to retrieve the snowfall prediction for."}, "date": {"type": "string", "description": "The date for the snowfall prediction, in the format mm-dd-yyyy."}}, "required": ["location", "date"]}}}][/AVAILABLE_TOOLS][INST]Give me the UV index for Tokyo for tomorrow, June01 2023.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_protein_sequence", "description": "Retrieve the protein sequence encoded by a human gene.", "parameters": {"type": "object", "properties": {"gene": {"type": "string", "description": "The human gene of interest."}, "species": {"type": "string", "description": "The species for which the gene is to be analyzed.", "default": "Homo sapiens"}}, "required": ["gene"]}}}][/AVAILABLE_TOOLS][INST]What are the protein sequences encoded by the BRCA1 and BRCA2 genes in Homo sapiens and Pan troglodytes (chimpanzee)?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "word_count", "description": "Calculate the word count of a provided string of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text for which word count needs to be calculated."}, "language": {"type": "string", "description": "The language in which the text is written."}}, "required": ["text", "language"]}}}][/AVAILABLE_TOOLS][INST]Can you recommend a good movie to watch?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sentiment_analysis", "description": "Perform sentiment analysis on a given piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text on which to perform sentiment analysis."}, "language": {"type": "string", "description": "The language in which the text is written."}}, "required": ["text", "language"]}}}, {"type": "function", "function": {"name": "psych_research_get_preference", "description": "Gathers research data on public preference between two options, based on societal category.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "description": "The societal category the preference data is about. E.g. reading, transportation, food"}, "option_one": {"type": "string", "description": "The first option people could prefer."}, "option_two": {"type": "string", "description": "The second option people could prefer."}, "demographic": {"type": "string", "description": "Specific demographic of society to narrow down the research.", "default": "all"}}, "required": ["category", "option_one", "option_two"]}}}, {"type": "function", "function": {"name": "grocery_store_find_best", "description": "Find the closest high-rated grocery stores based on certain product availability.", "parameters": {"type": "object", "properties": {"my_location": {"type": "string", "description": "The current location of the user."}, "rating": {"type": "number", "description": "The minimum required store rating. Default is 0.0."}, "products": {"type": "array", "items": {"type": "string"}, "description": "Required products in a list."}}, "required": ["my_location", "products"]}}}, {"type": "function", "function": {"name": "train_random_forest_classifier", "description": "Train a Random Forest classifier with the specified parameters.", "parameters": {"type": "object", "properties": {"dataset": {"type": "string", "description": "The dataset to train the classifier on."}, "max_depth": {"type": "integer", "description": "The maximum depth of the trees in the forest."}, "n_estimators": {"type": "integer", "description": "The number of trees in the forest."}}, "required": ["dataset", "max_depth", "n_estimators"]}}}][/AVAILABLE_TOOLS][INST]Find the grocery store closest to Berkeley that has at least a 4.5 star rating, selling tomatoes and also pet food.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "MacDmgBundler_prepareDMGSetupScript", "description": "Prepares a DMG setup script for a macOS application package, including the volume URL, background image file, and installation directory.", "parameters": {"type": "object", "properties": {"appLocation": {"type": "string", "description": "The file system path string to the application location."}, "params": {"type": "object", "description": "A map of parameters that may include the application name, images root, background image folder, and other packaging parameters."}}, "required": ["appLocation", "params"]}}}][/AVAILABLE_TOOLS][INST]Help me generate a DMG setup script for an application named 'PhotoEditor' located at '/Applications/PhotoEditor.app', with a custom background image and ensuring the script reflects the correct volume URL and installation directory when creating a macOS package using jpackage?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "calculate_emission_savings", "description": "Calculate potential greenhouse gas emissions saved by switching to renewable energy sources.", "parameters": {"type": "object", "properties": {"energy_type": {"type": "string", "description": "Type of the renewable energy source."}, "usage_duration": {"type": "integer", "description": "Usage duration in months."}, "region": {"type": "string", "description": "The region where you use energy. Default is 'USA'"}}, "required": ["energy_type", "usage_duration"]}}}, {"type": "function", "function": {"name": "timezone_convert", "description": "Convert time from one time zone to another.", "parameters": {"type": "object", "properties": {"time": {"type": "string", "description": "The local time you want to convert, e.g. 3pm"}, "from_timezone": {"type": "string", "description": "The time zone you want to convert from."}, "to_timezone": {"type": "string", "description": "The time zone you want to convert to."}}, "required": ["time", "from_timezone", "to_timezone"]}}}][/AVAILABLE_TOOLS][INST]Convert time 3pm from New York time zone to London time zone.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "ProxyConnection_prepareCall", "description": "Creates a CallableStatement object for calling database stored procedures, with the specified result set type, concurrency type, and holdability.", "parameters": {"type": "object", "properties": {"sql": {"type": "string", "description": "The SQL statement to execute."}, "resultSetType": {"type": "integer", "description": "A result set type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE."}, "concurrency": {"type": "integer", "description": "A concurrency type; one of ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE."}, "holdability": {"type": "integer", "description": "A holdability type; one of ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT."}}, "required": ["sql", "resultSetType", "concurrency", "holdability"]}}}][/AVAILABLE_TOOLS][INST]Help me create a callable statement for executing a stored procedure `CALL totalSales(?)` with a result set that is scroll insensitive, read only, and has a close cursors at commit holdability, using a proxy connection object `proxyConn`?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "game_score_calculate", "description": "Calculate the final game score based on the total points earned by each team.", "parameters": {"type": "object", "properties": {"team1_points": {"type": "integer", "description": "The total points earned by team 1."}, "team2_points": {"type": "integer", "description": "The total points earned by team 2."}, "game_rounds": {"type": "integer", "default": "3", "description": "The total game rounds. Defaults to 3 if not provided."}}, "required": ["team1_points", "team2_points"]}}}][/AVAILABLE_TOOLS][INST]Who won the world series game?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "retrieve_scientific_paper", "description": "Fetches the details of scientific research paper based on its topic.", "parameters": {"type": "object", "properties": {"topic": {"type": "string", "description": "Topic of the research paper"}, "year": {"type": "string", "description": "Year of publishing of the research paper. If not specified, fetches the most recent paper"}, "author": {"type": "string", "description": "Author of the research paper. If not specified, fetches the paper with most citations", "default": "None"}}, "required": ["topic", "year"]}}}][/AVAILABLE_TOOLS][INST]Find me a documentary about global warming.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "currency_converter", "description": "Converts a value from one currency to another.", "parameters": {"type": "object", "properties": {"base_currency": {"type": "string", "description": "The base currency you want to convert from."}, "target_currency": {"type": "string", "description": "The target currency you want to convert to."}, "amount": {"type": "number", "description": "The amount of money you want to convert."}}, "required": ["base_currency", "target_currency", "amount"]}}}][/AVAILABLE_TOOLS][INST]Find the duration of flight between Los Angeles and Miami.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "geocode_address", "description": "Transforms a description of a location (like a pair of coordinates, an address, or a name of a place) to a location on the Earth's surface.", "parameters": {"type": "object", "properties": {"address": {"type": "string", "description": "The address that needs to be geocoded."}, "locale": {"type": "string", "description": "Preferred locale for the returned address information. (Optional) Default: None"}}, "required": ["address"]}}}][/AVAILABLE_TOOLS][INST]What's the current traffic condition in New York?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "generate_contract", "description": "Generate a specific type of legal contract based on provided details.", "parameters": {"type": "object", "properties": {"contract_type": {"type": "string", "description": "The type of contract to generate."}, "parties": {"type": "array", "items": {"type": "string"}, "description": "The parties involved in the contract."}, "additional_details": {"type": "object", "description": "Any additional details or provisions that should be included in the contract.", "default": "None"}}, "required": ["contract_type", "parties"]}}}][/AVAILABLE_TOOLS][INST]What are my rights as a tenant in the state of Texas?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "CCRUsageTransportAction_masterOperation", "description": "This function gathers usage statistics of the CCR feature in Elasticsearch and sends the results to the provided ActionListener.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task associated with the request."}, "request": {"type": "string", "description": "The XPackUsageRequest object containing the request details."}, "state": {"type": "string", "description": "The current cluster state."}, "listener": {"type": "string", "description": "The ActionListener that handles the response containing the usage statistics."}}, "required": ["task", "request", "state", "listener"]}}}][/AVAILABLE_TOOLS][INST]Help me execute the master operation to gather the usage statistics of the Cross-Cluster Replication (CCR) feature in Elasticsearch, including the number of follower indices and auto-follow patterns, using a given `usageRequest` and a `clusterState`, and handle the results using an `actionListener`?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sports_stats_get_player_stats", "description": "Retrieve statistics of a specific player for a given season and league.", "parameters": {"type": "object", "properties": {"player_name": {"type": "string", "description": "The name of the player."}, "season": {"type": "string", "description": "The season of the statistics, e.g. '2020-2021'."}, "league": {"type": "string", "description": "The league of the player's sport, e.g. 'NBA'.", "default": "NBA"}}, "required": ["player_name", "season"]}}}][/AVAILABLE_TOOLS][INST]Who won the NBA Most Valuable Player in 2020?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "determine_body_mass_index", "description": "Calculate body mass index given weight and height.", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "Weight of the individual in kilograms."}, "height": {"type": "number", "description": "Height of the individual in meters."}}, "required": ["weight", "height"]}}}][/AVAILABLE_TOOLS][INST]Calculate the area of a triangle given the base is 10 meters and height is 5 meters.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "This schema defines the parameters for querying the IP-API service.", "default": "http://ip-api.com/json"}, "headers": {"properties": {}, "type": "object", "required": []}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"fields": {"type": "string", "description": "Specify the response fields using strings, separated by commas. Supported ones are status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,isp,org,as,query. "}, "lang": {"type": "string", "description": "Specify the language for the response. The API will default to English ('en') if this parameter is not provided."}, "callback": {"type": "string", "description": "The name of the callback function for a JSONP response. Omit this parameter for a standard JSON response."}}, "type": "object", "required": []}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]Can you show me how to get a response from the IP-API service only in Spanish and include the city, country, and ISP information?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_directions", "description": "Retrieve directions from one location to another.", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting point of the journey."}, "end_location": {"type": "string", "description": "The destination point of the journey."}, "route_type": {"type": "string", "description": "Type of route to use (e.g., fastest, scenic). Default is fastest.", "enum": ["fastest", "scenic"]}}, "required": ["start_location", "end_location"]}}}][/AVAILABLE_TOOLS][INST]Can you provide me with the fastest route from my home in San Francisco to my office in Palo Alto and then a scenic route from Palo Alto to the Golden Gate Bridge in San Francisco, and finally the fastest route back to my home from the Golden Gate Bridge?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "historical_contrib_get_contrib", "description": "Retrieve historical contribution made by a scientist on a specific date.", "parameters": {"type": "object", "properties": {"scientist": {"type": "string", "description": "The scientist whose contributions need to be searched."}, "date": {"type": "string", "description": "The date when the contribution was made in yyyy-mm-dd format."}, "category": {"type": "string", "description": "The field of the contribution, such as 'Physics' or 'Chemistry'. Default is all fields."}}, "required": ["scientist", "date"]}}}, {"type": "function", "function": {"name": "music_calculate_note_duration", "description": "Calculate the duration between two notes based on their frequencies and harmonic rhythm.", "parameters": {"type": "object", "properties": {"first_note_frequency": {"type": "number", "description": "The frequency of the first note in Hz."}, "second_note_frequency": {"type": "number", "description": "The frequency of the second note in Hz."}, "tempo": {"type": "integer", "description": "The tempo of the music in beats per minute. Defaults to 120 beats per minute."}}, "required": ["first_note_frequency", "second_note_frequency"]}}}, {"type": "function", "function": {"name": "math_gcd", "description": "Calculate the greatest common divisor of two integers.", "parameters": {"type": "object", "properties": {"num1": {"type": "integer", "description": "First number."}, "num2": {"type": "integer", "description": "Second number."}}, "required": ["num1", "num2"]}}}][/AVAILABLE_TOOLS][INST]What was Albert Einstein's contribution to science on March 17, 1915?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "map_coordinates_distance_calculate", "description": "Calculate the straight-line distance between two points given their longitude and latitude.", "parameters": {"type": "object", "properties": {"pointA": {"type": "object", "properties": {"latitude": {"type": "number", "description": "Latitude of Point A. (Range from -90 to 90)"}, "longitude": {"type": "number", "description": "Longitude of Point A. (Range from -180 to 180)"}}, "required": ["latitude", "longitude"]}, "pointB": {"type": "object", "properties": {"latitude": {"type": "number", "description": "Latitude of Point B. (Range from -90 to 90)"}, "longitude": {"type": "number", "description": "Longitude of Point B. (Range from -180 to 180)"}}, "required": ["latitude", "longitude"]}}, "required": ["pointA", "pointB"]}}}][/AVAILABLE_TOOLS][INST]Calculate the hypotenuse for a right-angled triangle where other sides are 5 and 6[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "unit_conversion_convert", "description": "Convert a value from one unit to another.", "parameters": {"type": "object", "properties": {"value": {"type": "number", "description": "The value to be converted."}, "from_unit": {"type": "string", "description": "The unit to convert from."}, "to_unit": {"type": "string", "description": "The unit to convert to."}}, "required": ["value", "from_unit", "to_unit"]}}}, {"type": "function", "function": {"name": "currency_conversion", "description": "Convert a value from one currency to another.", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to be converted."}, "from_currency": {"type": "string", "description": "The currency to convert from."}, "to_currency": {"type": "string", "description": "The currency to convert to."}}, "required": ["amount", "from_currency", "to_currency"]}}}, {"type": "function", "function": {"name": "calculate_weight_in_space", "description": "Calculate your weight on different planets given your weight on earth", "parameters": {"type": "object", "properties": {"weight_earth_kg": {"type": "integer", "description": "Your weight on Earth in Kilograms."}, "planet": {"type": "string", "description": "The planet you want to know your weight on."}}, "required": ["weight_earth_kg", "planet"]}}}][/AVAILABLE_TOOLS][INST]How much will I weigh on Mars if my weight on Earth is 70 kg?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_route_to_location", "description": "Calculates a route to a specified location based on the starting point and desired method of transportation.", "parameters": {"type": "object", "properties": {"start_point": {"type": "string", "description": "The starting location for the route."}, "end_point": {"type": "string", "description": "The desired destination of the route."}, "transport_method": {"type": "string", "description": "The method of transportation. Options include 'Driving', 'Walking', 'Cycling', and 'Public Transport'", "default": "Driving"}}, "required": ["start_point", "end_point"]}}}][/AVAILABLE_TOOLS][INST]Where is the nearest pharmacy in Los Angeles?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "ExasolExecutionContext_setCurrentSchema", "description": "Sets the current schema for the Exasol execution context to the specified schema name, and monitors the progress of this operation.", "parameters": {"type": "object", "properties": {"monitor": {"type": "string", "description": "The progress monitor to track the execution of setting the current schema."}, "schemaName": {"type": "string", "description": "The name of the schema to set as the current schema."}}, "required": ["monitor", "schemaName"]}}}][/AVAILABLE_TOOLS][INST]Help me change the current schema to 'AnalyticsDB' in the Exasol execution context while monitoring the progress with a monitor object named 'progressMonitor'?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "random_normalvariate", "description": "Generates a random number from a normal distribution given the mean and standard deviation.", "parameters": {"type": "object", "properties": {"mu": {"type": "integer", "description": "Mean of the normal distribution."}, "sigma": {"type": "integer", "description": "Standard deviation of the normal distribution."}}, "required": ["mu", "sigma"]}}}][/AVAILABLE_TOOLS][INST]You are a data scientist working on a project that requires you to generate random numbers from a normal distribution. You need to generate four random numbers: two from a normal distribution with a mean of 5 and a standard deviation of 2, and two from a normal distribution with a mean of 10 and a standard deviation of 3. How can you use the 'random.normalvariate' function to achieve this?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "house_price_forecast", "description": "Predict the house prices for a specific location and time frame.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city that you want to get the house price prediction for."}, "months": {"type": "integer", "description": "Number of future months for the prediction."}, "features": {"type": "array", "items": {"type": "string", "enum": ["SqFt", "Bedrooms", "Bathrooms", "Location"]}, "description": "Additional features considered for prediction. Not required. Default empty array", "optional": true}}, "required": ["location", "months"]}}}, {"type": "function", "function": {"name": "weather_forecast", "description": "Retrieve a weather forecast for a specific location and time frame.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city that you want to get the weather for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}}, "required": ["location", "days"]}}}, {"type": "function", "function": {"name": "stock_market_forecast", "description": "Predict the stock prices for a specific company and time frame.", "parameters": {"type": "object", "properties": {"company": {"type": "string", "description": "The company that you want to get the stock price prediction for."}, "days": {"type": "integer", "description": "Number of future days for the prediction."}}, "required": ["company", "days"]}}}][/AVAILABLE_TOOLS][INST]Predict the house prices for the next month in New York.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "Get statistics for all countries about COVID-19", "default": "https://covid-193.p.rapidapi.com/statistics"}, "headers": {"properties": {"X-RapidAPI-Key": {"type": "string", "description": "The API key for authenticating requests to RapidAPI."}, "X-RapidAPI-Host": {"type": "string", "description": "The host domain for the RapidAPI service being accessed."}}, "type": "object", "required": ["X-RapidAPI-Key", "X-RapidAPI-Host"]}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"country": {"type": "string", "description": "Name of the country to retrieve data for. Use '[All]' to indicate a global history request."}}, "type": "object", "required": []}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]While updating a public health website with interactive maps showcasing COVID-19 statistics by country, I need to fetch the latest data for India using the API-Sports endpoint. My credentials include an API key 'YOUR-RAPID-API-KEY' and host 'covid-193.p.rapidapi.com'. How can I retrieve the data, and is there specific formatting I should apply to the request for optimal data representation?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_prime_factors", "description": "Function to retrieve prime factors of a number.", "parameters": {"type": "object", "properties": {"number": {"type": "integer", "description": "Number for which prime factors need to be calculated"}, "formatted": {"type": "boolean", "description": "Return formatted string if true, array if false"}}, "required": ["number", "formatted"]}}}][/AVAILABLE_TOOLS][INST]What are the prime factors of the number 4567 and 7890, and can you provide these in a formatted string as well as an array?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "corporate_finance_calculate_YOY_growth_rate", "description": "Calculate the year over year (YOY) growth rate for a company.", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The name of the company for which to calculate the YOY growth rate."}, "year1": {"type": "integer", "description": "The initial year."}, "year1_revenue": {"type": "integer", "description": "The revenue for the initial year."}, "year2": {"type": "integer", "description": "The subsequent year."}, "year2_revenue": {"type": "integer", "description": "The revenue for the subsequent year."}}, "required": ["company_name", "year1", "year1_revenue", "year2", "year2_revenue"]}}}, {"type": "function", "function": {"name": "financial_ratios_calculate_ROE", "description": "Calculate the return on equity (ROE) for a company.", "parameters": {"type": "object", "properties": {"net_income": {"type": "number", "description": "Net income for the period."}, "shareholder_equity": {"type": "number", "description": "Average shareholder equity for the period."}}, "required": ["net_income", "shareholder_equity"]}}}, {"type": "function", "function": {"name": "financial_ratios_calculate_ROA", "description": "Calculate the return on assets (ROA) for a company.", "parameters": {"type": "object", "properties": {"net_income": {"type": "number", "description": "Net income for the period."}, "total_assets": {"type": "number", "description": "Total average assets for the period."}}, "required": ["net_income", "total_assets"]}}}][/AVAILABLE_TOOLS][INST]What is the year over year growth rate for company 'Tech Inc' with revenues of $1M in 2019 and $1.2M in 2020?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "RootObjectMapper_doXContent", "description": "Serializes the RootObjectMapper settings to XContent, with options to include default values and to skip runtime fields.", "parameters": {"type": "object", "properties": {"builder": {"type": "string", "description": "The XContentBuilder to which the content should be written."}, "params": {"type": "array", "description": "Parameters controlling the serialization, including whether to include defaults and whether to skip runtime fields.", "items": {"type": "string"}}}, "required": ["builder", "params"]}}}][/AVAILABLE_TOOLS][INST]Help me generate the XContent with xContentBuilderInstance for a RootObjectMapper that includes default settings for dynamic date formats, dynamic templates, date detection, and numeric detection, while skipping runtime fields?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "DesAPITest_init", "description": "Initializes the DES cipher with the specified algorithm, mode, and padding scheme.", "parameters": {"type": "object", "properties": {"crypt": {"type": "string", "description": "The encryption algorithm to use, such as 'DES' or 'DESede'."}, "mode": {"type": "string", "description": "The cipher mode to use, such as 'CBC' or 'ECB'."}, "padding": {"type": "string", "description": "The padding scheme to use, such as 'PKCS5Padding' or 'NoPadding'."}}, "required": ["crypt", "mode", "padding"]}}}][/AVAILABLE_TOOLS][INST]Help me initialize the DES cipher in Java for encryption with 'DESede' algorithm, 'CBC' mode, and 'PKCS5Padding' padding scheme?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sql_execute", "description": "Execute SQL queries based on user-defined parameters like SQL keyword, table name, column names, and conditions.", "parameters": {"type": "object", "properties": {"sql_keyword": {"type": "string", "enum": ["SELECT", "INSERT", "UPDATE", "DELETE", "CREATE"], "description": "The SQL keyword to define the type of operation."}, "table_name": {"type": "string", "description": "The name of the database table to operate on."}, "columns": {"type": "array", "items": {"type": "string"}, "description": "The column names involved in the SQL operation. If not specified use '*' to represent all columns."}, "insert_values": {"type": "array", "description": "Values of an INSERT statement.", "items": {"type": "array", "items": {"type": "string"}}}, "update_values": {"type": "array", "description": "Values of an UPDATE statement corresponding to columns to set.", "items": {"type": "string"}}, "conditions": {"type": "array", "description": "Conditions for the SQL operation, formatted as a SQL WHERE clause. Put them in the format of ['cond1 > val1', 'cond2 = val2', 'cond3<val3'] and etc.", "items": {"type": "array", "items": {"type": "string"}}}}, "required": ["sql_keyword", "table_name"]}}}][/AVAILABLE_TOOLS][INST]Can you create a new table called "CellTypes" in the database, with columns named "CellID", "CellName", "Organ", and "Function"?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "generate_DNA_sequence", "description": "Generate a random DNA sequence with a specific length and nucleotide preference.", "parameters": {"type": "object", "properties": {"length": {"type": "integer", "description": "The length of the DNA sequence to be generated."}, "preferences": {"type": "array", "items": {"type": "string", "enum": ["A", "T", "C", "G"]}, "description": "Preferred nucleotides to include more frequently in the DNA sequence."}}, "required": ["length", "preferences"]}}}][/AVAILABLE_TOOLS][INST]Can you generate four different DNA sequences each with a length of 500, where the first sequence has a preference for nucleotide 'A', the second sequence has a preference for nucleotide 'T', the third sequence has a preference for nucleotide 'C', and the fourth sequence has a preference for nucleotide 'G'?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "The API endpoint for fetching weather data from the Open-Meteo API for the given latitude and longitude", "default": "https://api.open-meteo.com/v1/forecast"}, "headers": {"properties": {}, "type": "object", "required": []}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"latitude": {"type": "string", "description": "Geographical WGS84 coordinates of the location. Multiple coordinates can be comma separated. E.g., &latitude=52.52,48.85&longitude=13.41,2.35. To return data for multiple locations the JSON output changes to a list of structures. CSV and XLSX formats add a column location_id."}, "longitude": {"type": "string", "description": "Geographical WGS84 coordinates of the location. Multiple coordinates can be comma separated."}, "elevation": {"type": "string", "description": "The elevation used for statistical downscaling. Per default, a 90 meter digital elevation model is used. You can manually set the elevation to correctly match mountain peaks. If &elevation=nan is specified, downscaling will be disabled and the API uses the average grid-cell height. For multiple locations, elevation can also be comma separated."}, "hourly": {"type": "array", "items": {"type": "string"}, "description": "A list of weather variables which should be returned. Values can be comma separated, or multiple &hourly= parameters in the URL can be used. Support parameters: temperature_2m,relative_humidity_2m,dew_point_2m,apparent_temperature,pressure_msl,cloud_cover,cloud_cover_low,cloud_cover_mid,cloud_cover_high,wind_speed_10m,wind_speed_80m,wind_speed_120m,wind_speed_180m,wind_direction_10m,wind_direction_80m,wind_direction_120m,wind_direction_180m,wind_gusts_10m,shortwave_radiation,direct_radiation,direct_normal_irradiance,diffuse_radiation,global_tilted_irradiance,vapour_pressure_deficit,cape,evapotranspiration,et0_fao_evapotranspiration,precipitation,snowfall,precipitation_probability,rain,showers,weather_code,snow_depth,freezing_level_height,visibility,soil_temperature_0cm,soil_temperature_6cm,soil_temperature_18cm,soil_temperature_54cm,soil_moisture_0_to_1cm,soil_moisture_1_to_3cm,soil_moisture_3_to_9cm,soil_moisture_9_to_27cm,soil_moisture_27_to_81cm"}, "daily": {"type": "array", "items": {"type": "string"}, "description": "A list of daily weather variable aggregations which should be returned. Values can be comma separated, or multiple &daily= parameters in the URL can be used. If daily weather variables are specified, parameter timezone is required. Possible values supported temperature_2m_max, temperature_2m_min, apparent_temperature_max, apparent_temperature_min, precipitation_sum, rain_sum, showers_sum, snowfall_sum, precipitation_hours, ,precipitation_probability_max, precipitation_probability_min, precipitation_probability_mean, weather_code,sunrise,sunset,sunshine_duration, daylight_duration, wind_speed_10m_max, wind_gusts_10m_max, wind_direction_10m_dominant,shortwave_radiation_sum,et0_fao_evapotranspiration,uv_index_maxuv_index_clear_sky_max"}, "temperature_unit": {"type": "string", "description": "If fahrenheit is set, all temperature values are converted to Fahrenheit.", "default": "celsius"}, "wind_speed_unit": {"type": "string", "description": "Other wind speed units: ms, mph, and kn.", "default": "kmh"}, "precipitation_unit": {"type": "string", "description": "Other precipitation amount units: inch.", "default": "mm"}, "timeformat": {"type": "string", "description": "If format unixtime is selaected, all time values are returned in UNIX epoch time in seconds. Please note that all timestamps are in GMT+0! For daily values with unix timestamps, please apply utc_offset_seconds again to get the correct date.", "default": "iso8601"}, "timezone": {"type": "string", "description": "If timezone is set, all timestamps are returned as local-time and data is returned starting at 00:00 local-time. Any time zone name from the time zone database is supported. If auto is set as a time zone, the coordinates will be automatically resolved to the local time zone. For multiple coordinates, a comma separated list of timezones can be specified.", "default": "GMT"}, "past_days": {"type": "integer", "description": "If past_days is set, yesterday or the day before yesterday data are also returned.", "default": 0}, "forecast_days": {"type": "integer", "description": "Per default, only 7 days are returned. Up to 16 days of forecast are possible.", "default": 7}, "forecast_hours": {"type": "integer", "description": "Similar to forecast_days, the number of timesteps of hourly data can be controlled."}, "forecast_minutely_15": {"type": "integer", "description": "The number of timesteps of 15-minutely data can be controlled."}, "past_hours": {"type": "integer", "description": "the number of timesteps of hourly data controlled"}, "past_minutely_15": {"type": "integer", "description": "the number of timesteps of 15 minute data controlled"}, "start_date": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "end_date": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "start_hour": {"type": "string", "description": "The time interval to get weather data for hourly data. Time must be specified as an ISO8601 date and time (e.g. 2022-06-30T12:00)."}, "end_hour": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "start_minutely_15": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "end_minutely_15": {"type": "string", "description": "The time interval to get weather data. A day must be specified as an ISO8601 date (e.g. 2022-06-30)."}, "models": {"type": "array", "items": {"type": "string"}, "description": "A list of string, manually select one or more weather models. Per default, the best suitable weather models will be combined."}, "cell_selection": {"type": "string", "description": "Set a preference how grid-cells are selected. The default land finds a suitable grid-cell on land with similar elevation to the requested coordinates using a 90-meter digital elevation model. sea prefers grid-cells on sea. nearest selects the nearest possible grid-cell."}, "apikey": {"type": "string", "description": "Only required to commercial use to access reserved API resources for customers. The server URL requires the prefix customer-. See pricing for more information."}}, "type": "object", "required": ["latitude", "longitude"]}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]I'm planning a hiking trip next weekend to the Rockies and I need an extended 10-day weather forecast. How can I get the weather data including temperature highs and lows, wind speed, and sum of precipitation for the coordinates 39.113014, -105.358887 with temperatures in Fahrenheit, wind speed in mph, and the local timezone?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_conversion_cost", "description": "Convert a value from one currency to another including conversion charges.", "parameters": {"type": "object", "properties": {"amount": {"type": "integer", "description": "The amount of money to be converted."}, "from_currency": {"type": "string", "description": "The current currency of the amount."}, "to_currency": {"type": "string", "description": "The target currency."}}, "required": ["amount", "from_currency", "to_currency"]}}}][/AVAILABLE_TOOLS][INST]How much will it cost in dollars if I transfer 15000 Euro to dollars? and how much if I convert 200 pounds to dollars?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "game_guide", "description": "A video game guide which provides guidance and tips for completing levels, solving puzzles or defeating bosses.", "parameters": {"type": "object", "properties": {"game_name": {"type": "string", "description": "The name of the game."}, "level": {"type": "integer", "description": "The level number of the game."}, "type": {"type": "string", "enum": ["puzzle", "boss", "traps", "missions"], "description": "The type of help you're seeking. Defaults to all types."}}, "required": ["game_name", "level"]}}}][/AVAILABLE_TOOLS][INST]Find me an ice cream store[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "mix_paint_color", "description": "Combine two primary paint colors and adjust the resulting color's lightness level.", "parameters": {"type": "object", "properties": {"color1": {"type": "string", "description": "The first primary color to be mixed."}, "color2": {"type": "string", "description": "The second primary color to be mixed."}, "lightness": {"type": "integer", "description": "The desired lightness level of the resulting color in percentage. The default level is set to 50%."}}, "required": ["color1", "color2"]}}}, {"type": "function", "function": {"name": "cooking_conversion_convert", "description": "Convert cooking measurements from one unit to another.", "parameters": {"type": "object", "properties": {"quantity": {"type": "integer", "description": "The quantity to be converted."}, "from_unit": {"type": "string", "description": "The unit to convert from."}, "to_unit": {"type": "string", "description": "The unit to convert to."}, "item": {"type": "string", "description": "The item to be converted."}}, "required": ["quantity", "from_unit", "to_unit", "item"]}}}, {"type": "function", "function": {"name": "group_dynamics_pattern", "description": "Examine the social dynamics and interactions within a group based on the personality traits and group size.", "parameters": {"type": "object", "properties": {"total": {"type": "integer", "description": "The total group size."}, "extroverts": {"type": "integer", "description": "The number of extroverted members in the group."}, "introverts": {"type": "integer", "description": "The number of introverted members in the group."}}, "required": ["total", "extroverts", "introverts"]}}}, {"type": "function", "function": {"name": "calculate_electric_field_strength", "description": "Calculate the electric field strength at a certain distance from a point charge.", "parameters": {"type": "object", "properties": {"charge": {"type": "number", "description": "The charge in Coulombs."}, "distance": {"type": "integer", "description": "The distance from the charge in meters."}, "medium": {"type": "string", "description": "The medium in which the charge and the point of calculation is located. Default is 'vacuum'."}}, "required": ["charge", "distance"]}}}][/AVAILABLE_TOOLS][INST]Calculate the electric field strength 4 meters away from a charge of 0.01 Coulombs.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "hotel_search_find_hotels", "description": "Search for hotels based on location and amenities.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. New York, NY."}, "amenities": {"type": "array", "items": {"type": "string", "enum": ["Breakfast", "Fitness Centre", "Free Wi-Fi", "Parking"]}, "description": "Preferred amenities in the hotel."}}, "required": ["location", "amenities"]}}}][/AVAILABLE_TOOLS][INST]Find a hotel in New York that provides breakfast and has a fitness centre.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "requests_get", "description": "Sends a GET request to the specified URL.", "parameters": {"type": "object", "properties": {"url": {"type": "string", "description": "Get statistics for all countries about COVID-19", "default": "https://covid-193.p.rapidapi.com/statistics"}, "headers": {"properties": {"X-RapidAPI-Key": {"type": "string", "description": "The API key for authenticating requests to RapidAPI."}, "X-RapidAPI-Host": {"type": "string", "description": "The host domain for the RapidAPI service being accessed."}}, "type": "object", "required": ["X-RapidAPI-Key", "X-RapidAPI-Host"]}, "timeout": {"type": "integer", "description": "How many seconds to wait for the server to send data before giving up."}, "params": {"properties": {"country": {"type": "string", "description": "Name of the country to retrieve data for. Use '[All]' to indicate a global history request."}}, "type": "object", "required": []}, "allow_redirects": {"type": "boolean", "description": "A Boolean to enable/disable redirection.", "default": true}, "auth": {"type": "array", "description": "A tuple to enable a certain HTTP authentication.", "default": "None", "items": {"type": "string"}}, "cert": {"type": "string", "description": "A String or Tuple specifying a cert file or key.", "default": "None"}, "cookies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of cookies to send with the request."}, "proxies": {"type": "object", "additionalProperties": {"type": "string"}, "description": "Dictionary of the protocol to the proxy url."}, "stream": {"type": "boolean", "description": "A Boolean indication if the response should be immediately downloaded (False) or streamed (True).", "default": false}, "verify": {"type": "string", "description": "A Boolean or a String indication to verify the servers TLS certificate or not.", "default": true}}, "required": ["url"]}}}][/AVAILABLE_TOOLS][INST]In the context of developing an application to track COVID-19 trends, I require to obtain statistics for France, including case numbers and vaccination rates. Considering my API key 'YOUR-RAPID-API-KEY' and host 'covid-193.p.rapidapi.com', how can I perform this request ensuring it times out after 25 seconds if the server doesn't respond? Additionally, is there a way to filter the data by specific dates or is it aggregated?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "restaurant_find", "description": "Locate restaurants based on specific criteria such as cuisine and price range", "parameters": {"type": "object", "properties": {"cuisine": {"type": "string", "description": "The type of cuisine preferred."}, "price": {"type": "array", "items": {"type": "string"}, "description": "Price range of the restaurant in format ['low', 'mid', 'high']. Default ['low', 'mid', 'high']"}}, "required": ["cuisine"]}}}, {"type": "function", "function": {"name": "recipe_find", "description": "Locate cooking recipes based on specific criteria such as main ingredient and number of ingredients", "parameters": {"type": "object", "properties": {"mainIngredient": {"type": "string", "description": "Main ingredient for the recipe."}, "ingredientLimit": {"type": "integer", "description": "Max number of ingredients the recipe should use."}}, "required": ["mainIngredient", "ingredientLimit"]}}}][/AVAILABLE_TOOLS][INST]Can I find a good cooking recipe for apple pie using less than 5 ingredients?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "plot_sine_wave", "description": "Plot a sine wave for a given frequency in a given range.", "parameters": {"type": "object", "properties": {"start_range": {"type": "integer", "description": "Start of the range in radians."}, "end_range": {"type": "integer", "description": "End of the range in radians."}, "frequency": {"type": "integer", "description": "Frequency of the sine wave in Hz."}, "amplitude": {"type": "integer", "description": "Amplitude of the sine wave. Default is 1."}, "phase_shift": {"type": "integer", "description": "Phase shift of the sine wave in radians. Default is 0."}}, "required": ["start_range", "end_range", "frequency"]}}}][/AVAILABLE_TOOLS][INST]"Can you plot two sine waves for me? The first one should have a frequency of 5 Hz, starting from 0 radians and ending at 10 radians, with an amplitude of 2 and a phase shift of 1 radian. The second one should have a frequency of 10 Hz, starting from 0 radians and ending at 20 radians, with an amplitude of 3 and a phase shift of 2 radians."[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "player_stats_average_scoring", "description": "Retrieve average scoring details of a specific basketball player.", "parameters": {"type": "object", "properties": {"player_name": {"type": "string", "description": "The name of the basketball player."}, "season": {"type": "string", "description": "The specific season to get statistics for."}, "league": {"type": "string", "default": "NBA", "description": "The league the player belongs to."}}, "required": ["player_name", "season"]}}}][/AVAILABLE_TOOLS][INST]What is the assist average of basketball player LeBron James?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "forest_growth_forecast", "description": "Predicts the forest growth over the next N years based on current trends.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The location where you want to predict forest growth."}, "years": {"type": "integer", "description": "The number of years for the forecast."}, "include_human_impact": {"type": "boolean", "description": "Whether or not to include the impact of human activities in the forecast. If not provided, defaults to false."}}, "required": ["location", "years"]}}}, {"type": "function", "function": {"name": "get_scientist_for_discovery", "description": "Retrieve the scientist's name who is credited for a specific scientific discovery or theory.", "parameters": {"type": "object", "properties": {"discovery": {"type": "string", "description": "The scientific discovery or theory."}}, "required": ["discovery"]}}}][/AVAILABLE_TOOLS][INST]Predict the growth of forest in Yellowstone National Park for the next 5 years including human impact.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "calculate_current", "description": "Calculate the electric current by giving the voltage and resistance.", "parameters": {"type": "object", "properties": {"voltage": {"type": "number", "description": "The electric voltage in volts."}, "resistance": {"type": "number", "description": "The electrical resistance in ohms."}, "frequency": {"type": "number", "description": "The frequency of the current, default is 50Hz."}}, "required": ["voltage", "resistance"]}}}][/AVAILABLE_TOOLS][INST]What's the mass of an electron?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "get_stock_data", "description": "Retrieve the current stock price for a specific company.", "parameters": {"type": "object", "properties": {"company_name": {"type": "string", "description": "The company for which to retrieve the stock price."}, "date": {"type": "string", "description": "The date for which to retrieve the stock price."}}, "required": ["company_name", "date"]}}}][/AVAILABLE_TOOLS][INST]Who won the basketball game between Lakers and Celtics yesterday?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "sports_team_get_top_scorer", "description": "Retrieve the top scorer of a sports team in a specific season.", "parameters": {"type": "object", "properties": {"team": {"type": "string", "description": "The name of the sports team."}, "season": {"type": "string", "description": "The season of interest, e.g. 2020-2021 NBA season."}, "league": {"type": "string", "description": "The league the team is part of. Default is 'NBA'."}}, "required": ["team", "season"]}}}][/AVAILABLE_TOOLS][INST]What is the roster of Manchester United?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "cooking_conversion_convert", "description": "Convert cooking measurements from one unit to another.", "parameters": {"type": "object", "properties": {"quantity": {"type": "integer", "description": "The quantity to be converted."}, "from_unit": {"type": "string", "description": "The unit to convert from."}, "to_unit": {"type": "string", "description": "The unit to convert to."}, "item": {"type": "string", "description": "The item to be converted."}}, "required": ["quantity", "from_unit", "to_unit", "item"]}}}, {"type": "function", "function": {"name": "run_linear_regression", "description": "Build a linear regression model using given predictor variables and a target variable.", "parameters": {"type": "object", "properties": {"predictors": {"type": "array", "items": {"type": "string"}, "description": "Array containing the names of predictor variables."}, "target": {"type": "string", "description": "The name of target variable."}, "standardize": {"type": "boolean", "description": "Option to apply standardization on the predictors. Defaults to False."}}, "required": ["predictors", "target"]}}}, {"type": "function", "function": {"name": "find_recipe", "description": "Locate a recipe based on name and its calorie content", "parameters": {"type": "object", "properties": {"recipeName": {"type": "string", "description": "The recipe's name."}, "maxCalories": {"type": "integer", "description": "The maximum calorie content of the recipe.", "default": 1000}}, "required": ["recipeName"]}}}, {"type": "function", "function": {"name": "travel_itinerary_generator", "description": "Generate a travel itinerary based on specific destination, duration and daily budget, with preferred exploration type.", "parameters": {"type": "object", "properties": {"destination": {"type": "string", "description": "Destination city of the trip."}, "days": {"type": "integer", "description": "Number of days for the trip."}, "daily_budget": {"type": "number", "description": "The maximum daily budget for the trip."}, "exploration_type": {"type": "string", "enum": ["nature", "urban", "history", "culture"], "description": "The preferred exploration type.", "default": "urban"}}, "required": ["destination", "days", "daily_budget"]}}}][/AVAILABLE_TOOLS][INST]Run a linear regression model with predictor variables 'Age', 'Income' and 'Education' and a target variable 'Purchase_Amount'. Also apply standardization.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "ExportNodeTest_doGeneric", "description": "Executes a generic operation on the given receiver object with the provided argument, using a specialized inlinable node and bound to a node library.", "parameters": {"type": "object", "properties": {"receiver": {"type": "string", "description": "The receiver object on which the operation is performed."}, "argument": {"type": "string", "description": "The argument to pass to the node's execute method."}, "node": {"type": "string", "description": "The specialized inlinable node used for execution."}, "library": {"type": "string", "description": "The node library to which this operation is bound."}}, "required": ["receiver", "argument", "node", "library"]}}}][/AVAILABLE_TOOLS][INST]Help me execute a generic operation on an inlined object with the argument 'HelloWorld' using a specialized node `InlinableNodeInstance`, considering that the operation is bound to a specific node library `NodeLibraryInstance`, using receiver `ExportInlinedObject1Instance`?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "mathematics_calculate_area_under_curve", "description": "Calculate the area under the curve for a given polynomial function within a specified interval.", "parameters": {"type": "object", "properties": {"polynomial": {"type": "array", "items": {"type": "integer"}, "description": "The coefficients of the polynomial, in decreasing order of exponent, where the first element is the coefficient for x^n, the second element is the coefficient for x^(n-1), and so on. The last element is the constant term."}, "limits": {"type": "array", "items": {"type": "integer"}, "description": "A list of two numbers specifying the lower and upper limit for the integration interval."}}, "required": ["polynomial", "limits"]}}}][/AVAILABLE_TOOLS][INST]"Can you calculate the area under the curve for the polynomial function with coefficients [3, -2, 1] (meaning the function is 3x^2 - 2x + 1) within the interval [-1, 2], and then do the same for the polynomial function with coefficients [1, 0, -1] (meaning the function is x^2 - 1) within the interval [0, 3]? Please provide both results."[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "PokemonGO_get_moves", "description": "Retrieve the set of moves a Pokemon can learn. The optional parameter checks if the Pokemon can learn a specified move.", "parameters": {"type": "object", "properties": {"pokemon": {"type": "string", "description": "The name of the Pokemon."}, "move": {"type": "string", "description": "An optional parameter that checks if the Pokemon can learn this specific move. default is 'Run'"}}, "required": ["pokemon"]}}}][/AVAILABLE_TOOLS][INST]In a game of Pokemon GO, what moves can a Pikachu learn? Also, check if Bulbasaur can learn a specific move named 'Solar Beam'.[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "country_info_largest_city", "description": "Fetch the largest city of a specified country.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "Name of the country."}}, "required": ["country"]}}}, {"type": "function", "function": {"name": "country_info_capital", "description": "Fetch the capital city of a specified country.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "Name of the country."}}, "required": ["country"]}}}, {"type": "function", "function": {"name": "country_info_population", "description": "Fetch the current population of a specified country.", "parameters": {"type": "object", "properties": {"country": {"type": "string", "description": "Name of the country."}}, "required": ["country"]}}}][/AVAILABLE_TOOLS][INST]What is the capital of Brazil?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "geometry_square_calculate", "description": "Calculates the area and perimeter of a square given the side length.", "parameters": {"type": "object", "properties": {"side": {"type": "integer", "description": "The length of a side of the square."}}, "required": ["side"]}}}, {"type": "function", "function": {"name": "geometry_circle_calculate", "description": "Calculates the area and circumference of a circle given the radius.", "parameters": {"type": "object", "properties": {"radius": {"type": "integer", "description": "The radius of the circle."}}, "required": ["radius"]}}}, {"type": "function", "function": {"name": "geometry_rectangle_calculate", "description": "Calculates the area and perimeter of a rectangle given the width and length.", "parameters": {"type": "object", "properties": {"width": {"type": "integer", "description": "The width of the rectangle."}, "length": {"type": "integer", "description": "The length of the rectangle."}}, "required": ["width", "length"]}}}][/AVAILABLE_TOOLS][INST]What is the area and perimeter of a rectangle with width of 7 units and length of 10 units?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "ConsoleAnnotator_annotate", "description": "Processes the given MarkupText for the specified context using a chain of ConsoleAnnotators, updating or removing annotators as necessary.", "parameters": {"type": "object", "properties": {"context": {"type": "string", "description": "The context in which the MarkupText is being annotated."}, "text": {"type": "string", "description": "The MarkupText to be annotated."}}, "required": ["context", "text"]}}}][/AVAILABLE_TOOLS][INST]Help me process a markup text `buildOutput` for a specific build context `jenkinsBuild` to apply console annotations in a Jenkins environment?[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "medical_records_get_disease_info", "description": "Retrieves comprehensive medical information based on the name of the disease", "parameters": {"type": "object", "properties": {"disease_name": {"type": "string", "description": "The name of the disease"}, "include_statistics": {"type": "boolean", "description": "Whether to include statistics related to the disease. Default is false"}}, "required": ["disease_name"]}}}][/AVAILABLE_TOOLS][INST]Find the information on motor neuron diseases[/INST] |
<s>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "personality_assessment_evaluate", "description": "Evaluate and categorize a user's personality type based on a given array of personality trait percentages.", "parameters": {"type": "object", "properties": {"traits": {"type": "array", "items": {"type": "object", "properties": {"trait": {"type": "string", "description": "The personality trait being evaluated."}, "percentage": {"type": "integer", "description": "The percentage representation of the trait in the user's personality."}}, "required": ["trait", "percentage"]}}, "detailed_output": {"type": "boolean", "description": "Determines whether the output should include a detailed explanation of the personality type. This is optional.", "default": "True"}}, "required": ["traits"]}}}][/AVAILABLE_TOOLS][INST]Give me the MTBI of my friend.[/INST] |
End of preview.
Subsets and Splits