Class OracleEmbeddingStoreConfig.BuilderBase.OracleEmbeddingStoreConfigImpl
java.lang.Object
io.helidon.integrations.langchain4j.providers.oracle.OracleEmbeddingStoreConfig.BuilderBase.OracleEmbeddingStoreConfigImpl
- All Implemented Interfaces:
Prototype.Api,OracleEmbeddingStoreConfig
- Enclosing class:
OracleEmbeddingStoreConfig.BuilderBase<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OracleEmbeddingStoreConfig>
protected static class OracleEmbeddingStoreConfig.BuilderBase.OracleEmbeddingStoreConfigImpl
extends Object
implements OracleEmbeddingStoreConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.langchain4j.providers.oracle.OracleEmbeddingStoreConfig
OracleEmbeddingStoreConfig.Builder, OracleEmbeddingStoreConfig.BuilderBase<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OracleEmbeddingStoreConfig> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe root configuration key for this builder.static final doubleDefault weight used for model factories. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptiondefault 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 parameterConfigures a data source that connects to an Oracle Database.Configures a table used to store embeddings, text, and metadata.booleanenabled()If set tofalse(default), OracleEmbeddingStore will not be available even if configured.booleanGenerated fromOracleEmbeddingStore.Builder.exactSearch(boolean)inthashCode()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.toString()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> Configures the creation of an index on the embedding column of theEmbeddingTableused by the embedding store.
-
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:
-
-
Constructor Details
-
OracleEmbeddingStoreConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
enabled
public boolean enabled()Description copied from interface:OracleEmbeddingStoreConfigIf set tofalse(default), OracleEmbeddingStore will not be available even if configured.- Specified by:
enabledin interfaceOracleEmbeddingStoreConfig- Returns:
- whether OracleEmbeddingStore is enabled, defaults to
false
-
exactSearch
Description copied from interface:OracleEmbeddingStoreConfigGenerated fromOracleEmbeddingStore.Builder.exactSearch(boolean)- Specified by:
exactSearchin interfaceOracleEmbeddingStoreConfig- Returns:
- boolean property
-
embeddingTable
Description copied from interface:OracleEmbeddingStoreConfigConfigures a table used to store embeddings, text, and metadata.- Specified by:
embeddingTablein interfaceOracleEmbeddingStoreConfig- Returns:
- an
Optionalcontaining the table used to store embeddings if set; otherwise, an emptyOptional.
-
jsonIndex
Description copied from interface:OracleEmbeddingStoreConfigJSONIndex 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.- Specified by:
jsonIndexin interfaceOracleEmbeddingStoreConfig- Returns:
- a list of json indexes
-
ivfIndex
Description copied from interface:OracleEmbeddingStoreConfigIVFIndex allows configuring an Inverted File Flat (IVF) index on the embedding column of theEmbeddingTable.- Specified by:
ivfIndexin interfaceOracleEmbeddingStoreConfig- Returns:
- a list of ivf indexes
-
vectorIndex
Description copied from interface:OracleEmbeddingStoreConfigThe vector index creation option, which defines behavior when creating the vector index.- Specified by:
vectorIndexin interfaceOracleEmbeddingStoreConfig- Returns:
- an
Optionalcontaining the vector index creation option if set; otherwise, an emptyOptional
-
vectorIndexCreateOption
Description copied from interface:OracleEmbeddingStoreConfigConfigures 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.- Specified by:
vectorIndexCreateOptionin interfaceOracleEmbeddingStoreConfig- Returns:
- an
Optionalcontaining the vector index creation option if set; otherwise, an emptyOptional
-
dataSource
Description copied from interface:OracleEmbeddingStoreConfigConfigures a data source that connects to an Oracle Database.- Specified by:
dataSourcein interfaceOracleEmbeddingStoreConfig- Returns:
- Data source to configure. Not null.
-
toString
-
equals
-
hashCode
public int hashCode() -
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.
-