Skip to content

Commit 2f0f121

Browse files
feat: adding the label picture_group (#283)
* feat: adding the label picture_group Signed-off-by: Peter Staar <[email protected]> * renamed group to area Signed-off-by: Peter Staar <[email protected]> * reformatted the code Signed-off-by: Peter Staar <[email protected]> * reformatted the docs Signed-off-by: Peter Staar <[email protected]> --------- Signed-off-by: Peter Staar <[email protected]>
1 parent 7eb9fa9 commit 2f0f121

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
@@ -78,6 +78,7 @@ class GroupLabel(str, Enum):
7878
KEY_VALUE_AREA = "key_value_area"
7979
COMMENT_SECTION = "comment_section"
8080
INLINE = "inline"
81+
PICTURE_AREA = "picture_area"
8182

8283
def __str__(self):
8384
"""Get string value."""

docs/DoclingDocument.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@
804804
"form_area",
805805
"key_value_area",
806806
"comment_section",
807-
"inline"
807+
"inline",
808+
"picture_area"
808809
],
809810
"title": "GroupLabel",
810811
"type": "string"

0 commit comments

Comments
 (0)