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]delete_by_metadata and [a]update_metadata methods to vector store #89

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

hemidactylus
Copy link
Collaborator

This PR adds four methods to the vector store, the a/sync versions of:

  • update metadata (of several documents at once). This has the semantic of updating a dictionary, i.e. old keys are not lost and overlapping keys are overridden;
  • delete (a number of documents) by a metadata filter.

These methods are needed by the operation of "promoting" a vector store to a graph vector store.

@hemidactylus
Copy link
Collaborator Author

@epinzur FYI

@hemidactylus hemidactylus added the do_not_merge Do not merge yet, requires further discussion label Oct 1, 2024
@hemidactylus hemidactylus removed the do_not_merge Do not merge yet, requires further discussion label Oct 3, 2024
@hemidactylus hemidactylus merged commit 3926ace into main Oct 3, 2024
13 checks passed
@hemidactylus hemidactylus deleted the SL-update-delby-metadata-DEV-349 branch October 3, 2024 09:07
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.

2 participants