Anthropic Chat Model node
Use the Anthropic Chat Model node to use Anthropic's Claude family of chat models with conversational agents.
On this page, you'll find the node parameters for the Anthropic Chat Model node, and links to more resources.
Credentials: You can find authentication information for this node here.
Node parameters
- Model: Select the model that generates the completion. Choose from:
- Claude
- Claude Instant
Learn more in the Anthropic model documentation (opens in a new tab).
Node options
- Maximum Number of Tokens: Enter the maximum number of tokens used, which sets the completion length.
- Sampling Temperature: Use this option to control the randomness of the sampling process. A higher temperature creates more diverse sampling, but increases the risk of hallucinations.
- Top K: Enter the number of token choices the model uses to generate the next token.
- Top P: Use this option to set the probability the completion should use. Use a lower value to ignore less probable options.
Related resources
Refer to LangChains's Anthropic documentation (opens in a new tab) for more information about the service.