trustgraph/tests/unit/test_decoding
cybermaggedon bdfdbb3c1f
feat: add Docling-based document decoder as alternative to unstructured (#1054)
Add trustgraph-docling package providing a document decoder powered by
IBM's Docling library. Supports PDF, DOCX, XLSX, PPTX, HTML, Markdown,
and CSV with two chunking modes:

- page mode (default): groups output by page for page-based formats,
  emits TextDocument messages for the existing downstream chunker
- hybrid mode: uses Docling's HybridChunker for structure-aware
  semantic chunking, emits Chunk messages directly

Tables are preserved as HTML markup. Images are stored in the librarian
with provenance but excluded from the text pipeline. Full provenance
chain is maintained for explainability tracing.

Includes Containerfile, CI/CD integration (PR checks and release
workflows), Makefile targets, and tech spec documentation.

Added unit tests for the package.
2026-07-20 21:25:33 +01:00
..
__init__.py Fixed Mistral OCR to use current API (#448) 2025-08-04 10:08:16 +01:00
test_docling_processor.py feat: add Docling-based document decoder as alternative to unstructured (#1054) 2026-07-20 21:25:33 +01:00
test_mistral_ocr_processor.py Per-flow librarian clients and per-workspace response queues (#865) 2026-05-06 12:01:01 +01:00
test_pdf_decoder.py fix: reject invalid PDF decoder input (#977) 2026-06-09 16:37:39 +01:00
test_universal_processor.py Per-flow librarian clients and per-workspace response queues (#865) 2026-05-06 12:01:01 +01:00
test_universal_strategies.py Add universal document decoder with multi-format support (#705) 2026-03-23 12:56:35 +00:00