feat: added support for exporting DocItem to an image when page image is available (#379)

* Updated minimum docling-core version to 2.4.0

Signed-off-by: Shubham Gupta <26436285+sh-gupta@users.noreply.github.com>

* Deprecated the generate_table_images option

Signed-off-by: Shubham Gupta <26436285+sh-gupta@users.noreply.github.com>

* Updated examples to use get_image instead of element.image

Signed-off-by: Shubham Gupta <26436285+sh-gupta@users.noreply.github.com>

---------

Signed-off-by: Shubham Gupta <26436285+sh-gupta@users.noreply.github.com>
This commit is contained in:
Shubham Gupta
2024-11-19 16:28:52 +01:00
committed by GitHub
parent 911c3bda27
commit 3f91e7d3f1
5 changed files with 31 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ packages = [{include = "docling"}]
######################
python = "^3.10"
pydantic = "^2.0.0"
docling-core = "^2.3.0"
docling-core = "^2.4.0"
docling-ibm-models = "^2.0.3"
deepsearch-glm = "^0.26.1"
filetype = "^1.2.0"