Class PostgresMlEmbeddingOptions
java.lang.Object
org.springframework.ai.postgresml.PostgresMlEmbeddingOptions
- All Implemented Interfaces:
EmbeddingOptions
,ModelOptions
PostgresML Embedding Options.
- Author:
- Christian Tzolov, Thomas Vitale
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.springframework.ai.embedding.EmbeddingOptions
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getModel()
void
void
setMetadataMode
(MetadataMode metadataMode) void
setTransformer
(String transformer) void
setVectorType
(PostgresMlEmbeddingModel.VectorType vectorType)
-
Constructor Details
-
PostgresMlEmbeddingOptions
public PostgresMlEmbeddingOptions()
-
-
Method Details
-
builder
-
getTransformer
-
setTransformer
-
getVectorType
-
setVectorType
-
getKwargs
-
setKwargs
-
getMetadataMode
-
setMetadataMode
-
getModel
- Specified by:
getModel
in interfaceEmbeddingOptions
-
getDimensions
- Specified by:
getDimensions
in interfaceEmbeddingOptions
-