Skip to content

GH-5724: Add purgeEmbeddings method to ChromaVectorStore#5753

Open
suwe12 wants to merge 1 commit intospring-projects:mainfrom
suwe12:GH-5724
Open

GH-5724: Add purgeEmbeddings method to ChromaVectorStore#5753
suwe12 wants to merge 1 commit intospring-projects:mainfrom
suwe12:GH-5724

Conversation

@suwe12
Copy link
Copy Markdown

@suwe12 suwe12 commented Apr 3, 2026

Fixes #5724

This pull request adds the purgeEmbeddings() method to the ChromaVectorStore class.
This method allows users to delete all embeddings within a specific collection while keeping the collection structure intact.

Key changes:

  • Implemented purgeEmbeddings() in ChromaVectorStore.java using batch deletion.
    *Added integration test purgeEmbeddingsCollection() in ChromaVectorStoreIT.java to verify the functionality.
  • Ensured all commits are signed-off per DCO requirements.

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.

[Feature Request] Add deleteAll() or clear() method to VectorStore interface

1 participant