Share via


ContentField interface

Field extracted from the content.

Properties

confidence

Confidence of predicting the field value.

source

Encoded source that identifies the position of the field value in the content.

spans

Span(s) associated with the field value in the markdown content.

type

The discriminator possible values: string, date, time, number, integer, boolean, array, object, json

value

The value of the field.

Property Details

confidence

Confidence of predicting the field value.

confidence?: number

Property Value

number

source

Encoded source that identifies the position of the field value in the content.

source?: string

Property Value

string

spans

Span(s) associated with the field value in the markdown content.

spans?: ContentSpan[]

Property Value

type

The discriminator possible values: string, date, time, number, integer, boolean, array, object, json

type: ContentFieldType

Property Value

value

The value of the field.

value?: unknown

Property Value

unknown