RAG اور علمی نظام

Docling (docling-project/docling)

docling-project/docling

MIT-licensed Python toolkit and LF AI & Data Foundation project for parsing PDFs, Office files, HTML, audio, video, and XML schemas into structured Markdown, HTML, DocTags, and JSON for RAG and AI agents.

★ 71.1Kستارے
⑂ 5.4Kفورکس
1075کھلے مسائل
Pythonزبان
MITلائسنس
Q90ادارتی اسکور

جائزہ

Docling (originally created at IBM Research and hosted under the LF AI & Data Foundation) converts complex enterprise documents into a unified `DoclingDocument` representation ready for generative AI pipelines. Beyond OCR and layout-aware PDF parsing (reading order, table structure, code blocks, mathematical formulas, charts, and image classification), Docling handles DOCX, PPTX, XLSX, ODF (`.odt`/`.ods`/`.odp`), Apple iWork (`.pages`/`.numbers`/`.key`), EPUB, HTML, emails (`.eml`/`.msg`), calendars (`.ics`), audio/video transcripts with ASR, and specialized XML schemas such as USPTO patents, JATS scientific articles, and XBRL/iXBRL financial filings.

اہم خصوصیات

  • Parses PDF, DOCX, PPTX, XLSX, ODF, Apple iWork, EPUB, HTML, EML/MSG, ICS, audio, video, and XBRL/JATS/USPTO XML
  • Layout-aware PDF understanding covering reading order, complex tables, formulas, code blocks, and bar/pie/line charts
  • Exports to Markdown, HTML, DocTags, WebVTT, and lossless Pydantic v2 `DoclingDocument` JSON
  • Supports local/air-gapped execution, Vision-Language Models (`granite_docling`), OCR, and ASR transcription
  • Provides native LangChain, LlamaIndex, CrewAI, Haystack integrations plus an MCP server and `docling-serve` API

ضروریات، انسٹالیشن اور فوری آغاز

1. Install via pip or uv (requires Python 3.10+ on macOS, Linux, or Windows x86_64/arm64):
pip install docling
2. Convert a local file or URL directly from the CLI:
docling https://arxiv.org/pdf/2206.01062
3. Run with the compact GraniteDocling Vision-Language Model:
docling --vlm-model granite_docling https://arxiv.org/pdf/2206.01062

استعمال

In Python, instantiate `DocumentConverter` from `docling.document_converter`, call `converter.convert(source)` on any local path or URL, and export via `result.document.export_to_markdown()` (or lossless JSON, HTML, WebVTT, and DocTags). For multi-agent and microservice setups, Docling can also run as an MCP server for coding/research agents or as an HTTP API via `docling-serve`.

ماڈل کی مطابقت اور استعمال کے مواقع

Works standalone with local layout/OCR models and GraniteDocling-258M, and integrates natively with LangChain, LlamaIndex, CrewAI, Haystack, and MCP clients.

لائسنس اور خطرے سے متعلق نوٹس

Released under the MIT License under the LF AI & Data Foundation.

Editorial source review: README, repository metadata, release feed and LICENSE read; no install test.

ریلیز اور دیکھ بھال

Actively maintained with frequent releases (v2.154.0 published November 26, 2026).

milvus

milvus-io/milvus

★ 45.7KGo

LanceDB

lancedb/lancedb

★ 11.1KRust

llm-app

pathwaycom/llm-app

★ 58.9KJupyter Notebook

graphrag

microsoft/graphrag

★ 35.9KPython

onyx

onyx-dot-app/onyx

★ 32KPython

FastGPT

labring/FastGPT

★ 29.6KTypeScript