mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

How to save and load a database to local

Open zhouyongxiu opened this issue 1 year ago • 2 comments

Issue with current documentation:

No response

zhouyongxiu avatar May 06 '24 10:05 zhouyongxiu

Hey @zhouyongxiu, can you please elaborate more about the issue? It is not clear what the feature request is. Please feel free to add a description to your issue.

deshraj avatar May 06 '24 17:05 deshraj

Sometimes, the data is very large, after I use bot.add() some data to database, I want to save the database to local disk, just like "bot.save()", when I use the bot next time, I can just load the bot like "bot.load", and would not use bot.add() again.

zhouyongxiu avatar May 07 '24 01:05 zhouyongxiu

Hi, this is explained under https://docs.embedchain.ai/components/data-sources/data-type-handling check out the section Reusing a vector database

denaha avatar May 20 '24 15:05 denaha

thanks

zhouyongxiu avatar May 22 '24 09:05 zhouyongxiu