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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Fields inherited from interface org.springframework.ai.embedding.EmbeddingOptions
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getModel()
getTitle()
void
setAutoTruncate
(Boolean autoTruncate) void
setDimensions
(Integer dimensions) void
void
void
-
Field Details
-
DEFAULT_MODEL_NAME
-
-
Constructor Details
-
VertexAiTextEmbeddingOptions
public VertexAiTextEmbeddingOptions()
-
-
Method Details
-
builder
-
initializeDefaults
-
getModel
- Specified by:
getModel
in interfaceEmbeddingOptions
-
setModel
-
getTaskType
-
setTaskType
-
getDimensions
- Specified by:
getDimensions
in interfaceEmbeddingOptions
-
setDimensions
-
getTitle
-
setTitle
-
getAutoTruncate
-
setAutoTruncate
-