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

fix: de-duplicate IDs before inserting into ChromaDB #1001

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

sarahwooders
Copy link
Collaborator

Please describe the purpose of this pull request.
Due to creating IDs based on the Passage text and agent ID, we sometimes have duplicated IDs in a single list of inserts. This filters out duplicated IDs.

Related issues or PRs
#986

Is your PR over 500 lines of code?
No

Copy link
Collaborator

@cpacker cpacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpacker cpacker merged commit 326923b into main Feb 14, 2024
4 checks passed
@cpacker cpacker deleted the deduplicate-chroma-insert branch February 14, 2024 04:54
@vinayak-revelation
Copy link
Contributor

Thanks you very very much @sarahwooders and @cpacker for merging this.

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

Successfully merging this pull request may close these issues.

3 participants