An AI product needs more than a folder of PDFs. It needs the right manual, usable text and enough source context to tell where an answer came from. Manufacturer documents arrived as inconsistent scans, broken text, tables and conflicting product identifiers.
I designed, built and operated the eight-stage processing platform. A cheaper model could settle clear cases from a few pages. When a document was harder to classify, the pipeline spent more on context and model checks. A separate step verified which appliance the manual actually described.
By September 2026, 100,000+ manuals were structured for AI search. The structured Markdown carried headings and page markers for downstream retrieval. Backend delivery had its own eligibility checks.
Build a reusable acquisition layer
Upstream, I built 160 source collectors for manufacturer sites and public archives. They shared a runtime that tracked each file’s origin, retried failed work and limited cost.
A September 2026 inventory counted 370,000+ source PDFs, including copies. Content fingerprints identified duplicates. Retaining the original PDF let me revisit disputed product details and rerun extraction when needed.
Acquisition supplied the source files. The eight-stage processing pipeline then inventoried, extracted, screened, classified, reconciled, structured, reported and published its outcomes. Targeted recovery and backend delivery used separate workflows.
The cloud operations case covers scheduling, monitoring and diagnosis for the collection fleet.
Operate the manuals platform on Azure
Azure Functions ran the collectors. The processing system used containerized batch execution on Azure, including Azure Container Instances and later Container Apps Jobs. PostgreSQL retained stage and campaign state; durable artifacts allowed an interrupted run to resume without treating missing local files as completed work.
I estimate I operated the platform across about 70 runs. For each batch I could see which files had usable text, which needed another extraction pass and which needed a model number checked against the source. That let me choose what to rerun and keep the work that was already usable.
I isolated PDF extraction in separate processes to release native memory, limited how many files ran at once and saved completed stages so a retry could reuse paid processing. Each run recorded its inputs, code and container version, outcomes and spend.
Azure Blob Storage retained sources and produced artifacts. Local PDF tools and Azure Document Intelligence supported the main extraction waterfall; targeted recovery also used richer document and vision processing where the failure required it.
Route extraction by document needs
I designed an extraction waterfall that tried local PDF tools before paid OCR or layout analysis. The decision depended on the quality of the extracted text. A scan and a readable text PDF did not need the same treatment.
Language-aware checks distinguished legitimate multilingual text from damaged extraction. This mattered because treating non-English text as corruption could trigger unnecessary processing while still failing to catch genuinely unreadable output.
One production campaign completed on 8 September 2026 with 20,000 input PDFs and $219.49 in recorded variable processing cost. That covered all three outcomes: clean, flagged and rejected.
Decide which documents and identifiers to trust
After rule-based screening, the usual classification path started with a small model reading the first three pages. Clear cases could stop there. Uncertain files could go to the main model with eight pages, then to a deeper review. For long manuals, that review used headings and sampled pages. The final check used a second model, configurable to use another provider, to see whether the two agreed on whether the document was an appliance manual. A disagreement or low confidence at that point flagged the file for review.
Classification and identity were separate decisions. A document could be a useful manual while its model identifier remained uncertain. Reconciliation checked manufacturer, model, type and language against evidence in the document, using reviewed aliases and keeping unsupported identities flagged.
When brand or model information was missing, the pipeline could consider a filename under strict checks. Where the manual identified the appliance, that evidence took precedence.
The filename suggests A-204. The pipeline keeps A-240, the model printed in the manual. A filename can help fill a missing field only after additional checks.
Build recovery around the failure cause
I built targeted recovery paths because failed documents did not share one cause. Readable text with missing headings needed structural repair. Corrupt extraction needed a return to the original PDF. Conflicting product metadata needed an identity check without repeating extraction.
Recovery selection retained the prior outcome, failure reason, source identity and existing artifacts. Trustworthy work could be reused. Preservation checks inspected structural changes, while unresolved cases remained available for review instead of being silently promoted.
Three failures. Three different repairs.
Reuse trustworthy work and apply the narrowest repair that addresses the cause.
Keep the body. Recover its structure.
Disconnect before cleaning.
Disconnect before cleaning.
Structure existing text; verify preservation.
Return to the source PDF.
Discon□ect bef□re cle□ning.
Recover and check the text.
Re-extract when the existing text cannot be trusted.
Recheck the identifier.
Retain the supporting evidence.
Repair metadata without repeating extraction.
Strengthen the release controls
Before releasing a batch, I sampled clean, flagged and rejected files against their source PDFs. Reviewers checked decisions such as whether a model number belonged to the appliance itself and whether a file classified as a blank scan actually contained a manual.
The release record identified each accepted file and the exact version reviewed. Unresolved files kept their originals and processing history, so I could repair them separately while preparing accepted files for handoff.
Carry useful structure into retrieval
I prepared Markdown with headings and page markers so downstream chunks could retain their manual and page context. When adding headings to already extracted text, a preservation check compared the Markdown before and after restructuring. Unsafe heading candidates stayed in the body. When a reliable heading was unavailable, page ranges gave the indexer a fallback.
The handoff contract gave the backend one final enriched Markdown file per manual. Its chunking rules used section headings and carried page references as metadata. Internal quality sidecars remained processing evidence rather than an additional indexing dependency.
Backend delivery was a separate audited operation using an approved manifest and API verification. Publishing PDF, Markdown and metadata artifacts did not establish that every document was delivered or indexed. Lookup and serving connected product identity to documents, while this processing work supplied qualified, source-linked outputs for that handoff.
The separate memory evaluation measured retrieval on a different, explicitly scoped dataset. Its scores are not a quality score for this manuals corpus.
A useful passage keeps its context.
Heading-based preparation connects the answerable section to its manual and page.
Disconnect before cleaning.
Disconnect before cleaning.
- Document
- A-240
- Page
- 04
- Section
- Care and cleaning