Interface OracleEmbeddingStoreConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OracleEmbeddingStoreConfig.BuilderBase.OracleEmbeddingStoreConfigImpl
Configuration for the Oracle embedding store,
OracleEmbeddingStore
.- 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
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.static OracleEmbeddingStoreConfig
create()
Create a new instance with default values.static OracleEmbeddingStoreConfig
Create a new instance from configuration.The data source name used for connecting to the Oracle embedding store.Properties of the embedding table associated with the Oracle embedding store.boolean
enabled()
If set totrue
, Oracle embedding store will be enabled.The exact search option, which specifies whether exact matching is used in searches.Optional
<dev.langchain4j.store.embedding.oracle.CreateOption> The vector index creation option, which defines behavior when creating the vector index.
-
Field Details
-
CONFIG_ROOT
Default configuration prefix.- 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
Create a new instance with default values.- Returns:
- a new instance
-
enabled
boolean enabled()If set totrue
, Oracle embedding store will be enabled.- Returns:
- whether Oracle embedding store is enabled, defaults to
false
-
dataSource
The data source name used for connecting to the Oracle embedding store.- Returns:
- an
Optional
containing the datasource name qualifier
-
embeddingTable
Optional<OracleEmbeddingTableConfig> embeddingTable()Properties of the embedding table associated with the Oracle embedding store.- Returns:
- an
Optional
containing theOracleEmbeddingTableConfig
representing table properties
-
exactSearch
The exact search option, which specifies whether exact matching is used in searches. -
vectorIndexCreateOption
Optional<dev.langchain4j.store.embedding.oracle.CreateOption> vectorIndexCreateOption()The vector index creation option, which defines behavior when creating the vector index.
-