Class VertexAiEmbeddingUtils.TextParametersBuilder
java.lang.Object
org.springframework.ai.vertexai.embedding.VertexAiEmbeddingUtils.TextParametersBuilder
- Enclosing class:
- VertexAiEmbeddingUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoTruncate
(Boolean autoTruncate) com.google.protobuf.Struct
build()
of()
outputDimensionality
(Integer outputDimensionality) withAutoTruncate
(Boolean autoTruncate) Deprecated, for removal: This API element is subject to removal in a future version.withOutputDimensionality
(Integer outputDimensionality) Deprecated, for removal: This API element is subject to removal in a future version.useoutputDimensionality(Integer)
instead.
-
Field Details
-
outputDimensionality
-
autoTruncate
-
-
Constructor Details
-
TextParametersBuilder
public TextParametersBuilder()
-
-
Method Details
-
of
-
outputDimensionality
public VertexAiEmbeddingUtils.TextParametersBuilder outputDimensionality(Integer outputDimensionality) -
autoTruncate
-
withOutputDimensionality
@Deprecated(forRemoval=true, since="1.0.0-M5") public VertexAiEmbeddingUtils.TextParametersBuilder withOutputDimensionality(Integer outputDimensionality) Deprecated, for removal: This API element is subject to removal in a future version.useoutputDimensionality(Integer)
instead. -
withAutoTruncate
@Deprecated(forRemoval=true, since="1.0.0-M5") public VertexAiEmbeddingUtils.TextParametersBuilder withAutoTruncate(Boolean autoTruncate) Deprecated, for removal: This API element is subject to removal in a future version.useautoTruncate(Boolean)
instead. -
build
public com.google.protobuf.Struct build()
-
autoTruncate(Boolean)
instead.