diff --git a/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatcohere.md b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatcohere.md new file mode 100644 index 000000000..8fa1736b9 --- /dev/null +++ b/docs/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatcohere.md @@ -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 + + +[[ 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" diff --git a/docs/integrations/builtin/credentials/cohere.md b/docs/integrations/builtin/credentials/cohere.md index 0d9722fca..af0374f99 100644 --- a/docs/integrations/builtin/credentials/cohere.md +++ b/docs/integrations/builtin/credentials/cohere.md @@ -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). diff --git a/nav.yml b/nav.yml index 8d9f79411..b9a3d27f0 100644 --- a/nav.yml +++ b/nav.yml @@ -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