Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/delete documents to/from existing vector store #101

Open
manikotaru opened this issue Feb 19, 2023 · 4 comments
Open

Add/delete documents to/from existing vector store #101

manikotaru opened this issue Feb 19, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@manikotaru
Copy link

Is there a way to update the index files (.pkl and .faiss) with new documents (they can be put in a separate folder) rather than starting the ingest.py over with all the files?

@dartpain dartpain added the enhancement New feature or request label Feb 19, 2023
@jaredbradley243
Copy link
Collaborator

@dartpain Is this something that can be done? If so, I'll start reading exploring how to implement it.

@gd1m3y
Copy link

gd1m3y commented Apr 5, 2023

I think appending to FAISS index is simple enough but the major challenge is in deletion i think since each chunk or text piece has its own ID so makes it a bit more challenging but i think it could be done. for more reference https://github.com/hwchase17/langchain/blob/master/langchain/vectorstores/faiss.py

@shivanandmn
Copy link
Contributor

@dartpain
Copy link
Contributor

Please try, think it can be beneficial.
Oncle we have settings up and running in our app, the will be a vectorstore menu with those extra actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

5 participants