Skip to content

Examples

Worked examples for udoc, grouped by what you're trying to do.

  • Recipes — small one-off tasks: extract tables, hit one page, dump JSONL, etc.
  • Pipelines — end-to-end shapes: ingest, RAG, agent loops.
  • Hook implementations — Tesseract, layout models, entity extractors, cloud OCR.

This section is in progress. Until the worked examples land, the closest things in the docs:

  • The Overview walks through extract, stream, and the CLI shapes.
  • The Library guide covers config, overlays, diagnostics, and batch processing with Corpus.
  • The Hooks chapter ships an end-to-end Tesseract OCR hook in 30 lines of Python.
  • Longer hook recipes live under examples/hooks/ in the repository.