kcaverly
/
nexus-raven-v2-13b-gguf
A quantized 13B parameter language model from NexusFlow for SOTA zero-shot function calling
Prediction
kcaverly/nexus-raven-v2-13b-gguf:adc42ab5943973f0ce05425376b2d5ff48eda3f5735ab3598cce028a54251b2fIDljsylolbxfl3f3kuohlnznzgxiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- Function: def get_weather_data(coordinates): """ Fetches weather data from the Open-Meteo API for the given latitude and longitude. Args: coordinates (tuple): The latitude of the location. Returns: float: The current temperature in the coordinates you've asked for """ Function: def get_coordinates_from_city(city_name): """ Fetches the latitude and longitude of a given city name using the Maps.co Geocoding API. Args: city_name (str): The name of the city. Returns: tuple: The latitude and longitude of the city. """ User Query: What is the weather like in Seattle right now?<human_end>
- temperature
- 0.001
- max_new_tokens
- -1
Output
Call: get_weather_data(coordinates=get_coordinates_from_city(city_name='Seattle')) Thought: The function call `get_weather_data(coordinates=get_coordinates_from_city(city_name='Seattle'))` answers the question "What is the weather like in Seattle right now?" by first fetching the latitude and longitude of Seattle using the Maps.co Geocoding API, and then using those coordinates to fetch the current temperature from the Open-Meteo API. Here's a step-by-step breakdown of what happens when you call this function: 1. The `get_coordinates_from_city` function is called with the argument `'Seattle'`. This function uses the Maps.co Geocoding API to fetch the latitude and longitude of Seattle. 2. The `get_weather_data` function is then called with the coordinates returned by `get_coordinates_from_city`. This function uses the Open-Meteo API to fetch the current temperature in the given coordinates. 3. The `get_weather_data` function returns the current temperature in the coordinates you've asked for. In this case, it will return the current temperature in Seattle. Therefore, the function call `get_weather_data(coordinates=get_coordinates_from_city(city_name='Seattle'))` answers the question "What is the weather like in Seattle right now?" by first fetching the latitude and longitude of Seattle using the Maps.co Geocoding API, and then using those coordinates to fetch the current temperature from the Open-Meteo API.Generated in
Want to make some of these yourself?
Run this model