Skip to content

Commit cde9031

Browse files
committed
Add group labels for form and key-value
Signed-off-by: Christoph Auer <[email protected]>
1 parent 3f631f0 commit cde9031

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docling_core/types/doc/labels.py

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class GroupLabel(str, Enum):
4646
SECTION = "section"
4747
SHEET = "sheet"
4848
SLIDE = "slide"
49+
FORM_AREA = "form_area"
50+
KEY_VALUE_AREA = "key_value_area"
4951

5052
def __str__(self):
5153
"""Get string value."""

docs/DoclingDocument.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@
264264
"chapter",
265265
"section",
266266
"sheet",
267-
"slide"
267+
"slide",
268+
"form_area",
269+
"key_value_area"
268270
],
269271
"title": "GroupLabel",
270272
"type": "string"

0 commit comments

Comments
 (0)