Class PostgresMlEmbeddingOptions.Builder
java.lang.Object
org.springframework.ai.postgresml.PostgresMlEmbeddingOptions.Builder
- Enclosing class:
- PostgresMlEmbeddingOptions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
metadataMode
(MetadataMode metadataMode) transformer
(String transformer) vectorType
(PostgresMlEmbeddingModel.VectorType vectorType) withKwargs
(String kwargs) Deprecated, for removal: This API element is subject to removal in a future version.withKwargs
(Map<String, Object> kwargs) Deprecated, for removal: This API element is subject to removal in a future version.usekwargs(Map)
)} instead.withMetadataMode
(MetadataMode metadataMode) Deprecated, for removal: This API element is subject to removal in a future version.usemetadataMode(MetadataMode)
)} instead.withTransformer
(String transformer) Deprecated, for removal: This API element is subject to removal in a future version.usetransformer(String)
)} instead.withVectorType
(PostgresMlEmbeddingModel.VectorType vectorType) Deprecated, for removal: This API element is subject to removal in a future version.usevectorType(VectorType)
)} instead.
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transformer
-
vectorType
public PostgresMlEmbeddingOptions.Builder vectorType(PostgresMlEmbeddingModel.VectorType vectorType) -
kwargs
-
kwargs
-
metadataMode
-
withTransformer
@Deprecated(forRemoval=true, since="1.0.0-M5") public PostgresMlEmbeddingOptions.Builder withTransformer(String transformer) Deprecated, for removal: This API element is subject to removal in a future version.usetransformer(String)
)} instead. -
withVectorType
@Deprecated(forRemoval=true, since="1.0.0-M5") public PostgresMlEmbeddingOptions.Builder withVectorType(PostgresMlEmbeddingModel.VectorType vectorType) Deprecated, for removal: This API element is subject to removal in a future version.usevectorType(VectorType)
)} instead. -
withKwargs
@Deprecated(forRemoval=true, since="1.0.0-M5") public PostgresMlEmbeddingOptions.Builder withKwargs(String kwargs) Deprecated, for removal: This API element is subject to removal in a future version.usekwargs(String)
)} instead. -
withKwargs
@Deprecated(forRemoval=true, since="1.0.0-M5") public PostgresMlEmbeddingOptions.Builder withKwargs(Map<String, Object> kwargs) Deprecated, for removal: This API element is subject to removal in a future version.usekwargs(Map)
)} instead. -
withMetadataMode
@Deprecated(forRemoval=true, since="1.0.0-M5") public PostgresMlEmbeddingOptions.Builder withMetadataMode(MetadataMode metadataMode) Deprecated, for removal: This API element is subject to removal in a future version.usemetadataMode(MetadataMode)
)} instead. -
build
-
kwargs(String)
)} instead.