Repository navigation
feat: add DocLang backend - #3573
Merged
Merged
Conversation
Signed-off-by: Peter Staar <[email protected]>
Contributor
|
✅ DCO Check Passed Thanks @PeterStaar-IBM, all your commits are properly signed off. 🎉 |
Contributor
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
Signed-off-by: Peter Staar <[email protected]>
PeterStaar-IBM
marked this pull request as ready for review
June 9, 2026 14:13
Signed-off-by: Peter Staar <[email protected]>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Signed-off-by: Peter Staar <[email protected]>
Member
|
We can document that we support |
…lang into cli Signed-off-by: Peter Staar <[email protected]>
|
Documentation Updates 1 document(s) were updated by changes in this PR: What are the detailed pipeline options and processing behaviors for PDF, DOCX, PPTX, and XLSX files in the Python SDK?View Changes@@ -1,7 +1,7 @@
### PDF
- **Pipeline/Backend**: `StandardPdfPipeline` + `DoclingParseDocumentBackend` (default: `docling_parse`)
- **Key Options**:
- - `from_formats`: Supported input formats include `docx`, `pptx`, `html`, `image`, `pdf`, `asciidoc`, `md` (including `txt`, `text`, `qmd`, `rmd`), `csv`, `xlsx`, `xml_uspto`, `xml_jats`, `xml_xbrl`, `mets_gbs`, `json_docling`, `audio`, `vtt`, `latex`
+ - `from_formats`: Supported input formats include `docx`, `pptx`, `html`, `image`, `pdf`, `asciidoc`, `md` (including `txt`, `text`, `qmd`, `rmd`), `csv`, `xlsx`, `xml_uspto`, `xml_jats`, `xml_xbrl`, `xml_doclang`, `mets_gbs`, `json_docling`, `audio`, `vtt`, `latex`
- `to_formats`: Supported output formats include `md`, `json`, `yaml`, `html`, `html_split_page`, `text`, `doctags`, `vtt`
- `pdf_backend`: Allowed values: `pypdfium2`, `docling_parse`, `threaded_docling_parse`, `dlparse_v1`, `dlparse_v2`, `dlparse_v4` (default: `docling_parse`)
- `threaded_docling_parse`: Threaded Docling Parse backend optimized for concurrent page parsing in the standard PDF pipeline |
haladamateusz
pushed a commit
to haladamateusz/docling
that referenced
this pull request
Jun 12, 2026
* upgraded to latest docling-core Signed-off-by: Peter Staar <[email protected]> * implemented new backend for doclang Signed-off-by: Peter Staar <[email protected]> * updated the README and index file Signed-off-by: Peter Staar <[email protected]> * updated README, index and supported_formats. Also added export to doclang into cli Signed-off-by: Peter Staar <[email protected]> --------- Signed-off-by: Peter Staar <[email protected]>
This was referenced Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds DocLang support to Docling.
It introduces a new XML backend for DocLang files, backed by the DocLang deserializer provided by
docling-core.Docling now detects
.dclgand.dclg.xmlinputs, exposesInputFormat.XML_DOCLANG, and supports conversion fromDocLang XML into
DoclingDocument.The PR also adds DocLang as an output format via
OutputFormat.DOCLANG, including CLI support through: