Class MistralAiChatProperties.Options

java.lang.Object
org.springframework.ai.model.mistralai.autoconfigure.MistralAiChatProperties.Options
Enclosing class:
MistralAiChatProperties

public class MistralAiChatProperties.Options extends Object
  • 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

      public void setModel(@Nullable String model)
    • 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

      public void setTemperature(@Nullable Double temperature)
    • 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

      public void setTopP(@Nullable Double topP)
    • 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

      public void setMaxTokens(@Nullable Integer maxTokens)
    • 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

      public void setSafePrompt(@Nullable Boolean safePrompt)
    • 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

      public void setRandomSeed(@Nullable Integer randomSeed)
    • 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

      public void setStop(@Nullable List<String> stop)
    • 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

      public void setFrequencyPenalty(@Nullable Double frequencyPenalty)
    • 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

      public void setPresencePenalty(@Nullable Double presencePenalty)
    • 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

      public void setN(@Nullable Integer n)
    • 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

      public void setTools(@Nullable List<MistralAiApi.FunctionTool> tools)
    • 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

      public void setToolChoice(@Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice)