Back to Projects
Life Sciences · Pharma Manufacturing

Lot-Level QA Review for Manufacturing Records

QA reviewers compared lot-grouped manufacturing PDFs by hand — compounding, filling, assembly, packaging — without checks tied to page-level evidence.

Parallel Page Extraction Lot-Level Validation Evidence-Linked Review UI Go + Gemini + Next.js
Business Impact
Lot-level PDF extraction, cross-document checks, and page-linked evidence

The Problem

Manufacturing QA is a pile of PDFs per lot: compounding, filling, assembly, packaging. Reviewers need the extracted values, the cross-document mismatches, and the page that proves each check — not a second pass through the binder.

The Architecture

flowchart TB
  subgraph source [Records]
      PDFs[Lot-grouped PDFs]
  end

  subgraph backend [Go Backend]
      Pages[Parallel page extraction]
      Gemini[Gemini]
      Checks[Lot-level validation]
  end

  subgraph ui [Reviewer UI]
      Lots[Lots and stages]
      Evidence[Page-level evidence]
  end

  PDFs --> Pages
  Pages --> Gemini
  Gemini --> Checks
  Checks --> Lots
  Checks --> Evidence

Extract, Check, Point at the Page

  1. Page extraction — split the PDF, run pages in parallel through Gemini
  2. Lot-level validation — compare values across documents in the same lot and stage
  3. Reviewer UI — lots, manufacturing stages, check results, jump to the evidence page

Tech Stack

  • Go — extraction pipeline and API
  • Gemini — page-level document understanding
  • Next.js — lot review workspace

The Impact

Reviewers work from extracted data and linked pages instead of re-reading the lot.