diff --git a/_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md b/_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md new file mode 100644 index 000000000..40f9c9f3d --- /dev/null +++ b/_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md @@ -0,0 +1 @@ +View n8n's [LangChain ](/langchain/) documentation. diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainllm.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainllm.md index b345c03e7..73084bb8c 100644 --- a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainllm.md +++ b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainllm.md @@ -1,29 +1,35 @@ --- -title: _Name_ -description: Documentation for the _Name_ node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. +title: LLM Chain +description: Documentation for the LLM Chain node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# LLM Chain - - -On this page, you'll find a list of operations the _Name_ node supports, and links to more resources. - -!!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). +On this page, you'll find a list of operations the LLM Chain node supports, and links to more resources. !!! note "Examples and templates" For usage examples and templates to help you get started, refer to n8n's [LangChain integrations](https://n8n.io/integrations/langchain/){:target=_blank .external-link} page. ## Node parameters -* _Bullet list_ -* _Of available operations_. +## Prompt +This is the prompt that the model will use. + +``` +Tell me a joke about {{ $json.input }} +``` + +## Choose a mode + +There are two modes: + +* **Run Once for All Items**: this is the default. When your workflow runs, the chain will run once, regardless of how many input items there are. +* **Run Once for Each Item**: choose this if you want your chain to run for every input item. ## Related resources View [example workflows and related content](https://n8n.io/integrations/langchain/){:target=_blank .external-link} on n8n's website. -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"