Get field validation details
Changed onReturns the details (file ID, type, location) of each extraction used for validation during training of the field.
Possible values of type are:
-
tp: True Positive - an annotation added by the user that the AI agrees with.
-
fn: False Negative - an annotation added by the user that the AI disagrees with.
-
fp: False Positive - an annotation that the user did not add, but that the AI suggests they add to training.
-
na: Not Applicable - an annotation that was not used for validation, either because it was part of the initial training batch, or because the file was a duplicate of a file that was already trained on.
If the example type is tp or fp, the location refers to the text found by the ML. If the example type is fn or na, the location refers to the original user highlight that was missed.
Request
- Base URLhttps://us.app.zuva.ai/api/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Field ID
Response
The field's validation details
Example response
[
{
"file_id": "c5e407f1qk1er7odm6tg",
"location": [
26952,
27310
],
"type": "tp"
}
]Changes
- warning
added the new
naenum value to the/response property for the response status
- warning