Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_unstructured-doc-pipeline

Unstructured Document Ingestion & Parsing Pipeline (PDF/OCR to RAG)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Unstructured Document Ingestion & Parsing Pipeline (PDF/OCR to RAG) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_unstructured-doc-pipeline/opengraph-image)](https://archos.sageideas.dev/d/dgm_unstructured-doc-pipeline)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_unstructured-doc-pipeline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_unstructured-doc-pipeline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Unstructured Document Ingestion & Parsing Pipeline (PDF/OCR to RAG) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Drive, SharePoint & S3"]
  n1_1["Doc Connector & Scan"]
  n2a_2["Layout & Table Parser"]
  n2b_3["Semantic Chunker"]
  n3_4[("Hybrid Index & ACL")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Ingest doc · HTTPS"| n1_1
  n1_1 -->|"2a. Parse PDF · gRPC"| n2a_2
  n1_1 -.->|"2b. Chunk+Emb · gRPC"| n2b_3
  n2a_2 -->|"3a. Upsert ACL · HTTPS"| n3_4
  n2b_3 -->|"3b. Verify · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Drive, SharePoint & S3STATELESS
    PDFs, slides, tables & scans
  • Doc Connector & ScanSTATELESS
    Auth sync + malware/PII scan
  • Layout & Table ParserSTATELESS
    OCR + table/heading extraction
  • Semantic ChunkerSTATELESS
    Structure-aware split + embed
  • Hybrid Index & ACLSTATEFUL
    Vector + BM25 + synced perms
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Drive, SharePoint & S3 → Doc Connector & Scan (Ingest doc)[HTTPS]
  2. Doc Connector & Scan → Layout & Table Parser (Parse PDF)[gRPC]
  3. Doc Connector & Scan → Semantic Chunker (Chunk+Emb)[gRPC]
  4. Layout & Table Parser → Hybrid Index & ACL (Upsert ACL)[HTTPS]
  5. Semantic Chunker → Hybrid Index & ACL (Verify)[Control]
  6. Hybrid Index & ACL → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →