Skip to content

Mistral 云聊天模型节点(Mistral Cloud Chat Model node)#

使用 Mistral Cloud 聊天模型节点,将 Mistral Cloud 的聊天模型与会话代理结合起来。

🌐 Use the Mistral Cloud Chat Model node to combine Mistral Cloud's chat models with conversational agents.

本页包含 Mistral 云聊天模型节点的节点参数以及更多资源的链接。

🌐 On this page, you'll find the node parameters for the Mistral Cloud Chat Model node, and links to more resources.

凭证

你可以在这里找到该节点的认证信息。

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 parameters)#

  • 模型:选择用于生成完成内容的模型。n8n会动态从Mistral Cloud加载模型,你只会看到对你的账户可用的模型。

节点选项(Node options)#

  • 最大令牌数:输入使用的最大令牌数,这将设置完成的长度。
  • 采样温度:使用此选项来控制采样过程的随机性。较高的温度会产生更为多样化的采样,但也会增加出现偏差的风险。
  • 超时:输入请求的最大时间(毫秒)。
  • 最大重试次数:输入请求重试的最大次数。
  • Top P:使用此选项设置完成时应使用的概率。使用较低的值可以忽略不太可能的选项。
  • 启用安全模式:通过在生成内容的开头注入安全提示来启用安全模式。这有助于防止模型生成冒犯性内容。
  • 随机种子:输入用于随机采样的种子。如果设置,不同的调用将生成确定性的结果。

模板和示例(Templates and examples)#

Template widget placeholder.

有关该服务的更多信息,请参阅 LangChains 的 Mistral 文档

🌐 Refer to LangChains's Mistral documentation for more information about the service.

View n8n's Advanced AI documentation.