2 Home
gitea_admin edited this page 2026-10-12 05:38:49 +00:00

LangChain4j Embedding Store

Perform operations on the Langchain4jEmbeddingStores.

Metadata

Property Value
Scheme langchain4j-embeddingstore
Support Level Stable
Labels database,ai
Version 4.20.0 (CEQ 3.36.0)

Maven Dependency

<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-langchain4j-embeddingstore</artifactId>
    <version>4.20.0 (CEQ 3.36.0)</version>
</dependency>

Endpoint Properties

Name Type Required Default Description
embeddingStoreId string ✓ The id of the embedding store
action enum The operation to perform: ADD, REMOVE, or SEARCH
embeddingStore object Direct embedding store instance for vector operations
embeddingStoreFactory object The embedding store factory to use for creating embedding stores if no embeddingstore is provided
maxResults integer 5 Maximum number of results to return for SEARCH operation
minScore number Minimum similarity score threshold for SEARCH operation (0.0 to 1.0)
returnTextContent boolean false When true, SEARCH returns List with text content instead of List
lazyStartProducer boolean false Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.