-
-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
weaviate: add deduplication functionality to weaviate
The changes introduce a deduplication function to the vectorstores options. This function is used when adding documents to the store, allowing the system to filter out duplicate documents before they are added. This is particularly useful to prevent wasting time on creating an embedding when one already exists. The changes also include a test case for the new deduplication functionality, ensuring that it works as expected. The test case adds two documents to the store, one of which is a duplicate. The test verifies that only the unique document is added to the store.
- Loading branch information
Showing
3 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters