Class VertexAiTextEmbeddingOptions
java.lang.Object
org.springframework.ai.vertexai.embedding.text.VertexAiTextEmbeddingOptions
- All Implemented Interfaces:
EmbeddingOptions,ModelOptions
Options for the Vertex AI Text Embedding service.
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Ilayaperumal Gopinathan, Sebastien Deleuze
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVertexAiTextEmbeddingOptions(@Nullable String model, @Nullable VertexAiTextEmbeddingOptions.TaskType taskType, @Nullable Integer dimensions, @Nullable String title, @Nullable Boolean autoTruncate) -
Method Summary
-
Field Details
-
DEFAULT_MODEL_NAME
-
-
Constructor Details
-
VertexAiTextEmbeddingOptions
protected VertexAiTextEmbeddingOptions(@Nullable String model, @Nullable VertexAiTextEmbeddingOptions.TaskType taskType, @Nullable Integer dimensions, @Nullable String title, @Nullable Boolean autoTruncate)
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModelin interfaceEmbeddingOptions
-
getTaskType
-
getDimensions
- Specified by:
getDimensionsin interfaceEmbeddingOptions
-
getTitle
-
getAutoTruncate
-