Add Cohere chat node (#3376)

This commit is contained in:
Justin Ellingwood
2025-07-18 11:05:19 +01:00
committed by GitHub
parent 95f44faad0
commit 6e84da9cb7
3 changed files with 46 additions and 4 deletions

View File

@@ -0,0 +1,40 @@
---
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
title: Cohere Chat Model node documentation
description: Learn how to use the Cohere Chat Model node in n8n. Follow technical documentation to integrate Cohere Chat Model node into your workflows.
contentType: [integration, reference]
priority: medium
---
# Cohere Chat Model node
Use the Cohere Chat Model node to access Cohere's large language models for conversational AI and text generation tasks.
On this page, you'll find the node parameters for the Cohere Chat Model node, and links to more resources.
/// note | Credentials
You can find authentication information for this node [here](/integrations/builtin/credentials/cohere.md).
///
--8<-- "_snippets/integrations/builtin/cluster-nodes/sub-node-expression-resolution.md"
## Node parameters
* **Model**: Select the model which will generate the completion. n8n dynamically loads available models from the Cohere API. Learn more in the [Cohere model documentation](https://docs.cohere.com/v2/docs/models#command).
## Node options
* **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.
* **Max Retries**: Enter the maximum number of times to retry a request.
## Templates and examples
<!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
[[ templatesWidget(page.title, 'cohere-chat-model') ]]
## Related resources
Refer to [Cohere's API documentation](https://docs.cohere.com/v2/reference/about) for more information about the service.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
--8<-- "_glossary/ai-glossary.md"

View File

@@ -10,19 +10,20 @@ contentType: [integration, reference]
You can use these credentials to authenticate the following nodes:
* [Cohere](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmcohere.md)
* [Cohere Chat](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatcohere.md)
* [Reranker Cohere](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.rerankercohere.md)
* [Embeddings Cohere](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingscohere.md)
## Prerequisites
Create a [Cohere account](https://cohere.com/){:target=_blank .external-link}.
Create a [Cohere account](https://cohere.com/).
You'll need an account with the following access:
- For the Trial API, you need User or Owner permissions.
- For Production API, you need Owner permissions.
Refer to [Cohere Teams and Roles documentation](https://docs.cohere.com/reference/teams-and-roles){:target=_blank .external-link} for more information.
Refer to [Cohere Teams and Roles documentation](https://docs.cohere.com/reference/teams-and-roles) for more information.
## Supported authentication methods
@@ -30,7 +31,7 @@ Refer to [Cohere Teams and Roles documentation](https://docs.cohere.com/referenc
## Related resources
Refer to [Cohere's documentation](https://docs.cohere.com/reference/about){:target=_blank .external-link} for more information about the service.
Refer to [Cohere's documentation](https://docs.cohere.com/reference/about) for more information about the service.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
@@ -38,4 +39,4 @@ Refer to [Cohere's documentation](https://docs.cohere.com/reference/about){:targ
To configure this credential, you'll need:
- An **API Key**: To generate a Cohere API key, go to the [API Keys section of your Cohere dashboard](https://dashboard.cohere.com/api-keys){:target=_blank .external-link}.
- An **API Key**: To generate a Cohere API key, go to the [API Keys section of your Cohere dashboard](https://dashboard.cohere.com/api-keys).

View File

@@ -729,6 +729,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
- Cohere Chat Model: integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatcohere.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