Interface OracleEmbeddingStoreConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OracleEmbeddingStoreConfig.BuilderBase.OracleEmbeddingStoreConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forOracleEmbeddingStoreConfig
.static class
OracleEmbeddingStoreConfig.BuilderBase<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends OracleEmbeddingStoreConfig> Fluent API builder base forOracleEmbeddingStoreConfig
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The root configuration key for this builder.static final double
Default weight used for model factories. -
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.Builder
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 parameterstatic OracleEmbeddingStoreConfig
create()
Create a new instance with default values.static OracleEmbeddingStoreConfig
Deprecated.static OracleEmbeddingStoreConfig
Create 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.boolean
enabled()
If set tofalse
(default), 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.Use vectorIndex instead
-
Field Details
-
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
-
create
Create a new instance with default values.- Returns:
- a new instance
-
enabled
boolean enabled()If set tofalse
(default), OracleEmbeddingStore will not be available even if configured.- Returns:
- whether OracleEmbeddingStore is enabled, defaults to
false
-
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
Optional<dev.langchain4j.store.embedding.oracle.CreateOption> vectorIndexCreateOption()Deprecated.Use vectorIndex insteadConfigures the creation of an index on the embedding column of theEmbeddingTable
used 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.
-
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.
-
create(io.helidon.config.Config)