n8n-docs/docs/langchain/index.md
2024-01-31 09:35:08 +00:00

2.2 KiB

contentType title description
overview LangChain Use n8n's LangChain integrations to build AI-powered functionality within your workflows. Connect your LangChain functionality to other data sources and services.

LangChain

Use n8n's LangChain nodes to build AI-powered functionality within your workflows. The LangChain nodes are configurable, meaning you can choose your preferred agent, LLM, memory, and so on. Alongside the LangChain nodes, you can connect any n8n node as normal: this means you can integrate your LangChain logic with other data sources and services.

/// info | Feature availability This feature is available on Cloud and self-hosted n8n, in version 1.19.4 and above. ///

Related documentation and tools.

Node types

This feature uses Cluster nodes: groups of root and sub nodes that work together.

Workflow templates

You can browse workflow templates in-app or on the n8n website Workflows{:target=_blank .external-link} page.

Refer to Templates for information on accessing templates in-app.

Chatbot widget

n8n provides a chatbot widget that you can use as a frontend for AI-powered chat workflows. Refer to the @n8n/chat npm page{:target=_blank .external-link} for usage information.

n8n provides code snippets for the chatbot, pre-populated with your settings:

  1. Add the Manual Chat Trigger to your workflow.

  2. Select Chat.

  3. Select More info in the help text:

    Add chat to external applications using the n8n chat package. More info