
    ~ie                       d dl mZ d dlmZ d dlmZ d dlZddlmZm	Z	m
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 ddlmZmZ ddlmZ ddlmZmZ ddgZ G d de          Z G d de          Z G d d          Z G d d          Z dS )    )annotations)List)LiteralN   )BodyQueryHeaders)cached_property)SyncAPIResourceAsyncAPIResource)to_raw_response_wrapperasync_to_raw_response_wrapper)make_request_options)with_sts_tokenasync_with_sts_token)EmbeddingInputParam)MultimodalEmbeddingResponseSparseEmbeddingInputMultimodalEmbeddingsAsyncMultimodalEmbeddingsc            	      P    e Zd Zedd            Zedddddddddd            ZdS )r   return#MultimodalEmbeddingsWithRawResponsec                     t          |           S N)r   selfs    /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkarkruntime/resources/multimodal_embeddings.pywith_raw_responsez&MultimodalEmbeddings.with_raw_response$   s    24888    floatNencoding_format
dimensionssparse_embeddingextra_headersextra_query
extra_bodytimeoutinputList[EmbeddingInputParam]modelstrr#   Literal['float', 'base64']r$   
int | Noner%   SparseEmbeddingInput | Noner&   Headers | Noner'   Query | Noner(   Body | Noner)   float | httpx.Timeout | Noner   c       	   
     l    |                      d|||||dt          ||||	          t                    S Nz/embeddings/multimodal)r*   r,   r#   r$   r%   )r&   r'   r(   r)   )bodyoptionscast_to_postr   r   
r   r*   r,   r#   r$   r%   r&   r'   r(   r)   s
             r   createzMultimodalEmbeddings.create(   s`      zz$#2($4  )+'%	   0  
 
 	
r    )r   r   r*   r+   r,   r-   r#   r.   r$   r/   r%   r0   r&   r1   r'   r2   r(   r3   r)   r4   r   r   )__name__
__module____qualname__r
   r   r   r=    r    r   r   r   #   su        9 9 9 _9  7>!%8< )-$("&04
 
 
 
 
 ^
 
 
r    c            	      P    e Zd Zedd            Zedddddddddd            ZdS )r   r   (AsyncMultimodalEmbeddingsWithRawResponsec                     t          |           S r   )rD   r   s    r   r   z+AsyncMultimodalEmbeddings.with_raw_responseL   s    7===r    r!   Nr"   r*   r+   r,   r-   r#   r.   r$   r/   r%   r0   r&   r1   r'   r2   r(   r3   r)   r4   r   c       	   
     |   K   |                      d|||||dt          ||||	          t                     d {V S r6   r:   r<   s
             r   r=   z AsyncMultimodalEmbeddings.createP   s        ZZ$#2($4  )+'%	   0   
 
 
 
 
 
 
 
 	
r    )r   rD   r>   )r?   r@   rA   r
   r   r   r=   rB   r    r   r   r   K   sv        > > > _>  7>!%8< )-$("&04
 
 
 
 
 
 
 
r    c                      e Zd ZddZdS )r   
embeddingsr   r   Nonec                F    || _         t          |j                  | _        d S r   )_embeddingsr   r=   r   rH   s     r   __init__z,MultimodalEmbeddingsWithRawResponse.__init__t   s%    %-
 
r    N)rH   r   r   rI   r?   r@   rA   rM   rB   r    r   r   r   s   (        
 
 
 
 
 
r    r   c                      e Zd ZddZdS )rD   rH   r   r   rI   c                F    || _         t          |j                  | _        d S r   )rK   r   r=   rL   s     r   rM   z1AsyncMultimodalEmbeddingsWithRawResponse.__init__}   s%    %3
 
r    N)rH   r   r   rI   rN   rB   r    r   rD   rD   |   rO   r    rD   )!
__future__r   typingr   typing_extensionsr   httpx_typesr   r   r	   _compatr
   	_resourcer   r   	_responser   r   _base_clientr   _utils._utilsr   r   types.multimodal_embeddingr   r   r   __all__r   r   r   rD   rB   r    r   <module>r^      s   # " " " " "       % % % % % %  ) ) ) ) ) ) ) ) ) ) % % % % % % 9 9 9 9 9 9 9 9 N N N N N N N N      A @ @ @ @ @ @ @ < < < < < <       
 "#>
?%
 %
 %
 %
 %
? %
 %
 %
P%
 %
 %
 %
 %
 0 %
 %
 %
P
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
r    