Class GoogleGenAiChatProperties.Options

java.lang.Object
org.springframework.ai.model.google.genai.autoconfigure.chat.GoogleGenAiChatProperties.Options
Enclosing class:
GoogleGenAiChatProperties

public class GoogleGenAiChatProperties.Options extends Object
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • getModel

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.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)
    • getStopSequences

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.stop-sequences") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable List<String> getStopSequences()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setStopSequences

      public void setStopSequences(@Nullable List<String> stopSequences)
    • getTemperature

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.temperature") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Double getTemperature()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTemperature

      public void setTemperature(@Nullable Double temperature)
    • getTopP

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.top-p") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Double getTopP()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTopP

      public void setTopP(@Nullable Double topP)
    • getTopK

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.top-k") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getTopK()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTopK

      public void setTopK(@Nullable Integer topK)
    • getCandidateCount

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.candidate-count") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getCandidateCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setCandidateCount

      public void setCandidateCount(@Nullable Integer candidateCount)
    • getMaxOutputTokens

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.max-output-tokens") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getMaxOutputTokens()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMaxOutputTokens

      public void setMaxOutputTokens(@Nullable Integer maxOutputTokens)
    • getResponseMimeType

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.response-mime-type") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getResponseMimeType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setResponseMimeType

      public void setResponseMimeType(@Nullable String responseMimeType)
    • getResponseSchema

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.response-schema") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getResponseSchema()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setResponseSchema

      public void setResponseSchema(@Nullable String responseSchema)
    • getFrequencyPenalty

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.frequency-penalty") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Double getFrequencyPenalty()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setFrequencyPenalty

      public void setFrequencyPenalty(@Nullable Double frequencyPenalty)
    • getPresencePenalty

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.presence-penalty") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Double getPresencePenalty()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPresencePenalty

      public void setPresencePenalty(@Nullable Double presencePenalty)
    • getThinkingBudget

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.thinking-budget") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getThinkingBudget()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setThinkingBudget

      public void setThinkingBudget(@Nullable Integer thinkingBudget)
    • getIncludeThoughts

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.include-thoughts") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getIncludeThoughts()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setIncludeThoughts

      public void setIncludeThoughts(@Nullable Boolean includeThoughts)
    • getThinkingLevel

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.thinking-level") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable org.springframework.ai.google.genai.common.GoogleGenAiThinkingLevel getThinkingLevel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setThinkingLevel

      public void setThinkingLevel(@Nullable org.springframework.ai.google.genai.common.GoogleGenAiThinkingLevel thinkingLevel)
    • getIncludeExtendedUsageMetadata

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.include-extended-usage-metadata") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getIncludeExtendedUsageMetadata()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setIncludeExtendedUsageMetadata

      public void setIncludeExtendedUsageMetadata(@Nullable Boolean includeExtendedUsageMetadata)
    • getCachedContentName

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.cached-content-name") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getCachedContentName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setCachedContentName

      public void setCachedContentName(@Nullable String cachedContentName)
    • getUseCachedContent

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.use-cached-content") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getUseCachedContent()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setUseCachedContent

      public void setUseCachedContent(@Nullable Boolean useCachedContent)
    • getAutoCacheThreshold

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.auto-cache-threshold") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getAutoCacheThreshold()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setAutoCacheThreshold

      public void setAutoCacheThreshold(@Nullable Integer autoCacheThreshold)
    • getAutoCacheTtl

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.auto-cache-ttl") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Duration getAutoCacheTtl()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setAutoCacheTtl

      public void setAutoCacheTtl(@Nullable Duration autoCacheTtl)
    • getGoogleSearchRetrieval

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.google-search-retrieval") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getGoogleSearchRetrieval()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setGoogleSearchRetrieval

      public void setGoogleSearchRetrieval(@Nullable Boolean googleSearchRetrieval)
    • getIncludeServerSideToolInvocations

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.include-server-side-tool-invocations") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getIncludeServerSideToolInvocations()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setIncludeServerSideToolInvocations

      public void setIncludeServerSideToolInvocations(@Nullable Boolean includeServerSideToolInvocations)
    • getSafetySettings

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.safety-settings") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable List<org.springframework.ai.google.genai.common.GoogleGenAiSafetySetting> getSafetySettings()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setSafetySettings

      public void setSafetySettings(@Nullable List<org.springframework.ai.google.genai.common.GoogleGenAiSafetySetting> safetySettings)
    • getLabels

      @DeprecatedConfigurationProperty(replacement="spring.ai.google.genai.chat.labels") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Map<String,String> getLabels()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLabels

      public void setLabels(@Nullable Map<String,String> labels)