Class DeepSeekChatProperties.Options
java.lang.Object
org.springframework.ai.model.deepseek.autoconfigure.DeepSeekChatProperties.Options
- Enclosing class:
- DeepSeekChatProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable DoubleDeprecated, for removal: This API element is subject to removal in a future version.@Nullable BooleanDeprecated, for removal: This API element is subject to removal in a future version.@Nullable IntegerDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringgetModel()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable DoubleDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable ResponseFormatDeprecated, for removal: This API element is subject to removal in a future version.getStop()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable DoubleDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable IntegerDeprecated, for removal: This API element is subject to removal in a future version.@Nullable DoublegetTopP()Deprecated, for removal: This API element is subject to removal in a future version.voidsetFrequencyPenalty(@Nullable Double frequencyPenalty) voidsetLogprobs(@Nullable Boolean logprobs) voidsetMaxTokens(@Nullable Integer maxTokens) voidvoidsetPresencePenalty(@Nullable Double presencePenalty) voidsetReasoningEffort(@Nullable DeepSeekApi.ChatCompletionRequest.ReasoningEffort reasoningEffort) voidsetResponseFormat(@Nullable ResponseFormat responseFormat) voidvoidsetTemperature(@Nullable Double temperature) voidsetThinking(@Nullable DeepSeekApi.ChatCompletionRequest.Thinking thinking) voidsetTopLogprobs(@Nullable Integer topLogprobs) void
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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)
-