Class MistralAiChatProperties.Options
java.lang.Object
org.springframework.ai.model.mistralai.autoconfigure.MistralAiChatProperties.Options
- Enclosing class:
- MistralAiChatProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable DoubleDeprecated, 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 IntegergetN()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.@Nullable IntegerDeprecated, 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 BooleanDeprecated, 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 List<MistralAiApi.FunctionTool>getTools()Deprecated, 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) voidsetMaxTokens(@Nullable Integer maxTokens) voidvoidvoidsetPresencePenalty(@Nullable Double presencePenalty) voidsetRandomSeed(@Nullable Integer randomSeed) voidsetResponseFormat(@Nullable MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat) voidsetSafePrompt(@Nullable Boolean safePrompt) voidvoidsetTemperature(@Nullable Double temperature) voidsetToolChoice(@Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice) voidsetTools(@Nullable List<MistralAiApi.FunctionTool> tools) void
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
getModel
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.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
-
getTemperature
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.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.mistralai.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
-
getMaxTokens
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.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
-
getSafePrompt
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.chat.safe-prompt") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getSafePrompt()Deprecated, for removal: This API element is subject to removal in a future version. -
setSafePrompt
-
getRandomSeed
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.chat.random-seed") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getRandomSeed()Deprecated, for removal: This API element is subject to removal in a future version. -
setRandomSeed
-
getResponseFormat
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.chat.response-format") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable MistralAiApi.ChatCompletionRequest.ResponseFormat getResponseFormat()Deprecated, for removal: This API element is subject to removal in a future version. -
setResponseFormat
public void setResponseFormat(@Nullable MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat) -
getStop
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.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
-
getFrequencyPenalty
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.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
-
getPresencePenalty
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.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
-
getN
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.chat.n") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getN()Deprecated, for removal: This API element is subject to removal in a future version. -
setN
-
getTools
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.chat.tools") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable List<MistralAiApi.FunctionTool> getTools()Deprecated, for removal: This API element is subject to removal in a future version. -
setTools
-
getToolChoice
@DeprecatedConfigurationProperty(replacement="spring.ai.mistralai.chat.tool-choice") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable MistralAiApi.ChatCompletionRequest.ToolChoice getToolChoice()Deprecated, for removal: This API element is subject to removal in a future version. -
setToolChoice
-