Chain Llm¶
Node: chainLlm · Full type: @n8n/n8n-nodes-langchain.chainLlm · Version: 1.9
Parameters¶
| Parameter | Type | Default | Details |
|---|---|---|---|
prompt |
string | "={{ $json.input }}" | required |
promptType |
options | "auto" | auto, guardrails, define |
text |
string | "={{ $json.guardrailsInput }}" | required |
hasOutputParser |
boolean | false | |
needsFallback |
boolean | false | |
messages |
fixedCollection | {} | groups: messageValues |
batching |
collection | {} | keys: batchSize, delayBetweenBatches |
messages children:
messageValues group:
| Parameter | Type | Default | Details |
|---|---|---|---|
type |
options | "SystemMessagePromptTemplate" | AIMessagePromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate |
messageType |
options | "text" | text, imageBinary, imageUrl |
binaryImageDataKey |
string | "data" | required |
imageUrl |
string | "" | required |
imageDetail |
options | "auto" | auto, low, high |
message |
string | "" | required |
batching children:
| Parameter | Type | Default | Details |
|---|---|---|---|
batchSize |
number | 5 | |
delayBetweenBatches |
number | 0 |