Class GoogleGenAiTextEmbeddingProperties

java.lang.Object
org.springframework.ai.model.google.genai.autoconfigure.embedding.GoogleGenAiTextEmbeddingProperties

@ConfigurationProperties("spring.ai.google.genai.embedding.text") public class GoogleGenAiTextEmbeddingProperties extends Object
Configuration properties for Google GenAI Text Embedding.
Since:
1.1.0
Author:
Christian Tzolov, Mark Pollack, Ilayaperumal Gopinathan, Sebastien Deleuze
  • Field Details

  • Constructor Details

    • GoogleGenAiTextEmbeddingProperties

      public GoogleGenAiTextEmbeddingProperties()
  • Method Details

    • getModel

      public @Nullable String getModel()
    • setModel

      public void setModel(@Nullable String model)
    • getTaskType

      public @Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType getTaskType()
    • setTaskType

      public void setTaskType(@Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType taskType)
    • getDimensions

      public @Nullable Integer getDimensions()
    • setDimensions

      public void setDimensions(@Nullable Integer dimensions)
    • getTitle

      public @Nullable String getTitle()
    • setTitle

      public void setTitle(@Nullable String title)
    • toOptions

      public org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions toOptions()
    • getOptions

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.embedding.text") @Deprecated(since="2.0.0", forRemoval=true) public GoogleGenAiTextEmbeddingProperties.Options getOptions()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOptions

      public void setOptions(GoogleGenAiTextEmbeddingProperties.Options options)