Skip to main content

Type Alias: GatewayInferenceOcrPage

type GatewayInferenceOcrPage = {
[key: string]: unknown;
index: number;
markdown: string;
images?: {
[key: string]: unknown;
id?: string;
image_base64?: string;
}[];
};

Defined in: src/models/ai-gateway-inference.ts:5476

Portkey OcrPage; additive response fields are preserved.

Example​

`GatewayInferenceOcrPageSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

index​

index: number;

Defined in: src/models/ai-gateway-inference.ts:5477


markdown​

markdown: string;

Defined in: src/models/ai-gateway-inference.ts:5478


images?​

optional images?: {
[key: string]: unknown;
id?: string;
image_base64?: string;
}[];

Defined in: src/models/ai-gateway-inference.ts:5479

Index Signature​

[key: string]: unknown

id?​

optional id?: string;

image_base64?​

optional image_base64?: string;