debezium/dbz#2040 feat: add Chroma adapter and end-to-end sync pipeli…#8
Merged
Conversation
c15ad5d to
ebc1034
Compare
f847159 to
2dad233
Compare
ebc1034 to
8e320ff
Compare
2dad233 to
046c24b
Compare
8e320ff to
7be6bd2
Compare
046c24b to
11cb202
Compare
7be6bd2 to
86d3b29
Compare
11cb202 to
e50d232
Compare
86d3b29 to
c4ad477
Compare
e50d232 to
8ed2d1c
Compare
c4ad477 to
2498e33
Compare
8ed2d1c to
9c7c425
Compare
Contributor
Author
@vjuranek I will update the other 2 PRs and rebase this. Thank you for the review ! |
…ne tests Signed-off-by: Mohnish <kmohnishm@gmail.com>
2498e33 to
46949ad
Compare
9c7c425 to
0fbfe10
Compare
Member
|
Merge, thanks @KMohnishM ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes debezium/dbz#2040.
This pull request completes the Week 3 deliverables by introducing the Chroma Vector Store Adapter (
ChromaAdapter) and adding the first suite of end-to-end pipeline integration tests to verify real-time event synchronization.This PR builds directly on top of the SyncManager introduced in PR #7 (
gsoc-week-3-sync).Key Changes
Chroma Vector Store Adapter (
pydebeziumai/adapters/chroma.py):ChromaAdapterwhich inherits from our baseVectorStoreAdapterinterface.langchain_chroma.Chromato enable vector operations inside the SyncManager.upsertanddeleteoperations for document lifecycle sync.as_retriever()which hooks directly into LangChain's retrieval chains.E2E Sync Integration Tests (
tests/integration/test_chroma_pipeline.py):FakeEmbeddings.c/r): Verifies documents are embedded and upserted.u): Verifies documents are updated (deleted and re-upserted to prevent duplicate keys).dwithsoft_delete=False): Verifies documents are fully deleted from the database.dwithsoft_delete=True): Verifies document is retained in the vector store but its metadata is updated with_is_deleted=Trueand its original state is preserved.Verification Results
All checks passed locally in the WSL testing environment:
All checks passed!).Success: no issues found in 28 source files).