Class GoogleGenAiTextEmbeddingProperties.Options

java.lang.Object
org.springframework.ai.model.google.genai.autoconfigure.embedding.GoogleGenAiTextEmbeddingProperties.Options
Enclosing class:
GoogleGenAiTextEmbeddingProperties

public class GoogleGenAiTextEmbeddingProperties.Options extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Integer
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    setDimensions(@Nullable Integer dimensions)
     
    void
    setModel(@Nullable String model)
     
    void
    setTaskType(@Nullable org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions.TaskType taskType)
     
    void
    setTitle(@Nullable String title)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public void setModel(@Nullable String model)
    • 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

      public void setDimensions(@Nullable Integer dimensions)
    • 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

      public void setTitle(@Nullable String title)