Replies: 2 comments
-
I am doing this using built-in from vanna.local import LocalContext_OpenAI
chroma_path = # get the path you want, e.g. os.environ.get("VANNA_CHROMA_PATH", "./vanna-db")
vn = LocalContext_OpenAI(
config={
"api_key": "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",
"model": "gpt-4o",
"path": chroma_path,
}
) When using the You can see that in ./src/vanna/chromadb/chromadb_vector.py. But I think by default it will create the db in the CWD and will reload it from there even if you don't specify a path. If you are using your own implementation of Vanna, you will have to do something similar and pass |
Beta Was this translation helpful? Give feedback.
-
Is there any option to use a env variable to specify the path in docker environment variable like:
|
Beta Was this translation helpful? Give feedback.
-
Can't find the instruction from documents about how to :
I'm using ChromaDB with the config:
Even with the 'persistent' option, it won't stop the re-training process everytime when I start the app.
Could anyone help me about the issue?
Thanks a lot~
Beta Was this translation helpful? Give feedback.
All reactions