document-understanding
latest
false
- Introdução
- Exemplos usando a API do Document Understanding™ Cloud
- Licenciamento
- Solução de problemas
Iniciar a solicitação de campos de extração
Guia da API do Document Understanding
Última atualização 12 de dez de 2024
Iniciar a solicitação de campos de extração
Dica: o ID do projeto é obtido da resposta recebida da chamada Get project information.
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
}'
Observação: o parâmetro
boostExtractionConfidence
é usado para aumentar a confiança da extração ao extrair Dados do documento com APIs. Apenas valores de campo com confiança abaixo desse limite serão verificados em relação ao modelo generativo e, se os valores corresponderem, sua pontuação de confiança será aumentada.