Docling Graph
Docling-Graph turns documents into validated Pydantic objects, then builds a directed knowledge graph with explicit semantic relationships.
This transformation enables high-precision use cases in chemistry, finance, and legal domains, where AI must capture exact entity connections (compounds and reactions, instruments and dependencies, properties and measurements) rather than rely on approximate text embeddings.
This toolkit supports two extraction paths: local VLM extraction via Docling, and LLM-based extraction routed through LiteLLM for local runtimes (vLLM, Ollama) and API providers (OpenAI, Gemini, IBM watsonx, Mistral and more), all orchestrated through a flexible, config-driven pipeline.
Key Capabilities
✍🏻 Input formats: Docling’s supported inputs: PDF, images, DocLang, markdown, Office and more.
🧠 Extraction: LLM or VLM backends, with chunking and processing modes.
💎 Graphs: Pydantic to NetworkX directed graphs with stable IDs, edge and provenance metadata.