Skip to content

Lm Chat Anthropic

Node: lmChatAnthropic · Full type: @n8n/n8n-nodes-langchain.lmChatAnthropic · Version: 1.3

Ergonomic keyword available: LLM anthropic — see NFLOW.md for shorter syntax.

Credentials

anthropicApi (alias: @anthropic)

CREDENTIAL @anthropic = anthropicApi "My Lm Chat Anthropic"

Parameters

Parameter Type Default Details
model options "claude-2" claude-3-5-sonnet-20241022, claude-3-opus-20240229, claude-3-5-sonnet-20240620, claude-3-sonnet-20240229, claude-3-5-haiku-20241022, claude-3-haiku-20240307, claude-2, claude-2.1, ... (10 total)
options collection {} keys: maxTokensToSample, temperature, topK, topP, thinking, thinkingBudget

options children:

Parameter Type Default Details
maxTokensToSample number 4096
temperature number 0.7
topK number -1
topP number 1
thinking boolean false
thinkingBudget number 1024

Example

NODE "lmChatAnthropic" @anthropic AS "Lm Chat Anthropic"