o
    i                     @  s   d Z ddlmZ ddlmZmZ ddlmZmZ ddl	m
Z
mZ ddlmZmZ ddlmZmZmZmZmZ dd	lmZ dd
lmZmZmZ ddlmZmZmZ edeeeef Z	 edeee
ef Z 	 G dd deZ!G dd deZ"dS )zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations   )DocumentURLChunkDocumentURLChunkTypedDict)	FileChunkFileChunkTypedDict)ImageURLChunkImageURLChunkTypedDict)ResponseFormatResponseFormatTypedDict)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)ListOptionalUnion)NotRequiredTypeAliasType	TypedDictDocumentTypedDictDocumentc                   @  sb   e Zd ZU ded< ded< 	 ded< ded< 	 d	ed
< 	 ded< 	 ded< 	 ded< 	 ded< dS )OCRRequestTypedDictNullable[str]modelr   documentzNotRequired[str]idz NotRequired[Nullable[List[int]]]pageszNotRequired[Nullable[bool]]include_image_base64zNotRequired[Nullable[int]]image_limitimage_min_sizez.NotRequired[Nullable[ResponseFormatTypedDict]]bbox_annotation_formatdocument_annotation_formatN)__name__
__module____qualname____annotations__ r)   r)   g/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/mistralai_azure/models/ocrrequest.pyr      s"   
 r   c                   @  s   e Zd ZU ded< ded< 	 dZded< eZded	< 	 eZd
ed< 	 eZded< 	 eZ	ded< 	 eZ
ded< 	 eZded< 	 edddd ZdS )
OCRRequestr   r   r   r   NzOptional[str]r   zOptionalNullable[List[int]]r   zOptionalNullable[bool]r    zOptionalNullable[int]r!   r"   z OptionalNullable[ResponseFormat]r#   r$   wrap)modec                 C  s   g d}g d}g }|| }i }t | j D ]D\}}|jp|}	||	}
||	d  |	|v o2|	|v }| j|hp=|	|v }|
d urK|
tkrK|
||	< q|
tkr[|	|vsW|r[|r[|
||	< q|S )N)r   r   r    r!   r"   r#   r$   )r   r   r    r!   r"   r#   r$   )	typemodel_fieldsitemsaliasgetpop__pydantic_fields_set__intersectionr   )selfhandleroptional_fieldsnullable_fieldsnull_default_fields
serializedmnfkvaloptional_nullableis_setr)   r)   r*   serialize_modelL   s(   		


zOCRRequest.serialize_model)r%   r&   r'   r(   r   r   r   r    r!   r"   r#   r$   r   rC   r)   r)   r)   r*   r+   2   s&   
 r+   N)#__doc__
__future__r   documenturlchunkr   r   	filechunkr   r   imageurlchunkr   r	   responseformatr
   r   mistralai_azure.typesr   r   r   r   r   pydanticr   typingr   r   r   typing_extensionsr   r   r   r   r   r   r+   r)   r)   r)   r*   <module>   s&    