[requires Camel 4.23.0] Fix #3015: Add LangChain4j document ingestion Kamelets - #3016
Draft
JiriOndrusek wants to merge 1 commit into
Draft
[requires Camel 4.23.0] Fix #3015: Add LangChain4j document ingestion Kamelets#3016JiriOndrusek wants to merge 1 commit into
JiriOndrusek wants to merge 1 commit into
Conversation
The ingestion half of a RAG setup over the camel-langchain4j-ingest component (Camel 4.23): a sink that splits, batch-embeds and stores documents with identity metadata and optional dedup; generic Tika and Docling parse actions that capture the document id before the parse, so a document cannot forge its own identity; and a file source with knowledge-base semantics (read without consuming, edits re-delivered, raw bytes for parsers). Citrus tests cover each Kamelet and the compositions; they need Camel 4.23+ and fail on older versions by design, gating the merge until the catalog bumps (run with -Dcamel.version=4.23.0-SNAPSHOT). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Fixes #3015.
Requires Camel 4.23.0 with apache/camel#26190
Four Kamelets forming the ingestion half of a RAG setup, backed by the new
camel-langchain4j-ingestcomponent (CAMEL-24621, apache/camel#26190, Camel 4.23):EmbeddingStore, each segment stamped with the pipeline name and document id;optional dedup by id and a document size cap
the parse, so a crafted document cannot forge its own identity
raw bytes
Citrus tests cover each Kamelet, the source → action → sink compositions (including a binary PDF) and the file source's register semantics.
merging into a release line whose Camel cannot run these Kamelets. It turns green with the catalog's move to Camel 4.23. Verified locally with
-Dcamel.version=4.23.0-SNAPSHOT(6/6 passing).PR prepared by Claude Code on behalf of @JiriOndrusek.
🤖 Generated with Claude Code