Skip to content

v1.10.0

Latest

Choose a tag to compare

@docling-ops docling-ops released this 03 Dec 10:35

Upgrade Notes

  • Local conversion of PDFs and images now needs pip install "docling-graph[docling]" or a remote docling-serve instance. The base install still reads Markdown, plain text, DoclingDocument JSON, DocLang, HTML and Office files.
  • Node IDs change for identifiers containing several digit groups (e.g. INV-2024-001). Combine graphs produced by earlier versions with docling-graph merge --rekey.

Features

Lightweight Installation
  • Make local Docling conversion an optional docling extra, so the base install no longer pulls PyTorch or the Docling layout, OCR and table models (888b996)
  • Read HTML and Office files (Word, PowerPoint, Excel) on the base install, without the docling extra (0dbdaa6)
Dense Extraction Reliability
  • Align fill responses to instances by identity, and split and retry failed or truncated fills instead of dropping their instances (a40d577)
  • Carry details stated elsewhere in the document (appendices, registers) into each fill, and re-ask fields missed for a minority of sibling instances (42f3c14)
Graph Fusion at Scale
  • Add batched UNWIND Cypher export, an --inputs-file manifest and an --html/--no-html toggle to merge (2c20f93)
Template Generation
  • Share class and field vocabulary across example documents, and require enum members and evidence quotes to appear verbatim in the source (da146a8)
Evaluation & Observability
  • Add per-run LLM token accounting, a record/replay LLM client and a regression harness for extraction quality (fa1c97c)

Bug Fixes

Extraction Quality
  • Keep Markdown tables as tables in chunk text, split between rows with the header repeated (02e1487)
  • Link orphaned children to their parent, size fill context to the model's context window, and repair DocLang tables split mid-row (52ea726)
  • Size the auto contract on expected output, and redo failed or truncated direct calls with dense extraction (e466802)
LLM Client
  • Pass max_tokens per call and keep call diagnostics per thread (f8fb750)
Graph Identity & Fusion
  • Keep digit groups distinct and ignore word-edge punctuation in identity keys (bc1f2ef)
  • Rejoin cross-document splits that describe the same instance (ac12361)
Provenance
  • Match identifiers as whole terms, and locate nodes only on values unique to them (2599811)
Template Generation
  • Isolate per-document induction failures instead of aborting the run (d231c77)
  • Generate Unicode-safe names, nullable references and a single agreed identity per class (3d092af)

Performance Improvements

Dense Extraction
  • Prune unused schema definitions and send the fill schema once per call (3db09c2)
Graph Fusion
  • Index alias containment candidates and propose each pair once, making merges of thousands of graphs practical (a21e391)

Refactoring

Core
  • Move the template loader to core, remove dead code and classify provider errors by kind (75a7968)