Skip to content

Commit

Permalink
feat: added the new label comment_section in the groups (#114)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
PeterStaar-IBM authored Dec 17, 2024
1 parent d147c25 commit 5101dd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docling_core/types/doc/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down
3 changes: 2 additions & 1 deletion docs/DoclingDocument.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@
"sheet",
"slide",
"form_area",
"key_value_area"
"key_value_area",
"comment_section"
],
"title": "GroupLabel",
"type": "string"
Expand Down

0 comments on commit 5101dd8

Please sign in to comment.