Cohere 模型节点(Cohere Model node)#
使用 Cohere 模型节点使用 Cohere 的模型。
🌐 Use the Cohere Model node to use Cohere's models.
本页提供“Cohere 模型”节点的节点参数以及更多资源的链接。
🌐 On this page, you'll find the node parameters for the Cohere Model node, and links to more resources.
这个节点缺乏工具支持,因此无法与 AI Agent 节点一起使用。相反,请将其连接到 Basic LLM Chain 节点。
🌐 This node lacks tools support, so it won't work with the AI Agent node. Instead, connect it with the Basic LLM Chain node.
凭证
你可以在此处找到此节点的认证信息。
Parameter resolution in sub-nodes
Sub-nodes behave differently to other nodes when processing multiple items using an expression.
Most nodes, including root nodes, take any number of items as input, process these items, and output the results. You can use expressions to refer to input items, and the node resolves the expression for each item in turn. For example, given an input of five name values, the expression {{ $json.name }} resolves to each name in turn.
In sub-nodes, the expression always resolves to the first item. For example, given an input of five name values, the expression {{ $json.name }} always resolves to the first name.
节点选项(Node Options)#
- 最大令牌数:输入使用的最大令牌数,这将设置完成的长度。
- 采样温度:使用此选项来控制采样过程的随机性。较高的温度会产生更为多样化的采样,但也会增加出现偏差的风险。
模板和示例(Templates and examples)#
相关资源(Related resources)#
有关该服务的更多信息,请参阅 LangChains 的 Cohere 文档。
🌐 Refer to LangChains's Cohere documentation for more information about the service.
View n8n's Advanced AI documentation.