This is an automated email from the ASF dual-hosted git repository. gfournier pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 79d1f71eb68c88b72dc5fcf6b2d63882656da3f0 Author: Gaelle Fournier <[email protected]> AuthorDate: Tue Oct 7 15:40:45 2025 +0200 CAMEL-22499: Add basic doc for camel-langchain4j-embeddingstore --- .../docs/langchain4j-embeddingstore-component.adoc | 64 ++++++++++++++++++++++ docs/components/modules/ROOT/nav.adoc | 1 + .../langchain4j-embeddingstore-component.adoc | 1 + 3 files changed, 66 insertions(+) diff --git a/components/camel-ai/camel-langchain4j-embeddingstore/src/main/docs/langchain4j-embeddingstore-component.adoc b/components/camel-ai/camel-langchain4j-embeddingstore/src/main/docs/langchain4j-embeddingstore-component.adoc new file mode 100644 index 000000000000..77a41176acb7 --- /dev/null +++ b/components/camel-ai/camel-langchain4j-embeddingstore/src/main/docs/langchain4j-embeddingstore-component.adoc @@ -0,0 +1,64 @@ += LangChain4j Embedding Store Component +:doctitle: LangChain4j Embedding Store +:shortname: langchain4j-embeddingstore +:artifactid: camel-langchain4j-embeddingstore +:description: Perform operations on the Langchain4jEmbeddingStores. +:since: 4.14 +:supportlevel: Preview +:tabs-sync-option: +:component-header: Only producer is supported +//Manually maintained attributes +:group: AI +:camel-spring-boot-name: langchain4j-embeddingstore + +*Since Camel {since}* + +*{component-header}* + +The LangChain4j Embedding Store component provides integration with https://github.com/langchain4j/langchain4j[LangChain4j] embedding stores for vector database operations. This component enables storing, retrieving, and searching embeddings across multiple vector database implementations through LangChain4j's unified interface. + +== Features + +The LangChain4j Embedding Store component offers the following key features: + +* **Vector Operations**: Add, remove, and search embeddings in vector databases +* **Similarity Search**: Perform semantic search with configurable scoring thresholds +* **Metadata Filtering**: Search with metadata-based constraints using filters +* **Multi-Database Support**: Support for various vector databases including Qdrant, Milvus, Weaviate, Neo4j, and others +* **Flexible Configuration**: Configure embedding stores via direct instances or factory patterns + +== Supported Operations + +The component supports three main operations controlled by the `CamelLangchain4jEmbeddingStoreAction` header: + +* **ADD** - Store embeddings with optional text segments and metadata +* **REMOVE** - Delete embeddings by their unique identifier +* **SEARCH** - Perform similarity search with configurable filters and scoring + +== URI format + +[source] +---- +langchain4j-embeddingstore:embeddingStoreId[?options] +---- + +Where *embeddingStoreId* is a unique identifier for the embedding store instance. + +// component-configure options: START + +// component-configure options: END + +// component options: START +include::partial$component-configure-options.adoc[] +include::partial$component-endpoint-options.adoc[] +// component options: END + +// endpoint options: START + +// endpoint options: END + +// component headers: START +include::partial$component-endpoint-headers.adoc[] +// component headers: END + +include::spring-boot:partial$starter.adoc[] diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc index 977c71b783f1..3d161290f514 100644 --- a/docs/components/modules/ROOT/nav.adoc +++ b/docs/components/modules/ROOT/nav.adoc @@ -11,6 +11,7 @@ *** xref:kserve-component.adoc[KServe] *** xref:langchain4j-agent-component.adoc[LangChain4j Agent] *** xref:langchain4j-chat-component.adoc[LangChain4j Chat] +*** xref:langchain4j-embeddingstore-component.adoc[LangChain4j Embedding Store] *** xref:langchain4j-embeddings-component.adoc[LangChain4j Embeddings] *** xref:langchain4j-tools-component.adoc[LangChain4j Tools] *** xref:langchain4j-web-search-component.adoc[LangChain4j Web Search] diff --git a/docs/components/modules/ROOT/pages/langchain4j-embeddingstore-component.adoc b/docs/components/modules/ROOT/pages/langchain4j-embeddingstore-component.adoc new file mode 120000 index 000000000000..8313bdef4939 --- /dev/null +++ b/docs/components/modules/ROOT/pages/langchain4j-embeddingstore-component.adoc @@ -0,0 +1 @@ +../../../../../components/camel-ai/camel-langchain4j-embeddingstore/src/main/docs/langchain4j-embeddingstore-component.adoc \ No newline at end of file
