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 a duplicate prevention mechanism #13

Open
dgarnitz opened this issue Aug 14, 2023 · 1 comment
Open

Add a duplicate prevention mechanism #13

dgarnitz opened this issue Aug 14, 2023 · 1 comment

Comments

@dgarnitz
Copy link
Owner

Right now most vector DBs support uploading duplicate vectors as long as the ID is unique. It might be beneficial for vectorflow to 1) prevent the uploading of duplicate vectors
2) deduplicate an index/collection/class object store

But is it possible to enforce these things in a performant way

@dgarnitz dgarnitz changed the title Investigate a duplication prevention and deduplication mechanism Add a duplicate prevention mechanism Apr 4, 2024
@dgarnitz
Copy link
Owner Author

dgarnitz commented Apr 4, 2024

The default deduplication field should be the source filename. We do not need to go down to the chunk level. Whoever builds this should take into account how to check this for each vector DB. If it's not possible to search qdrant/weaviate/pinecone by metadata field or ID, then we may need to use a SQL table in postgres. I don't want to add Redis just for this though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant