Anthropic is an AI safety and research company, and is the creator ofClaude
. This page covers all integrations betweenAnthropic
models andLangChain
.
Anthropic
models, you need to install a python package:
ANTHROPIC_API_KEY
environment variable.
You can get an Anthropic API key here
AnthropicLLM
only supports legacy Claude 2
models.
To use the newest Claude 3
models, please use ChatAnthropic
instead.
See a usage example.