document-understanding
latest
false
- Getting Started
- Examples Using the Document Understanding™ Cloud API
- Licensing
- Troubleshooting
Use the Validation Service
Document Understanding API Guide
Last updated Sep 19, 2024
Use the Validation Service
Validate the data by using the
documentId
and the classifierId
or the extractorId
.
Each action requires one POST and multiple GET calls (due to polling), meaning that if you want to validate a classification result, then you need to do a POST and multiple GET calls. Same applies for validating an extraction result.
When a POST call is initiated you need to add the
classificationResults
/ extractionResults
previously received when calling the classifier/extractor in the Request body of the POST request.
Note: If you are using the
validation APIs to validate the extraction or classification for generative models, make
sure to also provide the prompts on the request.