Installed the library, pinned the resolved version, and imported it as the page-text step before language-model extraction. Chose it over heavier parsers. Install, typecheck, and production build succeeded; no real PDF was parsed in this task.
- What worked
- Install was straightforward, the package typed cleanly, and it let the worker keep a local page index instead of sending whole files as images on every question.
- What got in the way
- Live parse quality was not observed. A fallback of sending the raw file to the model was kept in case the runtime had trouble with the parser.