Class GoogleGenAiTextEmbeddingOptions

java.lang.Object
org.springframework.ai.google.genai.text.GoogleGenAiTextEmbeddingOptions
All Implemented Interfaces:
org.springframework.ai.embedding.EmbeddingOptions, org.springframework.ai.model.ModelOptions

public class GoogleGenAiTextEmbeddingOptions extends Object implements org.springframework.ai.embedding.EmbeddingOptions
Options for the Embedding supported by the GenAI SDK
Since:
1.0.0
Author:
Christian Tzolov, Ilayaperumal Gopinathan, Dan Dobrin, Sebastien Deleuze
  • Field Details

    • DEFAULT_MODEL_NAME

      public static final String DEFAULT_MODEL_NAME
  • Constructor Details

  • Method Details

    • builder

      public static GoogleGenAiTextEmbeddingOptions.Builder builder()
    • getModel

      public @Nullable String getModel()
      Specified by:
      getModel in interface org.springframework.ai.embedding.EmbeddingOptions
    • getTaskType

      public @Nullable GoogleGenAiTextEmbeddingOptions.TaskType getTaskType()
    • getDimensions

      public @Nullable Integer getDimensions()
      Specified by:
      getDimensions in interface org.springframework.ai.embedding.EmbeddingOptions
    • getTitle

      public @Nullable String getTitle()
    • getAutoTruncate

      public @Nullable Boolean getAutoTruncate()