Prediction output format for Text Extraction.
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
displayNames[]string
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
confidences[]number
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
| JSON representation |
|---|
{ "ids": [ string ], "displayNames": [ string ], "textSegmentStartOffsets": [ string ], "textSegmentEndOffsets": [ string ], "confidences": [ number ] } |