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

feat/use deterministic id for pinecone uploader #220

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rbiseck3
Copy link
Collaborator

@rbiseck3 rbiseck3 commented Nov 6, 2024

Description

To avoid duplicate content when the same record is processed in pinecone, the id of each element is now a uuid generated from the combination of the element id and the file data identifier.

Safer approach than similar PR: PR219, because it doesn't involve deleting any content. The element id is now more deterministic than it was in the past, which is why the random id was originally introduces. Now, each element in a document should have a unique and deterministic id.

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.

1 participant