Skip to main content
The Anthropic plugin provides access to Claude models for text generation. Note that it does not support embeddings, so you’ll need a fallback plugin.

Features

  • Claude 3 models - Access to Claude 3 Opus, Sonnet, and Haiku
  • Long context - Up to 200k tokens context window
  • XML formatting - Optimized for structured responses
  • Safety features - Built-in content moderation

Installation

Configuration

Environment Variables

Character Configuration

Supported Operations

Important: Embedding Fallback

Since Anthropic doesn’t provide embedding models, always include a fallback:

Model Configuration

The plugin uses two model categories:
  • SMALL_MODEL: For faster, cost-effective responses
  • LARGE_MODEL: For complex reasoning and best quality
You can use any available Claude model, including:
  • Claude 3.5 Sonnet (latest and dated versions)
  • Claude 3 Opus, Sonnet, and Haiku
  • Claude 3.5 Haiku
  • Any new models Anthropic releases

Usage Tips

  1. XML Templates - Claude excels at XML-formatted responses
  2. System Prompts - Effective for character personality
  3. Context Management - Leverage the 200k token window

External Resources