PromptEngineer48 / Ollama

This repo brings numerous use cases from the Open Source Ollama
Apache License 2.0
180 stars 98 forks source link

What if i want to delete documents? Vector dbs #1

Open andsty opened 1 year ago

andsty commented 1 year ago

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?

PromptEngineer48 commented 1 year ago

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

markg85 commented 12 months ago

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 ;)