Skip to content

Commit 5101dd8

Browse files
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 <[email protected]> * reformatted the code Signed-off-by: Peter Staar <[email protected]> --------- Signed-off-by: Peter Staar <[email protected]>
1 parent d147c25 commit 5101dd8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docling_core/types/doc/labels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class GroupLabel(str, Enum):
4848
SLIDE = "slide"
4949
FORM_AREA = "form_area"
5050
KEY_VALUE_AREA = "key_value_area"
51+
COMMENT_SECTION = "comment_section"
5152

5253
def __str__(self):
5354
"""Get string value."""

docs/DoclingDocument.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@
266266
"sheet",
267267
"slide",
268268
"form_area",
269-
"key_value_area"
269+
"key_value_area",
270+
"comment_section"
270271
],
271272
"title": "GroupLabel",
272273
"type": "string"

0 commit comments

Comments
 (0)