Mistral AI 节点(Mistral AI node)#
使用 Mistral AI 节点在 Mistral AI 中自动化工作,并将 Mistral AI 与其他应用集成。n8n 内置支持使用各种模型、文件类型和输入方式提取文本。
🌐 Use the Mistral AI node to automate work in Mistral AI and integrate Mistral AI with other applications. n8n has built-in support for extracting text with various models, file types, and input methods.
本页列出了 Mistral AI 节点支持的操作列表以及更多资源的链接。
🌐 On this page, you'll find a list of operations the Mistral AI node supports, and links to more resources.
凭证
你可以在这里找到该节点的认证信息。
节点参数(Node parameters)#
- 资源:Mistral AI 应该操作的资源。当前实现支持“文档”资源。
- 操作:要执行的操作:
- 提取文本:使用光学字符识别(OCR)从文档或图片中提取文本。
- 模型:用于给定操作的模型。当前版本需要
mistral-ocr-latest模型。 - 文档类型:要处理的文档格式。可以是“文档”或“图片”。
- 输入类型:如何输入文档:
- 二进制数据:将文档作为二进制字段传递给此节点。
- URL:从指定的 URL 获取文档。
- 输入二进制字段:使用“二进制数据”输入类型时,定义包含文件的输入二进制字段的名称。
- URL:使用“URL”输入类型时,要处理的文档或图片的 URL。
节点选项(Node options)#
- 启用批量处理:是否在同一次 API 调用中处理多个文档。通过打包请求,这可能会降低你的成本。
- 批处理大小:在使用“启用批处理”时,设置每个批次处理的最大文档数量。
- 处理后删除文件:在使用“启用批处理”时,是否在处理后从 Mistral 云删除文件。
模板和示例(Templates and examples)#
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Mistral AI 的文档。
What to do if your operation isn't supported#
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.