Merge branch 'DOC-610-ai' of github.com:n8n-io/n8n-docs into doc-610-sub-nodes

This commit is contained in:
Jonathan Bennetts 2023-09-27 10:04:08 +01:00
commit 7350e5acbf
8 changed files with 19 additions and 6 deletions

View File

@ -0,0 +1 @@
Refer to [LangChain's documentation on document loaders](https://js.langchain.com/docs/modules/data_connection/document_loaders/integrations/file_loaders/){:target=_blank .external-link} for more information about the service.

View File

@ -15,7 +15,8 @@ On this page, you'll find a list of operations the LLM Chain node supports, and
## Node parameters
### Prompt
This is the prompt that the model will use.
This is the prompt that the model uses. For example:
```
Tell me a joke about {{ $json.input }}
@ -32,4 +33,6 @@ There are two modes:
View [example workflows and related content](https://n8n.io/integrations/langchain/){:target=_blank .external-link} on n8n's website.
Refer to [LangChain's documentation on LLM chains](https://js.langchain.com/docs/modules/chains/foundational/llm_chain){:target=_blank .external-link} for more information about the service.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"

View File

@ -32,4 +32,7 @@ There are two modes:
## Related resources
View [example workflows and related content](https://n8n.io/integrations/langchain/){:target=_blank .external-link} on n8n's website.
Refer to [LangChain's documentation on Retrieval QA](https://js.langchain.com/docs/modules/chains/popular/vector_db_qa){:target=_blank .external-link} for more information about the service.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"

View File

@ -28,4 +28,6 @@ On this page, you'll find a list of parameters the Binary Input Loader node supp
View [example workflows and related content](https://n8n.io/integrations/langchain/){:target=_blank .external-link} on n8n's website.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-doc-loaders-link.md"
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"

View File

@ -24,4 +24,6 @@ On this page, you'll find a list of operations the GitHub Document Loader node s
View [example workflows and related content](https://n8n.io/integrations/langchain/){:target=_blank .external-link} on n8n's website.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-doc-loaders-link.md"
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"

View File

@ -20,4 +20,6 @@ On this page, you'll find a list of operations the JSON Input Loader node suppor
View [example workflows and related content](https://n8n.io/integrations/langchain/){:target=_blank .external-link} on n8n's website.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-doc-loaders-link.md"
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"

View File

@ -1,10 +1,10 @@
---
contentType: explanation
title: LangChain concepts and features in n8n
title: LangChain concepts in n8n
description: How LangChain concepts map to n8n, and which n8n nodes to use.
---
# LangChain concepts and features in n8n
# LangChain concepts in n8n
This page explains how LangChain concepts and features map to n8n nodes.
@ -13,8 +13,8 @@ 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]
!!! note "n8n implements LangChain"
This feature is n8n's implementation of LangChain. 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]
!!! 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

View File

@ -208,7 +208,7 @@ nav:
- langchain/index.md
- Access LangChain in n8n: langchain/access-langchain.md
- LangChain learning resources: langchain/learning-resources.md
- Langchain in n8n: langchain/langchain-n8n.md
- Langchain concepts in n8n: langchain/langchain-n8n.md
- Privacy and security:
- privacy-security/index.md
- Privacy: privacy-security/privacy.md