Docling flow: from scanned contract to searchable rows

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Docling flow in five steps: a supplier contract is submitted to Docling Serve as an asynchronous job that returns a task id; a worker runs layout analysis, OCR and table recognition; the result is a DoclingDocument with headings, tables and reading order; a chunker splits it, keeping tables whole and attaching headings; and the chunks are embedded and stored as pgvector rows with text, source page and vector.