Anthropic
The anthropic provider supports the following models:
anthropic:completion:claude-1anthropic:completion:claude-1-100kanthropic:completion:claude-instant-1anthropic:completion:claude-instant-1-100kanthropic:completion:<insert any other supported model name here>
Supported environment variables:
ANTHROPIC_API_KEY- requiredANTHROPIC_STOP- stopwords, must be a valid JSON stringANTHROPIC_MAX_TOKENS- maximum number of tokens to sample, defaults to 1024ANTHROPIC_TEMPERATURE- temperature
Config parameters may also be passed like so:
providers:
- id: anthropic:completion:claude-1
prompts: chat_prompt
config:
temperature: 0