mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
Add DeepSeek and OpenRouter chat nodes and creds (#2790)
This commit is contained in:
committed by
GitHub
parent
df883012e9
commit
6a88d30b45
@@ -0,0 +1,80 @@
|
||||
---
|
||||
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
|
||||
title: DeepSeek Chat Model node documentation
|
||||
description: Learn how to use the DeepSeek Chat Model node in n8n. Follow technical documentation to integrate DeepSeek Chat Model node into your workflows.
|
||||
contentType: integration
|
||||
priority: high
|
||||
---
|
||||
|
||||
# DeepSeek Chat Model node
|
||||
|
||||
Use the DeepSeek Chat Model node to use DeepSeek's chat models with conversational agents.
|
||||
|
||||
On this page, you'll find the node parameters for the DeepSeek Chat Model node and links to more resources.
|
||||
|
||||
/// note | Credentials
|
||||
You can find authentication information for this node [here](/integrations/builtin/credentials/deepseek/).
|
||||
///
|
||||
|
||||
--8<-- "_snippets/integrations/builtin/cluster-nodes/sub-node-expression-resolution.md"
|
||||
|
||||
## Node parameters
|
||||
|
||||
### Model
|
||||
|
||||
Select the model to use to generate the completion.
|
||||
|
||||
n8n dynamically loads models from DeepSeek and you'll only see the models available to your account.
|
||||
|
||||
## Node options
|
||||
|
||||
Use these options to further refine the node's behavior.
|
||||
|
||||
### Base URL
|
||||
|
||||
Enter a URL here to override the default URL for the API.
|
||||
|
||||
### Frequency Penalty
|
||||
|
||||
Use this option to control the chances of the model repeating itself. Higher values reduce the chance of the model repeating itself.
|
||||
|
||||
### Maximum Number of Tokens
|
||||
|
||||
Enter the maximum number of tokens used, which sets the completion length.
|
||||
|
||||
### Response Format
|
||||
|
||||
Choose **Text** or **JSON**. **JSON** ensures the model returns valid JSON.
|
||||
|
||||
### Presence Penalty
|
||||
|
||||
Use this option to control the chances of the model talking about new topics. Higher values increase the chance of the model talking about new topics.
|
||||
|
||||
### Sampling Temperature
|
||||
|
||||
Use this option to control the randomness of the sampling process. A higher temperature creates more diverse sampling, but increases the risk of hallucinations.
|
||||
|
||||
### Timeout
|
||||
|
||||
Enter the maximum request time in milliseconds.
|
||||
|
||||
### Max Retries
|
||||
|
||||
Enter the maximum number of times to retry a request.
|
||||
|
||||
### Top P
|
||||
|
||||
Use this option to set the probability the completion should use. Use a lower value to ignore less probable options.
|
||||
|
||||
## Templates and examples
|
||||
|
||||
<!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
|
||||
[[ templatesWidget(page.title, 'deepseek-chat-model') ]]
|
||||
|
||||
## Related resources
|
||||
|
||||
As DeepSeek is API-compatible with OpenAI, you can refer to [LangChains's OpenAI documentation](https://js.langchain.com/docs/integrations/chat/openai/){:target=_blank .external-link} for more information about the service.
|
||||
|
||||
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
|
||||
|
||||
--8<-- "_glossary/ai-glossary.md"
|
||||
@@ -0,0 +1,80 @@
|
||||
---
|
||||
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
|
||||
title: OpenRouter Chat Model node documentation
|
||||
description: Learn how to use the OpenRouter Chat Model node in n8n. Follow technical documentation to integrate OpenRouter Chat Model node into your workflows.
|
||||
contentType: integration
|
||||
priority: high
|
||||
---
|
||||
|
||||
# OpenRouter Chat Model node
|
||||
|
||||
Use the OpenRouter Chat Model node to use OpenRouter's chat models with conversational agents.
|
||||
|
||||
On this page, you'll find the node parameters for the OpenRouter Chat Model node and links to more resources.
|
||||
|
||||
/// note | Credentials
|
||||
You can find authentication information for this node [here](/integrations/builtin/credentials/openrouter/).
|
||||
///
|
||||
|
||||
--8<-- "_snippets/integrations/builtin/cluster-nodes/sub-node-expression-resolution.md"
|
||||
|
||||
## Node parameters
|
||||
|
||||
### Model
|
||||
|
||||
Select the model to use to generate the completion.
|
||||
|
||||
n8n dynamically loads models from OpenRouter and you'll only see the models available to your account.
|
||||
|
||||
## Node options
|
||||
|
||||
Use these options to further refine the node's behavior.
|
||||
|
||||
### Base URL
|
||||
|
||||
Enter a URL here to override the default URL for the API.
|
||||
|
||||
### Frequency Penalty
|
||||
|
||||
Use this option to control the chances of the model repeating itself. Higher values reduce the chance of the model repeating itself.
|
||||
|
||||
### Maximum Number of Tokens
|
||||
|
||||
Enter the maximum number of tokens used, which sets the completion length.
|
||||
|
||||
### Response Format
|
||||
|
||||
Choose **Text** or **JSON**. **JSON** ensures the model returns valid JSON.
|
||||
|
||||
### Presence Penalty
|
||||
|
||||
Use this option to control the chances of the model talking about new topics. Higher values increase the chance of the model talking about new topics.
|
||||
|
||||
### Sampling Temperature
|
||||
|
||||
Use this option to control the randomness of the sampling process. A higher temperature creates more diverse sampling, but increases the risk of hallucinations.
|
||||
|
||||
### Timeout
|
||||
|
||||
Enter the maximum request time in milliseconds.
|
||||
|
||||
### Max Retries
|
||||
|
||||
Enter the maximum number of times to retry a request.
|
||||
|
||||
### Top P
|
||||
|
||||
Use this option to set the probability the completion should use. Use a lower value to ignore less probable options.
|
||||
|
||||
## Templates and examples
|
||||
|
||||
<!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
|
||||
[[ templatesWidget(page.title, 'openrouter-chat-model') ]]
|
||||
|
||||
## Related resources
|
||||
|
||||
As OpenRouter is API-compatible with OpenAI, you can refer to [LangChains's OpenAI documentation](https://js.langchain.com/docs/integrations/chat/openai/) for more information about the service.
|
||||
|
||||
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
|
||||
|
||||
--8<-- "_glossary/ai-glossary.md"
|
||||
40
docs/integrations/builtin/credentials/deepseek.md
Normal file
40
docs/integrations/builtin/credentials/deepseek.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
|
||||
title: DeepSeek credentials
|
||||
description: Documentation for DeepSeek credentials. Use these credentials to authenticate Deepseek in n8n, a workflow automation platform.
|
||||
contentType: integration
|
||||
priority: critical
|
||||
---
|
||||
|
||||
# DeepSeek credentials
|
||||
|
||||
You can use these credentials to authenticate the following nodes:
|
||||
|
||||
- [Chat DeepSeek](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatdeepseek/)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Create a [DeepSeek](https://platform.deepseek.com/sign_up) account.
|
||||
|
||||
## Supported authentication methods
|
||||
|
||||
- API key
|
||||
|
||||
## Related resources
|
||||
|
||||
Refer to [DeepSeek's API documentation](https://api-docs.deepseek.com/api/deepseek-api) for more information about the service.
|
||||
|
||||
## Using API key
|
||||
|
||||
To configure this credential, you'll need:
|
||||
|
||||
- An **API Key**
|
||||
|
||||
To generate your API Key:
|
||||
|
||||
1. Login to your DeepSeek account or [create](https://platform.deepseek.com/sign_up) an account.
|
||||
2. Open your [API keys](https://platform.deepseek.com/api_keys) page.
|
||||
3. Select **Create new secret key** to create an API key, optionally naming the key.
|
||||
4. Copy your key and add it as the **API Key** in n8n.
|
||||
|
||||
Refer to the [Your First API Call](https://api-docs.deepseek.com/) page for more information.
|
||||
40
docs/integrations/builtin/credentials/openrouter.md
Normal file
40
docs/integrations/builtin/credentials/openrouter.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
|
||||
title: OpenRouter credentials
|
||||
description: Documentation for OpenRouter credentials. Use these credentials to authenticate OpenRouter in n8n, a workflow automation platform.
|
||||
contentType: integration
|
||||
priority: critical
|
||||
---
|
||||
|
||||
# OpenRouter credentials
|
||||
|
||||
You can use these credentials to authenticate the following nodes:
|
||||
|
||||
- [Chat OpenRouter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenrouter/)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Create a [OpenRouter](https://openrouter.ai/) account.
|
||||
|
||||
## Supported authentication methods
|
||||
|
||||
- API key
|
||||
|
||||
## Related resources
|
||||
|
||||
Refer to [OpenRouter's API documentation](https://openrouter.ai/docs/quick-start) for more information about the service.
|
||||
|
||||
## Using API key
|
||||
|
||||
To configure this credential, you'll need:
|
||||
|
||||
- An **API Key**
|
||||
|
||||
To generate your API Key:
|
||||
|
||||
1. Login to your OpenRouter account or [create](https://openrouter.ai/) an account.
|
||||
2. Open your [API keys](https://openrouter.ai/keys) page.
|
||||
3. Select **Create new secret key** to create an API key, optionally naming the key.
|
||||
4. Copy your key and add it as the **API Key** in n8n.
|
||||
|
||||
Refer to the [OpenRouter Quick Start](https://openrouter.ai/docs/quick-start) page for more information.
|
||||
@@ -902,6 +902,7 @@ nav:
|
||||
- Anthropic Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatanthropic.md
|
||||
- AWS Bedrock Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatawsbedrock.md
|
||||
- Azure OpenAI Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatazureopenai.md
|
||||
- DeepSeek Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatdeepseek.md
|
||||
- Google Gemini Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgooglegemini.md
|
||||
- Google Vertex Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgooglevertex.md
|
||||
- Groq Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgroq.md
|
||||
@@ -912,6 +913,7 @@ nav:
|
||||
- OpenAI Chat Model:
|
||||
- OpenAI Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/index.md
|
||||
- Common issues: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/common-issues.md
|
||||
- OpenRouter Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenrouter.md
|
||||
- Cohere Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmcohere.md
|
||||
- Ollama Model:
|
||||
- Ollama Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmollama/index.md
|
||||
@@ -1001,6 +1003,7 @@ nav:
|
||||
- integrations/builtin/credentials/customerio.md
|
||||
- integrations/builtin/credentials/datadog.md
|
||||
- integrations/builtin/credentials/deepl.md
|
||||
- integrations/builtin/credentials/deepseek.md
|
||||
- integrations/builtin/credentials/demio.md
|
||||
- integrations/builtin/credentials/dfiriris.md
|
||||
- integrations/builtin/credentials/dhl.md
|
||||
@@ -1132,6 +1135,7 @@ nav:
|
||||
- integrations/builtin/credentials/onfleet.md
|
||||
- integrations/builtin/credentials/openai.md
|
||||
- integrations/builtin/credentials/opencti.md
|
||||
- integrations/builtin/credentials/openrouter.md
|
||||
- integrations/builtin/credentials/openweathermap.md
|
||||
- integrations/builtin/credentials/oura.md
|
||||
- integrations/builtin/credentials/paddle.md
|
||||
|
||||
Reference in New Issue
Block a user