- Overview
- Model building
- Overview
- Uploading sample documents
- Reviewing predictions
- Validating extraction predictions
- Configuring the model
- Model validation
- Model deployment
- Frequently asked questions

Unstructured and complex documents user guide
Validating extraction predictions
The model does not currently learn directly from user annotations. To improve the performance of the model, modify your prompt instructions or model configuration.
Once you are happy with your prompt instructions, you can start validating the predictions of the model to establish ground truth for its performance evaluation. Before you do so, it is important to understand the differences between predictions and references.
- Correct prediction and correct reference, but an incorrect span is highlighted. Usually, the first match that was found.
- Correct prediction and correct reference, but no span is highlighted.
- Correct prediction, but there is a missing reference or highlighted span, or both.
- Go to the Build tab, and select Validate predictions or any uploaded document to begin the validation process. The model highlights the relevant span of text in the document and displays the generated predictions in the side panel.
- Review the predictions and either confirm the extractions one by one or in bulk by confirming the entire field group. It is not recommended to select the Confirm all and next button without carefully reviewing each extraction.
- You can configure additional fields in your extraction schema at any point from Manage taxonomy or the Build tab.
You are recommended to validate at least 10 examples for each field, so that the model can provide meaningful validation statistics.
- Confirming the extractions if they are correct.
- Correcting the extractions if they are incorrect.
- Marking fields as missing if they are not present in the document.
- Configuring any additional fields in your extraction schema.
Unconfirmed
References in the document are highlighted with a dashed border:
No extractions are marked as confirmed:
Confirmed
References are highlighted with a solid border:
Extractions are marked as confirmed:
This section contains example scenarios of when the predictions of the model match or do not match the annotations of the user.
When the annotation matches the prediction, the extraction looks as follows:
When the annotation does not match the prediction, the extraction looks as follows:
When you added an annotation but the prediction was missing, the extractions look as follows:
- Select the plus icon to add a missing extraction.
- Select the table icon to open the table view.
- Confirm the extractions either from the side panel or from the table view.
- Hover over the extraction, and use the pencil and plus icons to correct the extractions individually:
- The pencil icon allows you to edit the predicted value and type in the correct value.
- The plus icon allows you to update the predicted value or reference and highlight the correct value in the document.
- Select Add field group to add a missing field group.