diff options
Diffstat (limited to 'Modelfile')
-rw-r--r-- | Modelfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Modelfile b/Modelfile new file mode 100644 index 0000000..bc66595 --- /dev/null +++ b/Modelfile @@ -0,0 +1,28 @@ +FROM nexusraven:13b-v2-q3_K_S +SYSTEM """ +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: {query}<human_end> +"""
\ No newline at end of file |