Docling architecture: from messy documents to clean chunks

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Docling architecture: ERP documents such as invoices, contracts and SOPs are uploaded to Docling Serve, a REST API running on Kubernetes. Workers and Redis scale the conversions. The conversion pipeline runs layout analysis, OCR and table recognition and builds a DoclingDocument that keeps the structure. A HybridChunker splits it into chunks with their headings, and the chunks are embedded and stored in pgvector.