AnalysisContent interface

Media content base class.

Properties

analyzerId

The analyzer that generated this content.

category

Classified content category.

fields

Extracted fields from the content.

kind

The discriminator possible values: document, audioVisual

markdown

Markdown representation of the content.

mimeType

Detected MIME type of the content. Ex. application/pdf, image/jpeg, etc.

path

The path of the content in the input.

Property Details

analyzerId

The analyzer that generated this content.

analyzerId?: string

Property Value

string

category

Classified content category.

category?: string

Property Value

string

fields

Extracted fields from the content.

fields?: Record<string, ContentFieldUnion>

Property Value

Record<string, ContentFieldUnion>

kind

The discriminator possible values: document, audioVisual

kind: AnalysisContentKind

Property Value

markdown

Markdown representation of the content.

markdown?: string

Property Value

string

mimeType

Detected MIME type of the content. Ex. application/pdf, image/jpeg, etc.

mimeType: string

Property Value

string

path

The path of the content in the input.

path?: string

Property Value

string