ó
    �®žj¦  ã                   óš   • S r SSKJr  SSKJrJr   " S S\5      r\" SSSS	9r\" S
SSS	9r\" SSSS	9r	\" SSSS	9r
\" SSSS	9r\" SSSS	9rg)aß  Deprecated layout model specs, kept alive only by `LayoutOptions`.

This whole module is removable once the deprecated `LayoutOptions` is dropped.
`LayoutModelConfig` is structurally `ObjectDetectionModelSpec` minus
`engine_overrides`, and every constant below has an equivalent preset
registered on `LayoutObjectDetectionOptions` (see `stage_model_specs.py`):

    DOCLING_LAYOUT_HERON        -> "layout_heron_default"
    DOCLING_LAYOUT_HERON_101    -> "layout_heron_101"
    DOCLING_LAYOUT_EGRET_MEDIUM -> "layout_egret_medium"
    DOCLING_LAYOUT_EGRET_LARGE  -> "layout_egret_large"
    DOCLING_LAYOUT_EGRET_XLARGE -> "layout_egret_xlarge"
    DOCLING_LAYOUT_V2           -> none; unsupported, falls back to Heron

They are retained purely so `LayoutOptions(model_spec=DOCLING_LAYOUT_*)` keeps
working. Deleting them is a public interface break, so it waits for the same
release that removes `LayoutOptions`; `_translate` in
`models/stages/layout/layout_model.py` goes at the same time.
é    )Ú	Annotated)Ú	BaseModelÚFieldc                   ó€   • \ rS rSr% Sr\\\" SSS/S94   \S'   \\\" SS	S
/S94   \S'   \\\" SSS/S94   \S'   Sr	g)ÚLayoutModelConfigé   z�Configuration for document layout analysis models from HuggingFace.

Deprecated together with `LayoutOptions`; use `ObjectDetectionModelSpec`.
zfHuman-readable name identifier for the layout model. Used for logging, debugging, and model selection.Údocling_layout_heronÚdocling_layout_egret_large)ÚdescriptionÚexamplesÚnamez�HuggingFace repository ID where the model is hosted. Used to download model weights and configuration files from HuggingFace Hub.ú$docling-project/docling-layout-heronú*docling-project/docling-layout-egret-largeÚrepo_idz‰Git revision (branch, tag, or commit hash) of the model repository to use. Allows pinning to specific model versions for reproducibility.Úmainzv1.0.0Úrevision© N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Ústrr   Ú__annotations__Ú__static_attributes__r   ó    Úa/home/mande/repo/quber/.venv/lib/python3.13/site-packages/docling/datamodel/layout_model_specs.pyr   r      s•   ‡ ñð
 ØÙð;ð -Ð.JÐKñ	
ð	ñ	ó 	ð ØÙð#ð
 7Ø<ðñ
	
ð	ñó ð ØÙð'ð ˜hÐ'ñ	
ð	ñ
ö 
r   r   Údocling_layout_v2z"docling-project/docling-layout-oldr   )r   r   r   r	   r   Údocling_layout_heron_101z(docling-project/docling-layout-heron-101Údocling_layout_egret_mediumz+docling-project/docling-layout-egret-mediumr
   r   Údocling_layout_egret_xlargez+docling-project/docling-layout-egret-xlargeN)r   Útypingr   Úpydanticr   r   r   ÚDOCLING_LAYOUT_V2ÚDOCLING_LAYOUT_HERONÚDOCLING_LAYOUT_HERON_101ÚDOCLING_LAYOUT_EGRET_MEDIUMÚDOCLING_LAYOUT_EGRET_LARGEÚDOCLING_LAYOUT_EGRET_XLARGEr   r   r   Ú<module>r*      s£   ðñõ( ç %ô(˜	ô (ñ^ &Ø	Ø0ØñÐ ñ )Ø	Ø2ØñÐ ñ -Ø	#Ø6ØñÐ ñ 0Ø	&Ø9ØñÐ ñ /Ø	%Ø8ØñÐ ñ 0Ø	&Ø9ØñÑ r   