Class GoogleGenAiTextEmbeddingProperties.Options
java.lang.Object
org.springframework.ai.model.google.genai.autoconfigure.embedding.GoogleGenAiTextEmbeddingProperties.Options
- Enclosing class:
- GoogleGenAiTextEmbeddingProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable IntegerDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringgetModel()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskTypeDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringgetTitle()Deprecated, for removal: This API element is subject to removal in a future version.voidsetDimensions(@Nullable Integer dimensions) voidvoidsetTaskType(@Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType taskType) void
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
getModel
@DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.embedding.text.model") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getModel()Deprecated, for removal: This API element is subject to removal in a future version. -
setModel
-
getTaskType
@DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.embedding.text.task-type") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType getTaskType()Deprecated, for removal: This API element is subject to removal in a future version. -
setTaskType
public void setTaskType(@Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType taskType) -
getDimensions
@DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.embedding.text.dimensions") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getDimensions()Deprecated, for removal: This API element is subject to removal in a future version. -
setDimensions
-
getTitle
@DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.embedding.text.title") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getTitle()Deprecated, for removal: This API element is subject to removal in a future version. -
setTitle
-