OpenRouter tutorial: Extracting tables from PDFs using LLMs.
OpenRouter publishes a guide on sending PDFs alongside strict JSON schemas to file-reading models, ensuring tables return rows with types while cleaning brackets, thousands separators, and footnote markers within field descriptions.
A PDF table is now JSON. Are the amounts and footnotes still right?
A collected OpenRouter summary describes extracting tables with file input and a strict JSON schema. Before using the result, check row alignment, negative amounts, separators and footnotes against the PDF.
Reading AnalysisReturn to original text
A short introduction is retained here; the full text from the source website is not reposted. For specific wording and subsequent updates, please refer to the original article.
Open AIHOT original