diff --git a/ollama/models/geoassistant/Modelfile b/ollama/models/geoassistant/Modelfile new file mode 100644 index 0000000..be3efe2 --- /dev/null +++ b/ollama/models/geoassistant/Modelfile @@ -0,0 +1,14 @@ +FROM llama3:latest +PARAMETER temperature 0.8 +SYSTEM """ +You are a model trained to provide information about locations. +If you can't find locations from user message, explain your role. +You will respond with the requested information as a FeatureCollection in GeoJSON format with properties including the type of the location, its name, description, your sources, links and any relevant comments. +Note that : +- You reply using user language +- GeoJSON result must be indented and surrounded by markdown markers (```json ... ```) +- For the geometry, you produce GeoJSON points with the coordinates you found +""" + + + diff --git a/ollama/models/geoassistant/README.md b/ollama/models/geoassistant/README.md new file mode 100644 index 0000000..c10e490 --- /dev/null +++ b/ollama/models/geoassistant/README.md @@ -0,0 +1,74 @@ +# geoassistant + +## Model + +See [Modelfile](Modelfile) + +## Question + +Do you know the most visited museums in Paris? + +## Answer + +I can provide information about locations! + +Here are the most visited museums in Paris: + +```json +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": {"type": "Point", "coordinates": [2.2931, 48.8647]}, + "properties": { + "name": "The Louvre Museum", + "description": "One of the world's largest and most famous museums, it houses an +impressive collection of art and artifacts from ancient civilizations to the 19th century.", + "sources": ["Wikipedia", "Paris Tourist Office"], + "links": ["https://www.louvre.fr/", +"https://en.parisinfo.com/paris-museum-magazine/louvre-museum"] + } + }, + { + "type": "Feature", + "geometry": {"type": "Point", "coordinates": [2.3319, 48.8678]}, + "properties": { + "name": "Orsay Museum", + "description": "A museum of Impressionist and Post-Impressionist art, featuring works by +Monet, Renoir, Degas, Seurat, and Van Gogh.", + "sources": ["Wikipedia", "Paris Tourist Office"], + "links": ["https://www.musee-orsay.fr/", +"https://en.parisinfo.com/paris-museum-magazine/orangery-museum"] + } + }, + { + "type": "Feature", + "geometry": {"type": "Point", "coordinates": [2.2941, 48.8657]}, + "properties": { + "name": "Rodin Museum", + "description": "A museum dedicated to the works of French sculptor Auguste Rodin, +featuring many of his famous pieces.", + "sources": ["Wikipedia", "Paris Tourist Office"], + "links": ["https://www.musee-rodin.fr/", "https://en.parisinfo.com/paris-museum-magazine +rodin-museum"] + } + }, + { + "type": "Feature", + "geometry": {"type": "Point", "coordinates": [2.3308, 48.8669]}, + "properties": { + "name": "Quai Branly Museum", + "description": "A museum showcasing art and artifacts from Africa, Asia, Oceania, and +the Americas.", + "sources": ["Wikipedia", "Paris Tourist Office"], + "links": ["https://www.quaibranly.fr/", "https://en.parisinfo.com/paris-museum-magazine +quen-braun-ly-museum"] + } + } + ] +} +``` + +Note: The coordinates provided are approximate and represent the general location of each museum +in Paris. diff --git a/ollama/models/geoassistant/paris-museum.geojson b/ollama/models/geoassistant/paris-museum.geojson new file mode 100644 index 0000000..8a67025 --- /dev/null +++ b/ollama/models/geoassistant/paris-museum.geojson @@ -0,0 +1,93 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [ + 2.2931, + 48.8647 + ] + }, + "properties": { + "name": "The Louvre Museum", + "description": "One of the world's largest and most famous museums, it houses an impressive collection of art and artifacts from ancient civilizations to the 19th century.", + "sources": [ + "Wikipedia", + "Paris Tourist Office" + ], + "links": [ + "https://www.louvre.fr/", + "https://en.parisinfo.com/paris-museum-magazine/louvre-museum" + ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [ + 2.3319, + 48.8678 + ] + }, + "properties": { + "name": "Orsay Museum", + "description": "A museum of Impressionist and Post-Impressionist art, featuring works by Monet, Renoir, Degas, Seurat, and Van Gogh.", + "sources": [ + "Wikipedia", + "Paris Tourist Office" + ], + "links": [ + "https://www.musee-orsay.fr/", + "https://en.parisinfo.com/paris-museum-magazine/orangery-museum" + ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [ + 2.2941, + 48.8657 + ] + }, + "properties": { + "name": "Rodin Museum", + "description": "A museum dedicated to the works of French sculptor Auguste Rodin, featuring many of his famous pieces.", + "sources": [ + "Wikipedia", + "Paris Tourist Office" + ], + "links": [ + "https://www.musee-rodin.fr/", + "https://en.parisinfo.com/paris-museum-magazinerodin-museum" + ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [ + 2.3308, + 48.8669 + ] + }, + "properties": { + "name": "Quai Branly Museum", + "description": "A museum showcasing art and artifacts from Africa, Asia, Oceania, and the Americas.", + "sources": [ + "Wikipedia", + "Paris Tourist Office" + ], + "links": [ + "https://www.quaibranly.fr/", + "https://en.parisinfo.com/paris-museum-magazinequen-braun-ly-museum" + ] + } + } + ] +} \ No newline at end of file