目标: 在 n8n.citupro.com 中配置 Cohere API Key 凭证
API Key: 4pLcF0CGE7LeDmAudBQHdvAxGaKwNOKfxUGkHb5C
日期: 2025-01-27
当前凭证 ID: Trtn1MtQhDwHYoPO
凭证名称: Cohere API Key
凭证类型: cohereApi
创建时间: 2026-01-19T03:55:55.019Z
注意: 如果遇到 "Forbidden" 错误,请参考 故障排除指南
你现在可以在工作流中使用此凭证了!
https://n8n.citupro.com/home/credentials在凭证配置表单中填写:
Cohere API Key 或 Cohere - Production(便于识别的名称)4pLcF0CGE7LeDmAudBQHdvAxGaKwNOKfxUGkHb5C如果 n8n API 支持凭证管理,可以使用以下脚本:
python scripts/create_n8n_cohere_credential.py
注意: n8n 的凭证管理 API 可能有限制,如果 API 不支持,请使用方法一(Web UI)。
rerank-multilingual-v3.0{
"parameters": {
"modelName": "rerank-multilingual-v3.0",
"topN": 5
},
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"name": "Reranker Cohere",
"credentials": {
"cohereApi": {
"id": "凭证ID",
"name": "Cohere API Key"
}
}
}
获取凭证 ID:
/home/credentials/{凭证ID}A: 确保你的 n8n 版本支持 Cohere 节点。如果使用的是较旧版本,可能需要:
@n8n/n8n-nodes-langchain 包A: 检查:
A:
/home/credentials/{凭证ID}配置完成后,你就可以在工作流中使用 Cohere Reranker 节点了! 🎉