document-understanding
latest
false
Document Understanding API 指南
Last updated 2024年11月21日
启动提取字段请求
提示:项目 ID 从“获取项目信息”调用收到的响应中获取。
curl -X 'POST' \
'https://cloud.uipath.com/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/extractors/invoices/extraction/start?api-version=1' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkY5QTYwNUMxRDlFOEQyNzFGNTZBOEE4NzI2NTgzMURBRjkyMkQ5ODAiLCJ4NXQiOiItYVlGd2RubzBuSDFhb3FISmxneDJ2a2kyWUEiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3N0YWdpbmcudWlwYXRoLmNvbS9pZGVudGl0eV8iLCJuYmYiOjE3MTE2Mzc3NDQsImlhdCI6MTcxMTYzODA0NCwiZXhwIjoxNzExNjQxNjQ0LCJhdWQiOiJVaVBhdGguRG9jdW1lbnRVbmRlcnN0YW5kaW5nIiwic2NvcGUiOlsiRHUuQ2xhc3NpZmljYXRpb24uQXBpIiwiRHUuRGlnaXRpemF0aW9uLkFwaSIsIkR1LkV4dHJhY3Rpb24uQXBpIiwiRHUuVmFsaWRhdGlvbi5BcGkiXSwic3ViX3R5cGUiOiJzZXJ2aWNlLmV4dGVybmFsIiwicHJ0X2lkIjoiOTViYWY3YTItNTljNC00NDM4LTkzYmItNTU5NjdmMTA0OTA0IiwiY2xpZW50X2lkIjoiNzI4MWU5OTgtZjczMC00MDVmLThmNTQtMzQ1NWQyMzJmZjA0IiwianRpIjoiOUQ0ODhBMDczQkEyNjVEQTNCNjNCMTU0OTdGQkQ0M0IifQ.ij6SIKi1aT3TrsSP3JVzOomhyESKVgSd4KQlU_PyRBI3gaLbtS3CIM0tmIuaXpKhwrIpTjPbXRLzF0nzu7u7YX7ICTmMO3hL_Ym3EXB9rGDJSlHyiunwEq-6RMyOq3I7naKEQv5ZOHK9lksgH3OWRN8CmsBynuJR59WBjDbkd8tVwiHdkfYS4EJ2FsDM6f4otIpJ4DJ0xqf95eVF7b4H1VciSNJ2pYeeRcfCwumcNdwwQ1LqDqadFIGiunUHUqSn9PYirMUKlzSP4Bo6llTeGJcwLq65SveiC0tt2fzomYLJ2jGYB465rKfy7jx8Rx4vQBcU9a8esnKLiPHM52jsOg' \
-H 'Content-Type: application/json' \
-d '{
"documentId": "381a05a2-14ed-ee11-aaf0-002248996ede",
"boostExtractionConfidence": 70
}'
curl -X 'POST' \
'https://cloud.uipath.com/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/extractors/invoices/extraction/start?api-version=1' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkY5QTYwNUMxRDlFOEQyNzFGNTZBOEE4NzI2NTgzMURBRjkyMkQ5ODAiLCJ4NXQiOiItYVlGd2RubzBuSDFhb3FISmxneDJ2a2kyWUEiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3N0YWdpbmcudWlwYXRoLmNvbS9pZGVudGl0eV8iLCJuYmYiOjE3MTE2Mzc3NDQsImlhdCI6MTcxMTYzODA0NCwiZXhwIjoxNzExNjQxNjQ0LCJhdWQiOiJVaVBhdGguRG9jdW1lbnRVbmRlcnN0YW5kaW5nIiwic2NvcGUiOlsiRHUuQ2xhc3NpZmljYXRpb24uQXBpIiwiRHUuRGlnaXRpemF0aW9uLkFwaSIsIkR1LkV4dHJhY3Rpb24uQXBpIiwiRHUuVmFsaWRhdGlvbi5BcGkiXSwic3ViX3R5cGUiOiJzZXJ2aWNlLmV4dGVybmFsIiwicHJ0X2lkIjoiOTViYWY3YTItNTljNC00NDM4LTkzYmItNTU5NjdmMTA0OTA0IiwiY2xpZW50X2lkIjoiNzI4MWU5OTgtZjczMC00MDVmLThmNTQtMzQ1NWQyMzJmZjA0IiwianRpIjoiOUQ0ODhBMDczQkEyNjVEQTNCNjNCMTU0OTdGQkQ0M0IifQ.ij6SIKi1aT3TrsSP3JVzOomhyESKVgSd4KQlU_PyRBI3gaLbtS3CIM0tmIuaXpKhwrIpTjPbXRLzF0nzu7u7YX7ICTmMO3hL_Ym3EXB9rGDJSlHyiunwEq-6RMyOq3I7naKEQv5ZOHK9lksgH3OWRN8CmsBynuJR59WBjDbkd8tVwiHdkfYS4EJ2FsDM6f4otIpJ4DJ0xqf95eVF7b4H1VciSNJ2pYeeRcfCwumcNdwwQ1LqDqadFIGiunUHUqSn9PYirMUKlzSP4Bo6llTeGJcwLq65SveiC0tt2fzomYLJ2jGYB465rKfy7jx8Rx4vQBcU9a8esnKLiPHM52jsOg' \
-H 'Content-Type: application/json' \
-d '{
"documentId": "381a05a2-14ed-ee11-aaf0-002248996ede",
"boostExtractionConfidence": 70
}'
注意:
boostExtractionConfidence
参数用于在使用 API 提取文档数据时提高提取的置信度。只有置信度低于此阈值的字段值才会根据生成模型进行验证,如果值匹配,则提高其置信度分数。