marella / chatdocs

Chat with your documents offline using AI.
MIT License
684 stars 99 forks source link

is it possible to reset DB ? #11

Closed gandolfi974 closed 1 year ago

gandolfi974 commented 1 year ago

hello, i have upload document and after delete them but the LLM have this dcoument in memory. How i can reset memroy or refresh the document list ?

thanks

marella commented 1 year ago

Hi, you can delete the db directory and add documents again. You should also restart the UI by stopping (ctrl + c) and starting (chatdocs ui) it again after adding documents.

gandolfi974 commented 1 year ago

thanks. it would be nice to have a command in the interface or on the command line that does this automatically. Depending on the project, you don't need the same documents to consult, and this can quickly become a big mix-up.