From 5101dd8845dcfc098c7009556e7468478393ea5e Mon Sep 17 00:00:00 2001 From: "Peter W. J. Staar" <91719829+PeterStaar-IBM@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:23:18 +0100 Subject: [PATCH] feat: added the new label comment_section in the groups (#114) * added the new label comment_section in the groups Signed-off-by: Peter Staar * reformatted the code Signed-off-by: Peter Staar --------- Signed-off-by: Peter Staar --- docling_core/types/doc/labels.py | 1 + docs/DoclingDocument.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docling_core/types/doc/labels.py b/docling_core/types/doc/labels.py index 60179c47..5149df0b 100644 --- a/docling_core/types/doc/labels.py +++ b/docling_core/types/doc/labels.py @@ -48,6 +48,7 @@ class GroupLabel(str, Enum): SLIDE = "slide" FORM_AREA = "form_area" KEY_VALUE_AREA = "key_value_area" + COMMENT_SECTION = "comment_section" def __str__(self): """Get string value.""" diff --git a/docs/DoclingDocument.json b/docs/DoclingDocument.json index 650392fa..5d1e862e 100644 --- a/docs/DoclingDocument.json +++ b/docs/DoclingDocument.json @@ -266,7 +266,8 @@ "sheet", "slide", "form_area", - "key_value_area" + "key_value_area", + "comment_section" ], "title": "GroupLabel", "type": "string"