import { OCRResponse } from "@mistralai/mistralai/models/components";
let value: OCRResponse = {
pages: [
{
index: 65304,
markdown: "<value>",
images: [
{
id: "<id>",
topLeftX: 783235,
topLeftY: 288398,
bottomRightX: 241418,
bottomRightY: 662505,
},
],
dimensions: {
dpi: 246063,
height: 665859,
width: 517309,
},
},
],
model: "Escalade",
usageInfo: {
pagesProcessed: 554688,
},
};
Field | Type | Required | Description |
---|---|---|---|
pages |
components.OCRPageObject[] | ✔️ | List of OCR info for pages. |
model |
string | ✔️ | The model used to generate the OCR. |
usageInfo |
components.OCRUsageInfo | ✔️ | N/A |