vanna-ai / vanna

🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using RAG 🔄.
https://vanna.ai/docs/
MIT License
9.97k stars 737 forks source link

how to backup/ restore chroma data for vanna.ai #392

Closed njalan closed 2 months ago

njalan commented 2 months ago

If I want to backup and restore the training data to another vanna instance, is there any guidence? Where is the data location for chroma data?

andreped commented 2 months ago

Hello @njalan! :] This sounds more like a discussion topic than an issue.

Previously, I have created the chroma.sqlite3 file by training on relevant data and stored it in an Azure storage. Then for deployment of a container, I download the chroma.sqlite3 file into the container and point to it for the persistent storage when initializing the Chroma/Vanna instance. That way I always have backup and I avoid training during app launch.

njalan commented 2 months ago

@andreped Thanks for your reply and it is working when use chroma.sqlite3