a
    _ŠÝgÂ  ã                   @  s  d dl 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mZmZmZmZ dd
lm Z m!Z!m"Z"m#Z#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é   )Úcached_propertyé   )ÚChatÚ	AsyncChat)Ú
AssistantsÚAsyncAssistantsÚAssistantsWithRawResponseÚAsyncAssistantsWithRawResponseÚAssistantsWithStreamingResponseÚ$AsyncAssistantsWithStreamingResponse)ÚSyncAPIResourceÚAsyncAPIResource)ÚThreadsÚAsyncThreadsÚThreadsWithRawResponseÚAsyncThreadsWithRawResponseÚThreadsWithStreamingResponseÚ!AsyncThreadsWithStreamingResponse)ÚRealtimeÚAsyncRealtimeÚRealtimeWithRawResponseÚAsyncRealtimeWithRawResponseÚRealtimeWithStreamingResponseÚ"AsyncRealtimeWithStreamingResponse)ÚVectorStoresÚAsyncVectorStoresÚVectorStoresWithRawResponseÚ AsyncVectorStoresWithRawResponseÚ!VectorStoresWithStreamingResponseÚ&AsyncVectorStoresWithStreamingResponseÚBetaÚ	AsyncBetac                   @  sŠ   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	eddœdd„ƒZ
dS )r"   r   ©Úreturnc                 C  s
   t | jƒS ©N)r   Ú_client©Úself© r*   úh/var/www/html/cobodadashboardai.evdpl.com/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+   Úrealtime1   s    zBeta.realtimer   c                 C  s
   t | jƒS r&   )r   r'   r(   r*   r*   r+   Úvector_stores5   s    zBeta.vector_storesr   c                 C  s
   t | jƒS r&   )r   r'   r(   r*   r*   r+   Ú
assistants9   s    zBeta.assistantsr   c                 C  s
   t | jƒS r&   )r   r'   r(   r*   r*   r+   Úthreads=   s    zBeta.threadsÚBetaWithRawResponsec                 C  s   t | ƒS ©a  
        This property can be used as a prefix for any HTTP method call to return
        the raw response object instead of the parsed content.

        For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
        )r1   r(   r*   r*   r+   Úwith_raw_responseA   s    zBeta.with_raw_responseÚBetaWithStreamingResponsec                 C  s   t | ƒS ©zÌ
        An alternative to `.with_raw_response` that doesn't eagerly read the response body.

        For more information, see https://www.github.com/openai/openai-python#with_streaming_response
        )r4   r(   r*   r*   r+   Úwith_streaming_responseK   s    zBeta.with_streaming_responseN©Ú__name__Ú
__module__Ú__qualname__r   r,   r-   r.   r/   r0   r3   r6   r*   r*   r*   r+   r"   ,   s   	c                   @  sŠ   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	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,   V   s    zAsyncBeta.chatr   c                 C  s
   t | jƒS r&   )r   r'   r(   r*   r*   r+   r-   Z   s    zAsyncBeta.realtimer   c                 C  s
   t | jƒS r&   )r   r'   r(   r*   r*   r+   r.   ^   s    zAsyncBeta.vector_storesr	   c                 C  s
   t | jƒS r&   )r	   r'   r(   r*   r*   r+   r/   b   s    zAsyncBeta.assistantsr   c                 C  s
   t | jƒS r&   )r   r'   r(   r*   r*   r+   r0   f   s    zAsyncBeta.threadsÚAsyncBetaWithRawResponsec                 C  s   t | ƒS r2   )r;   r(   r*   r*   r+   r3   j   s    zAsyncBeta.with_raw_responseÚAsyncBetaWithStreamingResponsec                 C  s   t | ƒS r5   )r<   r(   r*   r*   r+   r6   t   s    z!AsyncBeta.with_streaming_responseNr7   r*   r*   r*   r+   r#   U   s   	c                   @  sd   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eddœdd„ƒZdS )r1   r"   ÚNone©Úbetar%   c                 C  s
   || _ d S r&   ©Ú_beta©r)   r?   r*   r*   r+   Ú__init__   s    zBetaWithRawResponse.__init__r   r$   c                 C  s   t | jjƒS r&   )r   rA   r-   r(   r*   r*   r+   r-   ‚   s    zBetaWithRawResponse.realtimer   c                 C  s   t | jjƒS r&   )r   rA   r.   r(   r*   r*   r+   r.   †   s    z!BetaWithRawResponse.vector_storesr
   c                 C  s   t | jjƒS r&   )r
   rA   r/   r(   r*   r*   r+   r/   Š   s    zBetaWithRawResponse.assistantsr   c                 C  s   t | jjƒS r&   )r   rA   r0   r(   r*   r*   r+   r0   Ž   s    zBetaWithRawResponse.threadsN©	r8   r9   r:   rC   r   r-   r.   r/   r0   r*   r*   r*   r+   r1   ~   s   r1   c                   @  sd   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eddœdd„ƒZdS )r;   r#   r=   r>   c                 C  s
   || _ d S r&   r@   rB   r*   r*   r+   rC   ”   s    z!AsyncBetaWithRawResponse.__init__r   r$   c                 C  s   t | jjƒS r&   )r   rA   r-   r(   r*   r*   r+   r-   —   s    z!AsyncBetaWithRawResponse.realtimer   c                 C  s   t | jjƒS r&   )r   rA   r.   r(   r*   r*   r+   r.   ›   s    z&AsyncBetaWithRawResponse.vector_storesr   c                 C  s   t | jjƒS r&   )r   rA   r/   r(   r*   r*   r+   r/   Ÿ   s    z#AsyncBetaWithRawResponse.assistantsr   c                 C  s   t | jjƒS r&   )r   rA   r0   r(   r*   r*   r+   r0   £   s    z AsyncBetaWithRawResponse.threadsNrD   r*   r*   r*   r+   r;   “   s   r;   c                   @  sd   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eddœdd„ƒZdS )r4   r"   r=   r>   c                 C  s
   || _ d S r&   r@   rB   r*   r*   r+   rC   ©   s    z"BetaWithStreamingResponse.__init__r   r$   c                 C  s   t | jjƒS r&   )r   rA   r-   r(   r*   r*   r+   r-   ¬   s    z"BetaWithStreamingResponse.realtimer    c                 C  s   t | jjƒS r&   )r    rA   r.   r(   r*   r*   r+   r.   °   s    z'BetaWithStreamingResponse.vector_storesr   c                 C  s   t | jjƒS r&   )r   rA   r/   r(   r*   r*   r+   r/   ´   s    z$BetaWithStreamingResponse.assistantsr   c                 C  s   t | jjƒS r&   )r   rA   r0   r(   r*   r*   r+   r0   ¸   s    z!BetaWithStreamingResponse.threadsNrD   r*   r*   r*   r+   r4   ¨   s   r4   c                   @  sd   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eddœdd„ƒZdS )r<   r#   r=   r>   c                 C  s
   || _ d S r&   r@   rB   r*   r*   r+   rC   ¾   s    z'AsyncBetaWithStreamingResponse.__init__r   r$   c                 C  s   t | jjƒS r&   )r   rA   r-   r(   r*   r*   r+   r-   Á   s    z'AsyncBetaWithStreamingResponse.realtimer!   c                 C  s   t | jjƒS r&   )r!   rA   r.   r(   r*   r*   r+   r.   Å   s    z,AsyncBetaWithStreamingResponse.vector_storesr   c                 C  s   t | jjƒS r&   )r   rA   r/   r(   r*   r*   r+   r/   É   s    z)AsyncBetaWithStreamingResponse.assistantsr   c                 C  s   t | jjƒS r&   )r   rA   r0   r(   r*   r*   r+   r0   Í   s    z&AsyncBetaWithStreamingResponse.threadsNrD   r*   r*   r*   r+   r<   ½   s   r<   N)-Ú
__future__r   Z_compatr   Z	chat.chatr   r   r/   r   r	   r
   r   r   r   Z	_resourcer   r   Zthreads.threadsr   r   r   r   r   r   Zrealtime.realtimer   r   r   r   r   r   Zvector_stores.vector_storesr   r   r   r   r    r!   Ú__all__r"   r#   r1   r;   r4   r<   r*   r*   r*   r+   Ú<module>   s       	))