Liking cljdoc? Tell your friends :D

wagoe.ai.shell.providers.anthropic

Anthropic API provider adapter.

Implements IAIProvider against the Anthropic Messages API. Requires an API key in the configuration.

API docs: https://docs.anthropic.com/en/api/messages

Anthropic API provider adapter.

Implements IAIProvider against the Anthropic Messages API.
Requires an API key in the configuration.

API docs: https://docs.anthropic.com/en/api/messages
raw docstring

create-anthropic-providerclj

(create-anthropic-provider {:keys [api-key model timeout]})

Create an AnthropicProvider.

Args: config - map with: :api-key - Anthropic API key string (required) :model - model ID (default "claude-haiku-4-5-20251001")

Returns: AnthropicProvider record.

Create an AnthropicProvider.

Args:
  config - map with:
    :api-key - Anthropic API key string (required)
    :model   - model ID (default "claude-haiku-4-5-20251001")

Returns:
  AnthropicProvider record.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close