2026-11-01 · Several pages of a PDF in one call

2026-11-01 · Several pages of a PDF in one call

Context

Text extraction sent every page of a PDF on its own. The maintainer asked for the choice of sending several pages, or the whole document, in one call: the model then sees an article that runs over the next page, and a short file costs fewer calls. The risk is the output limit: an answer cut off there loses the last pages, which is worse than losing the end of one page. Two ways to handle a model that does not mark the pages were offered; the maintainer chose to read such pages again one at a time, so that the review and error rates never break. iwac-ai-pipelines and zmo-ai-pipelines send a page per call (or a whole file to Mistral OCR, which answers page by page); nothing there splits one answer back into pages.

Decisions

Consequences