Class AnthropicChatProperties.Options

java.lang.Object
org.springframework.ai.model.anthropic.autoconfigure.AnthropicChatProperties.Options
Enclosing class:
AnthropicChatProperties

public class AnthropicChatProperties.Options extends Object
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • getModel

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.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)
    • getMaxTokens

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.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)
    • getMetadata

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.metadata") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable com.anthropic.models.messages.Metadata getMetadata()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMetadata

      public void setMetadata(@Nullable com.anthropic.models.messages.Metadata metadata)
    • getStopSequences

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.stop-sequences") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable List<String> getStopSequences()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setStopSequences

      public void setStopSequences(@Nullable List<String> stopSequences)
    • getTemperature

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.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.anthropic.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)
    • getTopK

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.top-k") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getTopK()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTopK

      public void setTopK(@Nullable Integer topK)
    • getToolChoice

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.tool-choice") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable com.anthropic.models.messages.ToolChoice getToolChoice()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setToolChoice

      public void setToolChoice(@Nullable com.anthropic.models.messages.ToolChoice toolChoice)
    • getThinking

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.thinking") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable com.anthropic.models.messages.ThinkingConfigParam getThinking()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setThinking

      public void setThinking(@Nullable com.anthropic.models.messages.ThinkingConfigParam thinking)
    • getDisableParallelToolUse

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.disable-parallel-tool-use") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getDisableParallelToolUse()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setDisableParallelToolUse

      public void setDisableParallelToolUse(@Nullable Boolean disableParallelToolUse)
    • getOutputConfig

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.output-config") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable com.anthropic.models.messages.OutputConfig getOutputConfig()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOutputConfig

      public void setOutputConfig(@Nullable com.anthropic.models.messages.OutputConfig outputConfig)
    • getWebSearchTool

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.web-search-tool") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable AnthropicWebSearchTool getWebSearchTool()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setWebSearchTool

      public void setWebSearchTool(@Nullable AnthropicWebSearchTool webSearchTool)
    • getServiceTier

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.service-tier") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable AnthropicServiceTier getServiceTier()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setServiceTier

      public void setServiceTier(@Nullable AnthropicServiceTier serviceTier)
    • getInferenceGeo

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.inference-geo") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getInferenceGeo()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setInferenceGeo

      public void setInferenceGeo(@Nullable String inferenceGeo)
    • getCacheOptions

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.cache-options") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable AnthropicCacheProperties getCacheOptions()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setCacheOptions

      public void setCacheOptions(@Nullable AnthropicCacheProperties cacheOptions)
    • getHttpHeaders

      @DeprecatedConfigurationProperty(replacement="spring.ai.anthropic.chat.http-headers") @Deprecated(since="2.0.0", forRemoval=true) public Map<String,String> getHttpHeaders()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setHttpHeaders

      public void setHttpHeaders(Map<String,String> httpHeaders)