aboutsummaryrefslogtreecommitdiffstats
path: root/Modelfile
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2024-02-13 16:36:24 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2024-02-13 16:36:24 +0000
commit12238c47081cd789c09e6677495cca3d31356cf1 (patch)
treef702377dfc4159b3752239c05eba2f7cc71071e5 /Modelfile
parent76963cdaad8b19335a8e13246313833cdaf758e6 (diff)
downloadnoetic-llama-12238c47081cd789c09e6677495cca3d31356cf1.tar.gz
noetic-llama-12238c47081cd789c09e6677495cca3d31356cf1.zip
Started on devcontainer stuff
Diffstat (limited to 'Modelfile')
-rw-r--r--Modelfile28
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