You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/09/03 05:25:00 UTC

[jira] [Updated] (CAMEL-23953) camel-langchain4j-embeddings/embeddingstore: batch operations (embedAll, addAll, removeAll by ids/filter)

     [ https://issues.apache.org/jira/browse/CAMEL-23953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-23953:
--------------------------------
    Fix Version/s: 4.23.0

> camel-langchain4j-embeddings/embeddingstore: batch operations (embedAll, addAll, removeAll by ids/filter)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23953
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23953
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-langchain4j-embeddings
>            Reporter: Federico Mariani
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.23.0
>
>
> The embeddings and embeddingstore components only support single-item operations, which makes RAG ingestion pipelines needlessly slow and chatty:
> *camel-langchain4j-embeddings*:
> * only {{EmbeddingModel.embed(TextSegment)}} is used; {{embedAll(List<TextSegment>)}} is not reachable — no batch path for a {{List<TextSegment>}} body.
> *camel-langchain4j-embeddingstore*:
> * ADD only calls {{add(embedding)}} / {{add(embedding, text)}} — no {{addAll(...)}} batch variants, no caller-supplied ids;
> * REMOVE only accepts a single String id body — no {{removeAll(Collection<String>)}}, no {{removeAll(Filter)}} (notable because the {{FILTER}} header infrastructure already exists for SEARCH), no clear-store {{removeAll()}}.
> *Proposal*: accept list bodies on the existing actions (or add ADD_ALL / REMOVE_ALL actions), and support {{removeAll(Filter)}} via the existing {{CamelLangChain4jEmbeddingStoreFilter}} header.
> Related: CAMEL-21587, CAMEL-21696 (adjacent, no overlap).
> _This issue was drafted by Claude Code on behalf of Federico Mariani._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)