Data engineeringProcessing and recovery ownership at eeva

Document intelligence at scale

Problem
Turn inconsistent manufacturer PDFs into reliable, traceable knowledge for an AI assistant.
My contribution
Designed and operated the eight-stage pipeline. I built model routing for uncertain documents and targeted repairs for damaged text and conflicting product identities.
Outcome
100,000+ manuals structured for AI search · September 2026. Prepared Markdown included headings and page markers for downstream retrieval.

Inside the document platform

Follow a file through extraction, source-grounded decisions and quality-controlled publication.

Original source · kept

Manufacturer
manual.

Model: A-240

Text PDFScanned PDF
Example manual · page 04
Extraction choices

Read what
is there.

Text PDFLocal extraction
Scanned PDFNeeds OCR
Escalate when quality requires it
Richer processingOCR + layout

Recover text from the scan.

Scope and escalation

Is this the
right document?

A · first 3 pagesB · first 8 pagesReview checkpointC · deeper reviewD · second model
Document-grounded identity

Check the source.

Printed on page 04: A-240

Proposed A-204Supported A-240
Unresolved identity stays flagged
Preserved structure

Sections.
Tables.
Page references.

Original source stays attached
Targeted recoveryRepair what failed.
Missing headingsStructure existing textDamaged textReturn to extractionWrong identityRecheck metadata
Separate release decisionQuality review

Preservation checks
and human review

Prepared example

# Care
and cleaning

Keep the heading and its passage together.

Manual A-240 · page 04
Outside the accepted setNeeds review

Identity unresolved.
Candidate held.

Source identity stays attached
Separate backend delivery Approved manifest + verification

Make the release inspectable

Quality checks and human review inform publication. Accepted artifacts preserve source references; unresolved candidates remain held. Backend delivery follows its own verified manifest.

Illustrative documents and decisions. This is a read-only explanation of the production workflow.

The processing architecture

Eight stages.
Decisions at every boundary.

Acquisition supplies the files. Processing prepares and qualifies the outputs. Recovery and backend delivery have their own workflows.

Upstream acquisition370,000+ source PDFs in the September 2026 inventoryThe source inventory includes copies. Content hashes identify duplicates.
  1. 01

    Inventory

    Identify source files and avoid processing the same content twice.

  2. 02

    Extraction

    Try local extraction first; escalate to OCR or layout analysis when quality requires it.

  3. 03

    Initial screening

    Filter obvious unsuitable material before deeper model analysis.

  4. 04

    AI classification

    Start with the opening pages. For uncertain cases, inspect more of the manual and cross-check the classification.

  5. 05

    Metadata reconciliation

    Check manufacturer, model and language against the document's evidence.

  6. 06

    Structure and quality

    Preserve text, headings and page references; inspect the prepared output.

  7. 07

    Reporting

    Account for outcomes, processing costs and cases needing attention.

  8. 08

    Publication

    Publish accepted artifacts and retain unresolved evidence and original sources.

Targeted recovery

Return to extraction, classification, structure or metadata according to the failure. Retain prior evidence.

Downstream backend delivery

A separate approved manifest feeds the application API, with delivery verification. Publishing artifacts does not establish backend delivery.

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.

Which model does this manual cover?Illustrative manual
Source fileA-204.pdf03
Manufacturer manual04
Model plate
Manual · page 04
PlateA-240
Printed model ID
FilenameIdentity check
A-204.pdf
A-204 differs from A-240
Check against plateUse A-240

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.

Readable text, missing headings

Keep the body. Recover its structure.

Care and cleaning
Disconnect before cleaning.
## Care and cleaning
Disconnect before cleaning.

Structure existing text; verify preservation.

Damaged extraction

Return to the source PDF.

C□re an□ cle□ning
Discon□ect bef□re cle□ning.
Source PDF → OCR
Recover and check the text.

Re-extract when the existing text cannot be trusted.

Conflicting identity

Recheck the identifier.

Proposed model: A-204
Source page: A-240
Retain the supporting evidence.

Repair metadata without repeating extraction.

Illustrative excerpts. An unresolved repair remains in review.

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.

Source manual · A-240Care and cleaning

Disconnect before cleaning.

Page 04
Prepared passage# Care and cleaning

Disconnect before cleaning.

Document
A-240
Page
04
Section
Care and cleaning
Illustrative passage. Backend chunking uses headings and retains page metadata; no retrieval score is implied.
Keep exploring

Cloud delivery and operations

The environments and operating foundations behind the product.

Open case study ↗