Class AnthropicChatOptions

java.lang.Object
org.springframework.ai.bedrock.anthropic.AnthropicChatOptions
All Implemented Interfaces:
ChatOptions, ModelOptions

public class AnthropicChatOptions extends Object implements ChatOptions
Author:
Christian Tzolov
  • Constructor Details

    • AnthropicChatOptions

      public AnthropicChatOptions()
  • Method Details

    • builder

      public static AnthropicChatOptions.Builder builder()
    • getTemperature

      public Float getTemperature()
      Specified by:
      getTemperature in interface ChatOptions
    • setTemperature

      public void setTemperature(Float temperature)
    • getMaxTokensToSample

      public Integer getMaxTokensToSample()
    • setMaxTokensToSample

      public void setMaxTokensToSample(Integer maxTokensToSample)
    • getTopK

      public Integer getTopK()
      Specified by:
      getTopK in interface ChatOptions
    • setTopK

      public void setTopK(Integer topK)
    • getTopP

      public Float getTopP()
      Specified by:
      getTopP in interface ChatOptions
    • setTopP

      public void setTopP(Float topP)
    • getStopSequences

      public List<String> getStopSequences()
    • setStopSequences

      public void setStopSequences(List<String> stopSequences)
    • getAnthropicVersion

      public String getAnthropicVersion()
    • setAnthropicVersion

      public void setAnthropicVersion(String anthropicVersion)