-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
181 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
""" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
} | ||
} | ||
] | ||
} |