Skip to main content

Type Alias: GatewayInferenceCreateOcrResponse

type GatewayInferenceCreateOcrResponse = {
[key: string]: unknown;
pages: GatewayInferenceOcrPage[];
model: string;
usage_info?: {
[key: string]: unknown;
pages_processed?: number;
};
};

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

Portkey CreateOcrResponse; additive response fields are preserved.

Example​

`GatewayInferenceCreateOcrResponseSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

pages​

pages: GatewayInferenceOcrPage[];

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


model​

model: string;

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


usage_info?​

optional usage_info?: {
[key: string]: unknown;
pages_processed?: number;
};

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

Index Signature​

[key: string]: unknown

pages_processed?​

optional pages_processed?: number;