diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent.md new file mode 100644 index 000000000..b7b8e8178 --- /dev/null +++ b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent.md @@ -0,0 +1,114 @@ +--- +title: Agent +description: Documentation for the Agent node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. +--- + +# Agent + +The Agent node allows you to set which agent type you want to use. + +On this page, you'll find the node parameters for the Agent node, and links to more resources. + + + +## Conversational Agent Parameters + +This agent is optimised for conversation allowing it to chat with the user. + +--8<-- "_snippets/integrations/builtin/cluster-nodes/use-with-chat-trigger.md" + +### Mode + +Choose whether to run the chain once, or for every input item. Select either: + +* Run Once for All Items +* Run Once for Each Item + +### Text + +The input from the chat. This is the user's query, also known as the prompt. + +### System message + +Send a message to the agent before the conversation starts. Use this to guide the agent's decision-making. + +## OpenAI Functions Agent Parameters + +The OpenAI Functions Agent node allows you to use an [OpenAI functions model](https://platform.openai.com/docs/guides/gpt/function-calling){:target=_blank .external-link}. These are models that detect when a function should be called and respond with the inputs that should be passed to the function. + +--8<-- "_snippets/integrations/builtin/cluster-nodes/use-with-chat-trigger.md" + +### Mode + +Choose whether to run the chain once, or for every input item. Select either: + +* Run Once for All Items +* Run Once for Each Item + +### Text + +The input from the chat. This is the user's query, also known as the prompt. + +## React Agent Parameters + +The ReAct Agent node implements [ReAct](https://react-lm.github.io/){:target=_blank .external-link} logic. ReAct (reasoning and action) brings together the reasoning powers of chain-of-thought prompting and action plan generation. + +!!! note "No memory" + The ReAct agent doesn't support memory sub-nodes. This means it can't recall previous prompts, or simulate an ongoing conversation. + +### Mode + +Choose whether to run the chain once, or for every input item. Select either: + +* Run Once for All Items +* Run Once for Each Item + +### Text + +The input from the chat. This is the user's query, also known as the prompt. + +## SQL Agent Parameters + +The SQL Agent uses a SQL database as a data source. The agent builds a SQL query based on the natural language query in the prompt. + +!!! note "Postgres and MySQL Agents" + If you are using Postgres or MySQL this doesn't support the tunnel options you can set in the credential. + +### Data Source + +Options: + +* MySQL +* SQLite +* Postgres + +!!! note "SQLite" + To use SQLite you will need to use a [Read Binary Files](/integrations/builtin/core-nodes/n8n-nodes-base.readbinaryfiles/) node before the Agent to read your SQLite file. + +### Prompt + +The query to run on the data. + +### Options + +Use the options to refine the agent's behavior. + +* Ignored Tables +* Include Sample Rows +* Included Tables +* Prefix Prompt +* Suffix Prompt +* Top K + +## Related resources + + + +Refer to [LangChain's documentation on agents](https://js.langchain.com/docs/modules/agents/agent_types/){:target=_blank .external-link} for more information about the service. + +--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainstructuredoutput.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainstructuredoutput.md deleted file mode 100644 index 08dad9f85..000000000 --- a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainstructuredoutput.md +++ /dev/null @@ -1,105 +0,0 @@ ---- -title: Structured Output Chain -description: Documentation for the Structured Output Chain node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. ---- - -# Structured Output Chain - -The Structured Output Chain node allows you to use OpenAI functions to output objects that match a given format for any given input. - -On this page, you'll find the node parameters for the Structured Output Chain node, and links to more resources. - - - -!!! note "Requires OpenAI functions" - This chain depends on OpenAI functions. You must connect a supported OpenAI model. - -## Node parameters - -### Prompt - -The prompt the model uses. For example: - -> List all food items mentioned in the following text - - -### Input Text - -The incoming data that you want to format. For example: - -> This is a paragraph about food. It describes apples, which are very good for you, and usually green. Then there are oranges. These are also healthy, and orange coloured. Then we have things like chocolate, which is delicious, but not healthy. Chocolate is usually brown. - -### JSON Schema - -The output format, described with [JSON Schema](https://json-schema.org/){:target=_blank .external-link}. - -For example: given the prompt and input text examples, using this schema: - -```json -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Generated schema for Root", - "type": "object", - "properties": { - "foods": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "color": { - "type": "string" - } - } - } - } - }, - "required": ["foods"] -} -``` - -Gives this result: - -```json -[ - { - "response": { - "foods": [ - { - "name": "apples", - "healthy": true, - "color": "green" - }, - { - "name": "oranges", - "healthy": true, - "color": "orange" - }, - { - "name": "chocolate", - "healthy": false, - "color": "brown" - } - ] - } - } -] -``` - -## Related resources - - - -Refer to [LangChain's documentation on Structured Output with OpenAI functions](https://js.langchain.com/docs/modules/chains/popular/structured_output){:target=_blank .external-link} for more information about the service. - ---8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.conversationalagent.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.conversationalagent.md deleted file mode 100644 index 01a430e1a..000000000 --- a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.conversationalagent.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Conversational Agent -description: Documentation for the Conversational Agent node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. ---- - -# Conversational Agent - -This agent is optimised for conversation, allowing it to chat with the user. - ---8<-- "_snippets/integrations/builtin/cluster-nodes/use-with-chat-trigger.md" - -On this page, you'll find the node parameters for the Conversational Agent node, and links to more resources. - - - -## Node parameters - -### Mode - -Choose whether to run the chain once, or for every input item. Select either: - -* Run Once for All Items -* Run Once for Each Item - -### Text - -The input from the chat. This is the user's query, also known as the prompt. - -### System message - -Send a message to the agent before the conversation starts. Use this to guide the agent's decision-making. - -## Related resources - - - -Refer to [LangChain's documentation on conversational agents](https://js.langchain.com/docs/modules/agents/agent_types/chat_conversation_agent){:target=_blank .external-link} for more information about the service. - ---8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.openaifunctionsagent.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.openaifunctionsagent.md deleted file mode 100644 index c4eaa15b7..000000000 --- a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.openaifunctionsagent.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: OpenAI Functions Agent -description: Documentation for the OpenAI Functions Agent node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. ---- - -# OpenAI Functions Agent - -The OpenAI Functions Agent node allows you to use an [OpenAI functions model](https://platform.openai.com/docs/guides/gpt/function-calling){:target=_blank .external-link}. These are models that detect when a function should be called and respond with the inputs that should be passed to the function. - ---8<-- "_snippets/integrations/builtin/cluster-nodes/use-with-chat-trigger.md" - -On this page, you'll find the node parameters for the OpenAI Functions Agent node, and links to more resources. - - - -!!! note "Requires OpenAI functions" - This chain depends on OpenAI functions. You must connect a supported OpenAI model. - -## Node parameters - -### Mode - -Choose whether to run the chain once, or for every input item. Select either: - -* Run Once for All Items -* Run Once for Each Item - -### Text - -The input from the chat. This is the user's query, also known as the prompt. - -## Related resources - - - -Refer to [LangChain's documentation on OpenAI functions](https://js.langchain.com/docs/modules/agents/agent_types/openai_functions_agent){:target=_blank .external-link} for more information about the service. - ---8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.reactagent.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.reactagent.md deleted file mode 100644 index 0d16da6bd..000000000 --- a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.reactagent.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: ReAct Agent -description: Documentation for the ReAct Agent node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. ---- - -# ReAct Agent - -The ReAct Agent node implements [ReAct](https://react-lm.github.io/){:target=_blank .external-link} logic. ReAct (reasoning and action) brings together the reasoning powers of chain-of-thought prompting and action plan generation. - -On this page, you'll find the node parameters for the ReAct Agent node, and links to more resources. - - - -!!! note "No memory" - The ReAct agent doesn't support memory sub-nodes. This means it can't recall previous prompts, or simulate an ongoing conversation. - -## Node parameters - -### Mode - -Choose whether to run the chain once, or for every input item. Select either: - -* Run Once for All Items -* Run Once for Each Item - -### Text - -The input from the chat. This is the user's query, also known as the prompt. - -## Related resources - - - -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" diff --git a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.sqlagent.md b/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.sqlagent.md deleted file mode 100644 index eb79d5b5c..000000000 --- a/docs/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.sqlagent.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: SQL Agent -description: Documentation for the SQL Agent node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. ---- - -# SQL Agent - -The SQL Agent uses an SQL database as a data source. The agent builds an SQL query based on the natural language query in the prompt. - -On this page, you'll find the node parameters for the SQL Agent node, and links to more resources. - - - -## Node parameters - -### Data Source - -Options: - -* MySQL -* SQLite -* Postgres - -### Prompt - -The query to run on the data. - -### Options - -Use the options to refine the agent's behavior. - -* Ignored Tables -* Include Sample Rows -* Included Tables -* Prefix Prompt -* Suffix Prompt -* Top K - -## Related resources - - - -Refer to [LangChain's documentation on querying SQL](https://python.langchain.com/docs/use_cases/qa_structured/sql){:target=_blank .external-link} for more information about the service. Note that this documentation is for LangChain's Python framework. - ---8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievercontextualcompression.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievercontextualcompression.md index 6c8a60493..96b49c649 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievercontextualcompression.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievercontextualcompression.md @@ -1,28 +1,18 @@ --- -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: Contextual Compression Retriever +description: Documentation for the Contextual Compression Retriever node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Contextual Compression Retriever - - -On this page, you'll find the node parameters for the _Name_ node, 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 the node parameters for the Contextual Compression Retriever node, and links to more resources. - -## Node parameters - -* _Bullet list_ -* _Of available operations_. ## Related resources @@ -30,6 +20,6 @@ On this page, you'll find the node parameters for the _Name_ node, and links to 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. +Refer to [LangChain's contextual compression retriever documentation](https://js.langchain.com/docs/modules/data_connection/retrievers/integrations/contextual-compression-retriever){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievervectorstore.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievervectorstore.md new file mode 100644 index 000000000..e43260ca5 --- /dev/null +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievervectorstore.md @@ -0,0 +1,29 @@ +--- +title: Vector Store Retriever +description: Documentation for the Vector Store Retriever node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. +--- + +# Vector Store Retriever + +The Vector Store Retriever node allows you to retrieve documents from a vector store. + +On this page, you'll find the node parameters for the Vector Store Retriever node, and links to more resources. + + + +## Node parameters + +* Top K + +## Related resources + + + +Refer to [LangChain's vector store retriever documentation](https://js.langchain.com/docs/modules/data_connection/retrievers/how_to/vectorstore){:target=_blank .external-link} for more information about the service. + +--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeinsert.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeinsert.md index 6c8a60493..890d1fe52 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeinsert.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeinsert.md @@ -1,18 +1,16 @@ --- -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: Pinecone: Insert +description: Documentation for the Pinecone: Insert node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Pinecone: Insert - - -On this page, you'll find the node parameters for the _Name_ node, and links to more resources. +On this page, you'll find the node parameters for the Pinecone: Insert node, and links to more resources. !!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). + You can find authentication information for this node [here](/integrations/builtin/credentials/pinecone/). -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +Refer to [LangChain's Pinecone documentation](https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/pinecone){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeload.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeload.md index 6c8a60493..b69e4d38e 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeload.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeload.md @@ -1,18 +1,16 @@ --- -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: Pinecone: Load +description: Documentation for the Pinecone: Load node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Pinecone: Load - - -On this page, you'll find the node parameters for the _Name_ node, and links to more resources. +On this page, you'll find the node parameters for the Pinecone: Load node, and links to more resources. !!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). + You can find authentication information for this node [here](/integrations/builtin/credentials/pinecone/). -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +Refer to [LangChain's Pinecone documentation](https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/pinecone){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseinsert.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseinsert.md index 6c8a60493..f52b8823b 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseinsert.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseinsert.md @@ -1,18 +1,16 @@ --- -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: Supabase: Insert +description: Documentation for the Supabase: Insert node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Supabase: Insert - - -On this page, you'll find the node parameters for the _Name_ node, and links to more resources. +On this page, you'll find the node parameters for the Supabase: Insert node, and links to more resources. !!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). + You can find authentication information for this node [here](/integrations/builtin/credentials/supabase/). -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +Refer to [LangChain's Supabase documentation](https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/supabase){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseload.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseload.md index 6c8a60493..16cb21802 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseload.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseload.md @@ -1,18 +1,16 @@ --- -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: Supabase: Load +description: Documentation for the Supabase: Load node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Supabase: Load - - -On this page, you'll find the node parameters for the _Name_ node, and links to more resources. +On this page, you'll find the node parameters for the Supabase: Load node, and links to more resources. !!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). + You can find authentication information for this node [here](/integrations/builtin/credentials/supabase/). -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +Refer to [LangChain's Supabase documentation](https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/supabase){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepinsert.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepinsert.md index 6c8a60493..4a05307a6 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepinsert.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepinsert.md @@ -1,18 +1,16 @@ --- -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: Zep: Insert +description: Documentation for the Zep: Insert node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Zep: Insert - - -On this page, you'll find the node parameters for the _Name_ node, and links to more resources. +On this page, you'll find the node parameters for the Zep: Insert node, and links to more resources. !!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). + You can find authentication information for this node [here](/integrations/builtin/credentials/zep/). -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +Refer to [LangChain's Zep documentation](https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/zep){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepload.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepload.md index 6c8a60493..6aceaa72f 100644 --- a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepload.md +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepload.md @@ -1,18 +1,16 @@ --- -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: Zep: Load +description: Documentation for the Zep: Load node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information. --- -# _Name_ +# Zep: Load - - -On this page, you'll find the node parameters for the _Name_ node, and links to more resources. +On this page, you'll find the node parameters for the Zep: Load node, and links to more resources. !!! note "Credentials" - You can find authentication information for this node [here](/integrations/builtin/credentials/_Name_/). + You can find authentication information for this node [here](/integrations/builtin/credentials/zep/). -Refer to [_Name_'s documentation](){:target=_blank .external-link} for more information about the service. +Refer to [LangChain's Zep documentation](https://js.langchain.com/docs/modules/data_connection/vectorstores/integrations/zep){:target=_blank .external-link} for more information about the service. --8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" diff --git a/docs/integrations/builtin/credentials/mysql.md b/docs/integrations/builtin/credentials/mysql.md index 2db214b58..732240740 100644 --- a/docs/integrations/builtin/credentials/mysql.md +++ b/docs/integrations/builtin/credentials/mysql.md @@ -9,6 +9,10 @@ contentType: integration You can use these credentials to authenticate the following nodes with MySQL. - [MySQL](/integrations/builtin/app-nodes/n8n-nodes-base.mysql/) +- [Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent) + +!!! note "Agent node users" + The Agent node doesn't support tunnels ## Prerequisites diff --git a/docs/integrations/builtin/credentials/postgres.md b/docs/integrations/builtin/credentials/postgres.md index d40bb6d92..5bca96c19 100644 --- a/docs/integrations/builtin/credentials/postgres.md +++ b/docs/integrations/builtin/credentials/postgres.md @@ -9,6 +9,10 @@ contentType: integration You can use these credentials to authenticate the following nodes with Postgres. - [Postgres](/integrations/builtin/app-nodes/n8n-nodes-base.postgres/) +- [Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent) + +!!! note "Agent node users" + The Agent node doesn't support tunnels ## Prerequisites diff --git a/docs/integrations/builtin/credentials/supabase.md b/docs/integrations/builtin/credentials/supabase.md index 6cb3f402d..8b031ef4f 100644 --- a/docs/integrations/builtin/credentials/supabase.md +++ b/docs/integrations/builtin/credentials/supabase.md @@ -9,6 +9,8 @@ contentType: integration You can use these credentials to authenticate the following nodes with Supabase. - [Supabase](/integrations/builtin/app-nodes/n8n-nodes-base.supabase/) +- [Supabase: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseinsert/) +- [Supabase: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseload/) ## Prerequisites diff --git a/docs/langchain/langchain-n8n.md b/docs/langchain/langchain-n8n.md index 434e371bd..cb0c6279e 100644 --- a/docs/langchain/langchain-n8n.md +++ b/docs/langchain/langchain-n8n.md @@ -12,13 +12,15 @@ This page includes lists of the LangChain-focused nodes in n8n. You can use any [TODO: this list is very incomplete. Check in with Jan on Friday latest for the definitive list] [TODO: this list structure probably needs to change as the UI will likely change before release] +[TODO: the agent section needs some love as we only have one agent node now] + !!! note "n8n implements LangChain JS" This feature is n8n's implementation of [LangChain's JavaScript framework](https://js.langchain.com/docs/get_started/introduction){:target=_blank .external-link}. This means that n8n's nodes support what LangChain supports. Some of the services listed may have additional functionality, but if it isn't supported by LangChain, it also isn't supported by n8n. [TODO: rephrase this it's horrible] ## Trigger nodes -[On new manual Chat Message](/integrations/builtin/trigger-nodes/n8n-nodes-base.manualchattrigger/) +[On new manual Chat Message](/integrations/builtin/trigger-nodes/n8n-nodes-langchain.manualchattrigger/) ## Credentials @@ -47,9 +49,9 @@ A chain is a series of LLMs, and related tools, linked together to support funct Available nodes: -* [LLM Chain](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainllm/) -* [Summarization Chain](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainsummarization/) -* [Vector Store QA Chain](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.chainvectorstoreqa/) +* [LLM Chain](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm/) +* [Summarization Chain](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainsummarization/) +* [Vector Store QA Chain](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainvectorstoreqa/) Learn more about [Chains in LangChain](https://js.langchain.com/docs/modules/chains/){:target=_blank .external-link}. @@ -59,14 +61,10 @@ Learn more about [Chains in LangChain](https://js.langchain.com/docs/modules/cha Available nodes: -* [Conversational Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.conversationalagent/) -* [OpenAI Functions Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.openaifunctionsagent/) -* [ReAct Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.reactagent/) -* [SQL Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-base.sqlagent/) +* [Agent](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/) Learn more about [Agents in LangChain](https://js.langchain.com/docs/modules/agents/){:target=_blank .external-link}. - ### Sub-nodes Each root node can have one or more sub-nodes attached to it. @@ -77,9 +75,9 @@ Document loaders add data to your chain as documents. The data source can be a f Available nodes: -* [Binary Input Loader](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.documentbinaryinputloader/) -* [GitHub Document Loader](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.documentgithubloader/) -* [JSON Input Loader](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.documentjsoninputloader/) +* [Binary Input Loader](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.documentbinaryinputloader/) +* [GitHub Document Loader](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.documentgithubloader/) +* [JSON Input Loader](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.documentjsoninputloader/) Learn more about [Document loaders in LangChain](https://js.langchain.com/docs/modules/data_connection/document_loaders/){:target=_blank .external-link}. @@ -89,15 +87,15 @@ LLMs (large language models) are programs that analyze datasets. They're the key Available nodes: -* [Chat Anthropic](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmchatanthropic/) -* [Chat Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmchatollama/) -* [Chat OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmchatopenai/) -* [Cohere](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmcohere/) +* [Chat Anthropic](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatanthropic/) +* [Chat Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatollama/) +* [Chat OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/) +* [Cohere](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmcohere/) * [Google PaLM Chat Model](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgooglepalm/) * [Google PaLM Language Model](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmgooglepalm/) -* [Hugging Face Inference](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmhuggingfaceinference/) -* [Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmollama/) -* [OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.lmopenai/) +* [Hugging Face Inference](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmhuggingfaceinference/) +* [Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmollama/) +* [OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmopenai/) Learn more about [Language models in LangChain](https://js.langchain.com/docs/modules/model_io/models/){:target=_blank .external-link}. @@ -107,12 +105,12 @@ Memory retains information about previous queries in a series of queries. For ex Available nodes: -* [Chat Messages Retriever](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.memorychatretriever/) -* [Motorhead](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.memorymotorhead/) -* [Redis Chat Memory](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.memoryredischat/) -* [Window Buffer Memory](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.memorybufferwindow/) -* [Xata](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.memoryxata/) -* [Zep](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.memoryzep/) +* [Chat Messages Retriever](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorychatretriever/) +* [Motorhead](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorymotorhead/) +* [Redis Chat Memory](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memoryredischat/) +* [Window Buffer Memory](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow/) +* [Xata](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memoryxata/) +* [Zep](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memoryzep/) Learn more about [Memory in LangChain](https://js.langchain.com/docs/modules/memory/){:target=_blank .external-link}. @@ -122,9 +120,9 @@ Output parsers take the text generated by an LLM and format it to match the stru Available nodes: -* [Auto-fixing Output Parser](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.outputparserautofixing/) -* [Item List Output Parser](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.outputparseritemlist/) -* [Structured Output Parser](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.outputparserstructured/) +* [Auto-fixing Output Parser](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.outputparserautofixing/) +* [Item List Output Parser](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.outputparseritemlist/) +* [Structured Output Parser](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.outputparserstructured/) Learn more about [Output parsers in LangChain](https://js.langchain.com/docs/modules/model_io/output_parsers/){:target=_blank .external-link}. @@ -134,9 +132,9 @@ Text splitters break down data (documents), making it easier for the LLM to proc Available nodes: -* [Character Text Splitter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.textsplittercharactertextsplitter/) -* [Recursive Character Text Splitter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.textsplitterrecursivecharactertextsplitter/) -* [Token Splitter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.textsplittertokensplitter/) +* [Character Text Splitter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.textsplittercharactertextsplitter/) +* [Recursive Character Text Splitter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter/) +* [Token Splitter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.textsplittertokensplitter/) n8n's text splitter nodes implements parts of [LangChain's text_splitter API](https://js.langchain.com/docs/api/text_splitter/){:target=_blank .external-link}. @@ -144,12 +142,12 @@ n8n's text splitter nodes implements parts of [LangChain's text_splitter API](ht Utility tools. -* [Calculator](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.toolcalculator/) -* [Code Tool](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.toolcode/) -* [SerpAPI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.toolserp/) -* [Wikipedia](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.toolwikipedia/) -* [Wolfram|Alpha](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.toolwolframalpha/) -* [Workflow Tool](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.toolworkflow/) +* [Calculator](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolcalculator/) +* [Code Tool](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolcode/) +* [SerpAPI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolserp/) +* [Wikipedia](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolwikipedia/) +* [Wolfram|Alpha](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolwolframalpha/) +* [Workflow Tool](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolworkflow/) #### Embeddings @@ -160,7 +158,7 @@ Available nodes: * [Embeddings Cohere](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingscohere/) * [Embeddings Google PaLM](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsgooglepalm/) * [Embeddings Hugging Face Inference](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingshuggingfaceinference/) -* [Embeddings OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.embeddingsopenai/) +* [Embeddings OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsopenai/) * [Embeddings TensorFlow](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingstensorflow/) Learn more about [Text embeddings in LangChain](https://js.langchain.com/docs/modules/data_connection/text_embedding/){:target=_blank .external-link}. @@ -170,13 +168,13 @@ Learn more about [Text embeddings in LangChain](https://js.langchain.com/docs/mo Vector stores store embedded data, and perform vector searches on it. -* [In Memory Vector Store](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.inmemoryvectorstore/) -* [Pinecone: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.vectorstorepineconeinsert/) -* [Pinecone: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.vectorstorepineconeload/) -* [Supabase: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.vectorstoresupabaseinsert/) -* [Supabase: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.vectorstoresupabaseload/) -* [Zep Vector Store: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.vectorstorezepinsert/) -* [Zep Vector Store: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-base.vectorstorezepload/) +* [In Memory Vector Store](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.inmemoryvectorstore/) +* [Pinecone: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeinsert/) +* [Pinecone: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorepineconeload/) +* [Supabase: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseinsert/) +* [Supabase: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstoresupabaseload/) +* [Zep Vector Store: Insert](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepinsert/) +* [Zep Vector Store: Load](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.vectorstorezepload/) Learn more about [Vector stores in LangChain](https://js.langchain.com/docs/modules/data_connection/vectorstores/){:target=_blank .external-link}.