Overview
This module adds support for the Oracle embedding store.
Maven Coordinates
In addition to the Helidon integration with LangChain4j core dependencies, you must add the following:
<dependency>
<groupId>io.helidon.integrations.langchain4j.providers</groupId>
<artifactId>helidon-integrations-langchain4j-providers-oracle</artifactId>
</dependency>Components
OracleEmbeddingStore
To automatically create and add OracleEmbeddingStore to the service registry add the following lines to application.yaml:
langchain4j:
oracle:
embedding-store:
enabled: true
embedding-table:
name: "embeddings"If enabled is set to false, the configuration is ignored, and the component is not created.
Full list of configuration properties:
| Key | Type | Description |
|---|---|---|
data-source | string | The name of Helidon service containing a data source for connecting to the Oracle embedding store. If not present the default unnamed service is used. |
embedding-table | Root configuration key for | |
enabled | boolean | If set to |
exact-search | boolean | Specifies whether exact matching is used in searches. |
vector-index-create-option | string | The vector index creation option, which defines behavior when creating the vector index. Options are |
OracleEmbeddingTable
Full list of configuration properties:
| Key | Type | Description |
|---|---|---|
create-option | string | Defines the behavior when creating the embedding table. Options are: |
embedding-column | string | Name of the embedding column in the embedding table. Default is "embedding". |
id-column | string | Name of the ID column in the embedding table. Default is "id". |
metadata-column | string | Name of the metadata column in the embedding table. default is "metadata". |
name | string | Required. Name of the embedding table. |
text-column | string | Name of the text column in the embedding table. Default is "text". |