Overview
This module adds support for selected LangChain4j core components.
Maven Coordinates
No additional dependencies are required beyond the LangChain4j integration core dependencies.
Components
EmbeddingStoreContentRetriever
To automatically create and add EmbeddingStoreContentRetriever to the service registry add the following lines to application.yaml:
langchain4j:
rag:
embedding-store-content-retriever:
enabled: true
embedding-model:
service-registry.named: "@default"
embedding-store:
service-registry.named: "@default"If enabled is set to false, the configuration is ignored, and the component is not created.
Full list of configuration properties:
| Key | Type | Description |
|---|---|---|
display-name | string | Display name. |
enabled | boolean | If set to |
max-results | int | Maximum number of results. |
min-score | double | Minimum score threshold. |
embedding-model | string | Service in the service registry that implements |
embedding-store | string | Name of the service in the service registry that implements |