Interface OracleEmbeddingStoreConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OracleEmbeddingStoreConfig.BuilderBase.OracleEmbeddingStoreConfigImpl
Interface generated from blueprint
io.helidon.integrations.langchain4j.providers.oracle.OracleEmbeddingStoreConfigBlueprint. Please add javadoc to blueprint, as it is currently missing.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOracleEmbeddingStoreConfig.static classOracleEmbeddingStoreConfig.BuilderBase<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OracleEmbeddingStoreConfig> Fluent API builder base forOracleEmbeddingStoreConfig. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(OracleEmbeddingStoreConfig instance) Create a new fluent API builder from an existing instance.default dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.BuilderSkipped: embeddingTable - by pattern 'embeddingTable.*' embeddingTable - doesn't have exactly one parameter embeddingTable - by pattern 'embeddingTable.*' index - by pattern 'index.*' build - doesn't have exactly one parameterstatic OracleEmbeddingStoreConfigDeprecated.static OracleEmbeddingStoreConfigCreate a new instance from configuration.Configures a data source that connects to an Oracle Database.Configures a table used to store embeddings, text, and metadata.booleanenabled()If set tofalse, OracleEmbeddingStore will not be available even if configured.Generated fromOracleEmbeddingStore.Builder.exactSearch(boolean)ivfIndex()IVFIndex allows configuring an Inverted File Flat (IVF) index on the embedding column of theEmbeddingTable.JSONIndex allows configuring a function-based index on one or several keys of the metadata column of theEmbeddingTable.Optional<dev.langchain4j.store.embedding.oracle.CreateOption> The vector index creation option, which defines behavior when creating the vector index.Optional<dev.langchain4j.store.embedding.oracle.CreateOption> Deprecated.This option is deprecated, usevectorIndex()instead
-
Field Details
-
PROVIDER_KEY
AI provider config key.- See Also:
-
CONFIG_ROOT
The root configuration key for this builder.- See Also:
-
WEIGHT
static final double WEIGHTDefault weight used for model factories.- See Also:
-
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
configuredBuilder
default dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder configuredBuilder()Skipped:- embeddingTable - by pattern 'embeddingTable.*'
- embeddingTable - doesn't have exactly one parameter
- embeddingTable - by pattern 'embeddingTable.*'
- index - by pattern 'index.*'
- build - doesn't have exactly one parameter
Overridden:
OracleLc4jProvider.vectorIndex()OracleLc4jProvider.dataSource()OracleLc4jProvider.vectorIndex()OracleLc4jProvider.dataSource()
- Returns:
- Actual Lc4j model builder configured with this blueprint.
-
enabled
boolean enabled()If set tofalse, OracleEmbeddingStore will not be available even if configured.- Returns:
- whether OracleEmbeddingStore is enabled, defaults to
true
-
exactSearch
Generated fromOracleEmbeddingStore.Builder.exactSearch(boolean)- Returns:
- boolean property
-
embeddingTable
Optional<EmbeddingTableConfig> embeddingTable()Configures a table used to store embeddings, text, and metadata. -
jsonIndex
List<JsonIndexConfig> jsonIndex()JSONIndex allows configuring a function-based index on one or several keys of the metadata column of theEmbeddingTable. The function used to index a key is the same as the function used for searching on the store.- Returns:
- a list of json indexes
-
ivfIndex
List<IvfIndexConfig> ivfIndex()IVFIndex allows configuring an Inverted File Flat (IVF) index on the embedding column of theEmbeddingTable.- Returns:
- a list of ivf indexes
-
vectorIndex
Optional<dev.langchain4j.store.embedding.oracle.CreateOption> vectorIndex()The vector index creation option, which defines behavior when creating the vector index. -
vectorIndexCreateOption
Deprecated.This option is deprecated, usevectorIndex()insteadConfigures the creation of an index on the embedding column of theEmbeddingTableused by the embedding store. Depending on which CreateOption is provided, an index may be created. The default createOption isCreateOption.CREATE_NONE. -
dataSource
DataSource dataSource()Configures a data source that connects to an Oracle Database.- Returns:
- Data source to configure. Not null.
-
create(io.helidon.config.Config)