Ë
    uPêjÌ  ã                   ó>   — d Z ddlmZmZ erddlmZ deded   fd„Zy)	z˜
Common utilities for Vertex AI OCR providers.

This module provides routing logic to determine which OCR configuration to use
based on the model name.
é    )ÚTYPE_CHECKINGÚOptional)ÚBaseOCRConfigÚmodelÚreturnr   c                 ó>   — ddl m} ddlm} d| v r |«       S  |«       S )a2  
    Determine which Vertex AI OCR configuration to use based on the model name.

    Vertex AI supports multiple OCR services:
    - Vertex AI OCR: vertex_ai/<model>

    Args:
        model: The model name (e.g., "vertex_ai/ocr/<model>")

    Returns:
        OCR configuration instance for the specified model

    Examples:
        >>> get_vertex_ai_ocr_config("vertex_ai/deepseek-ai/deepseek-ocr-maas")
        <VertexAIDeepSeekOCRConfig object>

        >>> get_vertex_ai_ocr_config("vertex_ai/ocr/mistral-ocr-maas")
        <VertexAIOCRConfig object>
    r   )ÚVertexAIDeepSeekOCRConfig)ÚVertexAIOCRConfigÚdeepseek)Ú2litellm.llms.vertex_ai.ocr.deepseek_transformationr	   Ú)litellm.llms.vertex_ai.ocr.transformationr
   )r   r	   r
   s      úl/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/litellm/llms/vertex_ai/ocr/common_utils.pyÚget_vertex_ai_ocr_configr      s'   € õ(õ Là�UÑÙ(Ó*Ð*ÙÓÐó    N)Ú__doc__Útypingr   r   Ú(litellm.llms.base_llm.ocr.transformationr   Ústrr   © r   r   ú<module>r      s-   ðñ÷ +áÝFð Cð ¨H°_Ñ,Eô r   