Products · LLM Extraction V2

Multi-document pipeline

Process a batch of documents in parallel with LangGraph on AWS Lambda.

Planned, not builtModule 10 of 15

DataData ModelSections

Data Model

Design notes from each story. Tables belong to the owning service only.

DOCFLOW-V2-E9-01 · Batch upload
docflow.batches (id, owner_id, job_group_id, status uploading|processing|needs_review|reviewed|paid|failed, created_at). docflow.documents adds batch_id → batches null, excluded boolean default false.
EXTRACTION-V2-E9-02 · LangGraph orchestrator on Lambda
extraction.job_groups (id, owner_id, max_concurrency, status, created_at); extraction.jobs adds group_id. extraction.pipeline_runs (id, job_id, node, status, state jsonb, attempt, updated_at) stores per-node checkpoints so a retry resumes.
DOCFLOW-V2-E9-03 · Batch status page
No schema change.
UPLOAD-V2-E9-04 · Keep original documents beyond 30 days
upload.files.expires_at becomes nullable: empty means kept until deleted.

Coming Soon...

The entities, their relationships, what every field means and the business rules will appear here when this module's design is finalized.