DocumentOutput interface

An object describing the location and semantic content of a document.

Properties

boundingRegions

Bounding regions covering the document.

confidence

Confidence of correctly extracting the document.

docType

Document type.

fields

Dictionary of named field values.

spans

Location of the document in the reading order concatenated content.

Property Details

boundingRegions

Bounding regions covering the document.

boundingRegions?: BoundingRegionOutput[]

Property Value

confidence

Confidence of correctly extracting the document.

confidence: number

Property Value

number

docType

Document type.

docType: string

Property Value

string

fields

Dictionary of named field values.

fields?: Record<string, DocumentFieldOutput>

Property Value

Record<string, DocumentFieldOutput>

spans

Location of the document in the reading order concatenated content.

spans: DocumentSpanOutput[]

Property Value