PromptEngineer48/Ollama

What if i want to delete documents? Vector dbs

Opened this issue · 2 comments

andsty commented

Hi with the current setup of importing documents.
I understand that if i add new documents it will load the new documents.
What if i want to delete or replace existing embedded documents.
Also what do i have to change to use qtrand database installed locally on a docker instead of chroma?

just delete the db and cache folder which is created when you run the code.

That's not a workable solution.

Say you waited many hours, indexed a couple dozen documents.
But now you want to remove one of those.

You're telling me the solution is to.. well.. re-index all of it without that one document. That's not going to scale ;)