From 12238c47081cd789c09e6677495cca3d31356cf1 Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 13 Feb 2024 16:36:24 +0000 Subject: Started on devcontainer stuff --- Modelfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Modelfile (limited to 'Modelfile') 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} +""" \ No newline at end of file -- cgit v1.2.3