typings /pydantic models for docling documents #1588
-
Are typings/pydantic models available for docling document annotations https://github.com/docling-project/docling/blob/12dab0a1e8d181d99e4711ffdbbc33d158234fb4/docling/datamodel/document.py seems to not consider the annotations. For example https://github.com/DS4SD/MolGrapher would provide plugin additons the result looks like (see below). So far I could not find any typings for the annotations. And also not for DocumentPictureClassifier. Further not for Molgrapher (but that is not expected as it is an addon).
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here it is: https://github.com/docling-project/docling-core/blob/main/docling_core/types/doc/document.py#L87-L281 |
Beta Was this translation helpful? Give feedback.
Here it is: https://github.com/docling-project/docling-core/blob/main/docling_core/types/doc/document.py#L87-L281