docling-project / docling-project/docling-core

add a merge function for DoclingDocuments

Open
#199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
282
Forks
214
Avg merge
2d 15h
Merged PRs (30d)
21

Description

When parsing multiple pages separately, I would like to merge them all into one document.
A generalization of this idea is to be able to merge arbitrary sets of Docling documents.

Could either be as helper:
```
helper.merge_docs([doc1: DoclingDoc, doc2:DoclingDoc,...]) -> DoclingDoc
```

or as method returning success as bool:
```
doc1.merge_into_doc([doc2,...]) -> bool
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.