a
    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                   @  sx   e Zd ZeddddZeddddZeddd	d
ZeddddZeddddZeddddZ	dS )r   r   returnc                 C  s
   t | jS N)r   _clientself r$   S/var/www/ai-form-bot/venv/lib/python3.9/site-packages/openai/resources/beta/beta.pychat'   s    z	Beta.chatr   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   vector_stores+   s    zBeta.vector_storesr   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   
assistants/   s    zBeta.assistantsr   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   threads3   s    zBeta.threadsBetaWithRawResponsec                 C  s   t | S r    )r*   r"   r$   r$   r%   with_raw_response7   s    zBeta.with_raw_responseBetaWithStreamingResponsec                 C  s   t | S r    )r,   r"   r$   r$   r%   with_streaming_response;   s    zBeta.with_streaming_responseN
__name__
__module____qualname__r   r&   r'   r(   r)   r+   r-   r$   r$   r$   r%   r   &   s   c                   @  sx   e Zd ZeddddZeddddZeddd	d
ZeddddZeddddZeddddZ	dS )r   r   r   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   r&   A   s    zAsyncBeta.chatr   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   r'   E   s    zAsyncBeta.vector_storesr   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   r(   I   s    zAsyncBeta.assistantsr   c                 C  s
   t | jS r    )r   r!   r"   r$   r$   r%   r)   M   s    zAsyncBeta.threadsAsyncBetaWithRawResponsec                 C  s   t | S r    )r2   r"   r$   r$   r%   r+   Q   s    zAsyncBeta.with_raw_responseAsyncBetaWithStreamingResponsec                 C  s   t | S r    )r3   r"   r$   r$   r%   r-   U   s    z!AsyncBeta.with_streaming_responseNr.   r$   r$   r$   r%   r   @   s   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r*   r   Nonebetar   c                 C  s
   || _ d S r    _betar#   r6   r$   r$   r%   __init__[   s    zBetaWithRawResponse.__init__r   r   c                 C  s   t | jjS r    )r   r8   r'   r"   r$   r$   r%   r'   ^   s    z!BetaWithRawResponse.vector_storesr   c                 C  s   t | jjS r    )r   r8   r(   r"   r$   r$   r%   r(   b   s    zBetaWithRawResponse.assistantsr   c                 C  s   t | jjS r    )r   r8   r)   r"   r$   r$   r%   r)   f   s    zBetaWithRawResponse.threadsNr/   r0   r1   r:   r   r'   r(   r)   r$   r$   r$   r%   r*   Z   s   r*   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r2   r   r4   r5   c                 C  s
   || _ d S r    r7   r9   r$   r$   r%   r:   l   s    z!AsyncBetaWithRawResponse.__init__r   r   c                 C  s   t | jjS r    )r   r8   r'   r"   r$   r$   r%   r'   o   s    z&AsyncBetaWithRawResponse.vector_storesr   c                 C  s   t | jjS r    )r   r8   r(   r"   r$   r$   r%   r(   s   s    z#AsyncBetaWithRawResponse.assistantsr   c                 C  s   t | jjS r    )r   r8   r)   r"   r$   r$   r%   r)   w   s    z AsyncBetaWithRawResponse.threadsNr;   r$   r$   r$   r%   r2   k   s   r2   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r,   r   r4   r5   c                 C  s
   || _ d S r    r7   r9   r$   r$   r%   r:   }   s    z"BetaWithStreamingResponse.__init__r   r   c                 C  s   t | jjS r    )r   r8   r'   r"   r$   r$   r%   r'      s    z'BetaWithStreamingResponse.vector_storesr   c                 C  s   t | jjS r    )r   r8   r(   r"   r$   r$   r%   r(      s    z$BetaWithStreamingResponse.assistantsr   c                 C  s   t | jjS r    )r   r8   r)   r"   r$   r$   r%   r)      s    z!BetaWithStreamingResponse.threadsNr;   r$   r$   r$   r%   r,   |   s   r,   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r3   r   r4   r5   c                 C  s
   || _ d S r    r7   r9   r$   r$   r%   r:      s    z'AsyncBetaWithStreamingResponse.__init__r   r   c                 C  s   t | jjS r    )r   r8   r'   r"   r$   r$   r%   r'      s    z,AsyncBetaWithStreamingResponse.vector_storesr   c                 C  s   t | jjS r    )r   r8   r(   r"   r$   r$   r%   r(      s    z)AsyncBetaWithStreamingResponse.assistantsr	   c                 C  s   t | jjS r    )r	   r8   r)   r"   r$   r$   r%   r)      s    z&AsyncBetaWithStreamingResponse.threadsNr;   r$   r$   r$   r%   r3      s   r3   N)(
__future__r   r)   r   r   r   r   r   r	   _compatr   Z	chat.chatr   r   r(   r   r   r   r   r   r   Z	_resourcer   r   r'   r   r   r   r   r   r   Zthreads.threadsZvector_stores.vector_stores__all__r   r   r*   r2   r,   r3   r$   r$   r$   r%   <module>   s      