UiPath Documentation
document-understanding
latest
false
Document Understanding API 指南
  • 入门指南
    • 概述
    • 限制和配额
    • 将自动化从 Document Understanding API v1 迁移到 v2
  • Document Understanding™ Cloud API v1 使用示例
  • 许可
  • 故障排除
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

启动提取字段请求

使用 Document Understanding API 启动异步提取字段请求,并使用示例 curl POST 和项目 ID 检索。

开始从文档中提取字段

提示:

项目 ID 从“获取项目信息”调用收到的响应中获取。

curl -X 'POST' \
  '{AutomationCloudURL}/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/extractors/invoices/extraction/start?api-version=1' \
  -H 'accept: text/plain' \
  -H 'Authorization: Bearer <your-access-token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "documentId": "381a05a2-14ed-ee11-aaf0-002248996ede",
  "boostExtractionConfidence": 70
}'
curl -X 'POST' \
  '{AutomationCloudURL}/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/extractors/invoices/extraction/start?api-version=1' \
  -H 'accept: text/plain' \
  -H 'Authorization: Bearer <your-access-token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "documentId": "381a05a2-14ed-ee11-aaf0-002248996ede",
  "boostExtractionConfidence": 70
}'
备注:

在使用 API 提取文档数据时, boostExtractionConfidence参数用于提高提取的置信度。只有置信度低于此阈值的字段值才会根据生成模型进行验证,如果值匹配,则提高其置信度分数。

从文档中提取字段的响应

{ "operationId": "eee0a911-dfe8-ed11-907c-6045bd9d17d0" }
{ "operationId": "eee0a911-dfe8-ed11-907c-6045bd9d17d0" }
  • 开始从文档中提取字段
  • 从文档中提取字段的响应

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新