Class DeepSeekChatProperties.Options

java.lang.Object
org.springframework.ai.model.deepseek.autoconfigure.DeepSeekChatProperties.Options
Enclosing class:
DeepSeekChatProperties

public class DeepSeekChatProperties.Options extends Object
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • getModel

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.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)
    • getFrequencyPenalty

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.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)
    • getMaxTokens

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

      public void setMaxTokens(@Nullable Integer maxTokens)
    • getPresencePenalty

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.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)
    • getResponseFormat

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.chat.response-format") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable ResponseFormat getResponseFormat()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setResponseFormat

      public void setResponseFormat(@Nullable ResponseFormat responseFormat)
    • getStop

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

      public void setStop(@Nullable List<String> stop)
    • getTemperature

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.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.deepseek.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)
    • getLogprobs

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.chat.logprobs") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getLogprobs()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLogprobs

      public void setLogprobs(@Nullable Boolean logprobs)
    • getTopLogprobs

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

      public void setTopLogprobs(@Nullable Integer topLogprobs)
    • getThinking

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.chat.thinking") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable DeepSeekApi.ChatCompletionRequest.Thinking getThinking()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setThinking

      public void setThinking(@Nullable DeepSeekApi.ChatCompletionRequest.Thinking thinking)
    • getReasoningEffort

      @DeprecatedConfigurationProperty(replacement="spring.ai.deepseek.chat.reasoning-effort") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable DeepSeekApi.ChatCompletionRequest.ReasoningEffort getReasoningEffort()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setReasoningEffort

      public void setReasoningEffort(@Nullable DeepSeekApi.ChatCompletionRequest.ReasoningEffort reasoningEffort)