Class ChatOptionsBuilder

java.lang.Object
org.springframework.ai.chat.prompt.ChatOptionsBuilder

@Deprecated(forRemoval=true, since="1.0.0-M5") public final class ChatOptionsBuilder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Use ChatOptions.Builder instead.
  • Method Details

    • builder

      public static ChatOptionsBuilder builder()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withModel

      public ChatOptionsBuilder withModel(String model)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withFrequencyPenalty

      public ChatOptionsBuilder withFrequencyPenalty(Double frequencyPenalty)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withMaxTokens

      public ChatOptionsBuilder withMaxTokens(Integer maxTokens)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withPresencePenalty

      public ChatOptionsBuilder withPresencePenalty(Double presencePenalty)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withStopSequences

      public ChatOptionsBuilder withStopSequences(List<String> stop)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withTemperature

      public ChatOptionsBuilder withTemperature(Double temperature)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withTopK

      public ChatOptionsBuilder withTopK(Integer topK)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withTopP

      public ChatOptionsBuilder withTopP(Double topP)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • build

      public ChatOptions build()
      Deprecated, for removal: This API element is subject to removal in a future version.