Skip to main content

Module anthropic

Module anthropic 

Source
Expand description

Anthropic API provider.

Calls api.anthropic.com/v1/messages directly. Auth: ANTHROPIC_API_KEY environment variable.

Note: Anthropic does not offer an embeddings API, so this module only provides an LLM provider.

Structsยง

AnthropicProvider
Calls api.anthropic.com/v1/messages with an API key.