From fbfc03b0cc20a7514040c5d1dffb521b86cecd29 Mon Sep 17 00:00:00 2001 From: Daniel Wiesmann Date: Thu, 5 Dec 2024 12:38:45 +0000 Subject: [PATCH] Fix location tool chroma db location --- zeno/tools/location/location_tool.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zeno/tools/location/location_tool.py b/zeno/tools/location/location_tool.py index 155be79..6465cd6 100644 --- a/zeno/tools/location/location_tool.py +++ b/zeno/tools/location/location_tool.py @@ -10,8 +10,7 @@ gadm = fiona.open("data/gadm_410_small.gpkg") vectorstore = Chroma( - # persist_directory="data/chroma_gadm", - persist_directory="/Users/tam/Desktop/chroma_gadm", + persist_directory="data/chroma_gadm", embedding_function=OllamaEmbeddings( model="nomic-embed-text", base_url=os.environ["OLLAMA_BASE_URL"] ),