借助 Doc AI - 批处理任务,您可以向 Document AI 处理器发送单个批量(异步)请求来处理多个文档。然后,Document AI 会启动长时间运行的操作 (LRO) 并将处理后的结果存储在 Cloud Storage 存储桶中。Document AI 处理器是一个 Cloud Document AI 组件,用于执行不同的文档处理操作,例如文档分类、拆分、解析或分析。
Cloud Document AI 是一项 Google Cloud 服务,可让您使用先进的 Google AI(例如自然语言、计算机视觉、翻译和 AutoML)来解析非结构化或半结构化文档中的结构化信息。
准备工作
在配置 Doc AI - 批处理任务之前,请确保在您的 Google Cloud 项目中执行以下任务:
启用 Cloud Document AI API (documentai.googleapis.com)。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-10。"],[[["The **Doc AI - Batch Process** task allows you to send a single asynchronous request to a Document AI processor for processing multiple documents, storing the results in Cloud Storage."],["This task requires enabling the Cloud Document AI API and creating an authentication profile with specific IAM permissions (`documentai.processors.processBatch` and `documentai.processorVersions.processBatch`)."],["Configuring the task involves selecting an authentication profile and defining input parameters such as the Cloud Document AI region, project ID, processor ID, and the request JSON."],["The batch task results in a long-running operation (LRO), and the output provides the name of this operation for tracking purposes."],["The Doc AI Batch process is currently a Pre-GA feature, meaning it is available \"as is\" with limited support, as detailed in the Pre-GA Offerings Terms."]]],[]]