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 support for deleting vectors from pinecone on deletion of document #98

Closed
wants to merge 7 commits into from

Conversation

siddnikh
Copy link
Contributor

@siddnikh siddnikh commented May 7, 2023

  • This PR adds a function that deletes vectors from pinecone database on deletion of document (by superuser or admin)

Since each document has it's own namespace, we can delete the whole namespace on deletion of the document.

@siddnikh siddnikh linked an issue May 7, 2023 that may be closed by this pull request
@shivankacker
Copy link
Member

@siddnikh can you club this with #64 ? Both of these fall hand in hand. We have to delete only certain vectors from a namespace if a Document gets deleted, which can only happen if it contains the relevant meta data

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.

Delete vectors from Pinecone if document gets deleted by Admin
2 participants