Documentation Index
Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
Use this file to discover all available pages before exploring further.
Anthropic is an AI safety and research company, and is the creator ofClaude. This page covers all integrations betweenAnthropicmodels andLangChain.
Installation and Setup
To useAnthropic models, you need to install a python package:
ANTHROPIC_API_KEY environment variable.
You can get an Anthropic API key here
Chat Models
ChatAnthropic
See a usage example.LLMs
[Legacy] AnthropicLLM
NOTE:AnthropicLLM only supports legacy Claude 2 models.
To use the newest Claude 3 models, please use ChatAnthropic instead.
See a usage example.