o
    {$f^                     @  s  d dl mZ ddlmZmZmZ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mZmZmZmZ ddlmZmZ dd	lmZmZmZmZmZmZ dd
lmZmZ ddl mZmZ ddgZ!G dd deZ"G dd deZ#G dd dZ$G dd dZ%G dd dZ&G dd dZ'dS )    )annotations   )ThreadsAsyncThreadsThreadsWithRawResponseAsyncThreadsWithRawResponseThreadsWithStreamingResponse!AsyncThreadsWithStreamingResponse   )cached_property)Chat	AsyncChat)
AssistantsAsyncAssistantsAssistantsWithRawResponseAsyncAssistantsWithRawResponseAssistantsWithStreamingResponse$AsyncAssistantsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)VectorStoresAsyncVectorStoresVectorStoresWithRawResponse AsyncVectorStoresWithRawResponse!VectorStoresWithStreamingResponse&AsyncVectorStoresWithStreamingResponse)r   r   )r   r   Beta	AsyncBetac                   @  `   e Zd ZedddZedddZedd	d
ZedddZedddZedddZ	dS )r   returnr   c                 C  
   t | jS N)r   _clientself r%   P/var/www/html/dev/env/lib/python3.10/site-packages/openai/resources/beta/beta.pychat'      
z	Beta.chatr   c                 C  r    r!   )r   r"   r#   r%   r%   r&   vector_stores+   r(   zBeta.vector_storesr   c                 C  r    r!   )r   r"   r#   r%   r%   r&   
assistants/   r(   zBeta.assistantsr   c                 C  r    r!   )r   r"   r#   r%   r%   r&   threads3   r(   zBeta.threadsBetaWithRawResponsec                 C     t | S r!   )r,   r#   r%   r%   r&   with_raw_response7      zBeta.with_raw_responseBetaWithStreamingResponsec                 C  r-   r!   )r0   r#   r%   r%   r&   with_streaming_response;   r/   zBeta.with_streaming_responseN)r   r   )r   r   )r   r   )r   r   )r   r,   )r   r0   
__name__
__module____qualname__r   r'   r)   r*   r+   r.   r1   r%   r%   r%   r&   r   &       c                   @  r   )r   r   r   c                 C  r    r!   )r   r"   r#   r%   r%   r&   r'   A   r(   zAsyncBeta.chatr   c                 C  r    r!   )r   r"   r#   r%   r%   r&   r)   E   r(   zAsyncBeta.vector_storesr   c                 C  r    r!   )r   r"   r#   r%   r%   r&   r*   I   r(   zAsyncBeta.assistantsr   c                 C  r    r!   )r   r"   r#   r%   r%   r&   r+   M   r(   zAsyncBeta.threadsAsyncBetaWithRawResponsec                 C  r-   r!   )r7   r#   r%   r%   r&   r.   Q   r/   zAsyncBeta.with_raw_responseAsyncBetaWithStreamingResponsec                 C  r-   r!   )r8   r#   r%   r%   r&   r1   U   r/   z!AsyncBeta.with_streaming_responseN)r   r   )r   r   )r   r   )r   r   )r   r7   )r   r8   r2   r%   r%   r%   r&   r   @   r6   c                   @  @   e Zd ZdddZeddd	ZedddZedddZdS )r,   betar   r   Nonec                 C  
   || _ d S r!   _betar$   r:   r%   r%   r&   __init__[      
zBetaWithRawResponse.__init__r   c                 C     t | jjS r!   )r   r>   r)   r#   r%   r%   r&   r)   ^      z!BetaWithRawResponse.vector_storesr   c                 C  rB   r!   )r   r>   r*   r#   r%   r%   r&   r*   b   rC   zBetaWithRawResponse.assistantsr   c                 C  rB   r!   )r   r>   r+   r#   r%   r%   r&   r+   f   rC   zBetaWithRawResponse.threadsNr:   r   r   r;   )r   r   )r   r   )r   r   r3   r4   r5   r@   r   r)   r*   r+   r%   r%   r%   r&   r,   Z       
r,   c                   @  r9   )r7   r:   r   r   r;   c                 C  r<   r!   r=   r?   r%   r%   r&   r@   l   rA   z!AsyncBetaWithRawResponse.__init__r   c                 C  rB   r!   )r   r>   r)   r#   r%   r%   r&   r)   o   rC   z&AsyncBetaWithRawResponse.vector_storesr   c                 C  rB   r!   )r   r>   r*   r#   r%   r%   r&   r*   s   rC   z#AsyncBetaWithRawResponse.assistantsr   c                 C  rB   r!   )r   r>   r+   r#   r%   r%   r&   r+   w   rC   z AsyncBetaWithRawResponse.threadsNr:   r   r   r;   )r   r   )r   r   )r   r   rE   r%   r%   r%   r&   r7   k   rF   r7   c                   @  r9   )r0   r:   r   r   r;   c                 C  r<   r!   r=   r?   r%   r%   r&   r@   }   rA   z"BetaWithStreamingResponse.__init__r   c                 C  rB   r!   )r   r>   r)   r#   r%   r%   r&   r)      rC   z'BetaWithStreamingResponse.vector_storesr   c                 C  rB   r!   )r   r>   r*   r#   r%   r%   r&   r*      rC   z$BetaWithStreamingResponse.assistantsr   c                 C  rB   r!   )r   r>   r+   r#   r%   r%   r&   r+      rC   z!BetaWithStreamingResponse.threadsNrD   )r   r   )r   r   )r   r   rE   r%   r%   r%   r&   r0   |   rF   r0   c                   @  r9   )r8   r:   r   r   r;   c                 C  r<   r!   r=   r?   r%   r%   r&   r@      rA   z'AsyncBetaWithStreamingResponse.__init__r   c                 C  rB   r!   )r   r>   r)   r#   r%   r%   r&   r)      rC   z,AsyncBetaWithStreamingResponse.vector_storesr   c                 C  rB   r!   )r   r>   r*   r#   r%   r%   r&   r*      rC   z)AsyncBetaWithStreamingResponse.assistantsr	   c                 C  rB   r!   )r	   r>   r+   r#   r%   r%   r&   r+      rC   z&AsyncBetaWithStreamingResponse.threadsNrG   )r   r   )r   r   )r   r	   rE   r%   r%   r%   r&   r8      rF   r8   N)(
__future__r   r+   r   r   r   r   r   r	   _compatr   	chat.chatr   r   r*   r   r   r   r   r   r   	_resourcer   r   r)   r   r   r   r   r   r   threads.threadsvector_stores.vector_stores__all__r   r   r,   r7   r0   r8   r%   r%   r%   r&   <module>   s       