Interface LangChain4jAnthropicConfig.AnthropicConfig

Enclosing interface:
LangChain4jAnthropicConfig

public static interface LangChain4jAnthropicConfig.AnthropicConfig
  • Method Details

    • baseUrl

      @WithDefault("https://api.anthropic.com/v1/") String baseUrl()
      Base URL of the Anthropic API
    • apiKey

      @WithDefault("dummy") String apiKey()
      Anthropic API key
    • version

      @WithDefault("2023-06-01") String version()
      The Anthropic version
    • timeout

      @WithDefault("10s") Duration timeout()
      Timeout for Anthropic calls
    • logRequests

      @ConfigDocDefault("false") Optional<Boolean> logRequests()
      Whether the Anthropic client should log requests
    • logResponses

      @ConfigDocDefault("false") Optional<Boolean> logResponses()
      Whether the Anthropic client should log responses
    • enableIntegration

      @WithDefault("true") Boolean enableIntegration()
      Whether or not to enable the integration. Defaults to true, which means requests are made to the Anthropic provider. Set to false to disable all requests.
    • chatModel

      ChatModelConfig chatModel()
      Chat model related settings