docling-project / docling-project/docling

Is it possible for convert() to return generators?

Open
#1,046 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Question
I have a pretty large PDF document that I'm trying to convert, and often run OOM. Clearly I can increase memory, but that's not as scalable. is it possible to return text, images and tables in the Document as generators so that processing can be done on-demand instead of saving everything in memory?

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.