HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/openai/resources/beta/__pycache__/beta.cpython-310.pyc
o

���g��@sddlmZddlmZddlmZmZddlmZm	Z	m
Z
mZmZm
Z
ddlmZmZddlmZmZmZmZmZmZdd	lmZmZmZmZmZmZdd
lm Z m!Z!m"Z"m#Z#m$Z$m%Z%ddgZ&Gd
d�de�Z'Gdd�de�Z(Gdd�d�Z)Gdd�d�Z*Gdd�d�Z+Gdd�d�Z,dS)�)�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@�neZdZeddd��Zeddd��Zedd	d
��Zeddd
��Zeddd��Zeddd��Z	eddd��Z
dS)r"�returnrcC�
t|j�S�N)r�_client��self�r+�E/usr/local/lib/python3.10/dist-packages/openai/resources/beta/beta.py�chat-�
z	Beta.chatrcCr&r')rr(r)r+r+r,�realtime1r.z
Beta.realtimercCr&r')rr(r)r+r+r,�
vector_stores5r.zBeta.vector_storesrcCr&r')rr(r)r+r+r,�
assistants9r.zBeta.assistantsrcCr&r')rr(r)r+r+r,�threads=r.zBeta.threads�BetaWithRawResponsecC�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
        )r3r)r+r+r,�with_raw_responseA�zBeta.with_raw_response�BetaWithStreamingResponsecCr4�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
        )r8r)r+r+r,�with_streaming_responseK�zBeta.with_streaming_responseN)r%r)r%r)r%r)r%r)r%r)r%r3)r%r8��__name__�
__module__�__qualname__rr-r/r0r1r2r6r:r+r+r+r,r",�	c@r$)r#r%rcCr&r')rr(r)r+r+r,r-Vr.zAsyncBeta.chatrcCr&r')rr(r)r+r+r,r/Zr.zAsyncBeta.realtimercCr&r')rr(r)r+r+r,r0^r.zAsyncBeta.vector_storesr	cCr&r')r	r(r)r+r+r,r1br.zAsyncBeta.assistantsrcCr&r')rr(r)r+r+r,r2fr.zAsyncBeta.threads�AsyncBetaWithRawResponsecCr4r5)rAr)r+r+r,r6jr7zAsyncBeta.with_raw_response�AsyncBetaWithStreamingResponsecCr4r9)rBr)r+r+r,r:tr;z!AsyncBeta.with_streaming_responseN)r%r)r%r)r%r)r%r	)r%r)r%rA)r%rBr<r+r+r+r,r#Ur@c@�NeZdZddd�Zeddd	��Zeddd��Zeddd��Zeddd��ZdS)r3�betar"r%�NonecC�
||_dSr'��_beta�r*rDr+r+r,�__init__�
zBetaWithRawResponse.__init__rcC�t|jj�Sr')rrHr/r)r+r+r,r/��zBetaWithRawResponse.realtimercCrLr')rrHr0r)r+r+r,r0�rMz!BetaWithRawResponse.vector_storesr
cCrLr')r
rHr1r)r+r+r,r1�rMzBetaWithRawResponse.assistantsrcCrLr')rrHr2r)r+r+r,r2�rMzBetaWithRawResponse.threadsN�rDr"r%rE)r%r)r%r)r%r
)r%r�	r=r>r?rJrr/r0r1r2r+r+r+r,r3~�
r3c@rC)rArDr#r%rEcCrFr'rGrIr+r+r,rJ�rKz!AsyncBetaWithRawResponse.__init__rcCrLr')rrHr/r)r+r+r,r/�rMz!AsyncBetaWithRawResponse.realtimercCrLr')rrHr0r)r+r+r,r0�rMz&AsyncBetaWithRawResponse.vector_storesrcCrLr')rrHr1r)r+r+r,r1�rMz#AsyncBetaWithRawResponse.assistantsrcCrLr')rrHr2r)r+r+r,r2�rMz AsyncBetaWithRawResponse.threadsN�rDr#r%rE)r%r)r%r)r%r)r%rrOr+r+r+r,rA�rPrAc@rC)r8rDr"r%rEcCrFr'rGrIr+r+r,rJ�rKz"BetaWithStreamingResponse.__init__rcCrLr')rrHr/r)r+r+r,r/�rMz"BetaWithStreamingResponse.realtimer cCrLr')r rHr0r)r+r+r,r0�rMz'BetaWithStreamingResponse.vector_storesrcCrLr')rrHr1r)r+r+r,r1�rMz$BetaWithStreamingResponse.assistantsrcCrLr')rrHr2r)r+r+r,r2�rMz!BetaWithStreamingResponse.threadsNrN)r%r)r%r )r%r)r%rrOr+r+r+r,r8�rPr8c@rC)rBrDr#r%rEcCrFr'rGrIr+r+r,rJ�rKz'AsyncBetaWithStreamingResponse.__init__rcCrLr')rrHr/r)r+r+r,r/�rMz'AsyncBetaWithStreamingResponse.realtimer!cCrLr')r!rHr0r)r+r+r,r0�rMz,AsyncBetaWithStreamingResponse.vector_storesr
cCrLr')r
rHr1r)r+r+r,r1�rMz)AsyncBetaWithStreamingResponse.assistantsrcCrLr')rrHr2r)r+r+r,r2�rMz&AsyncBetaWithStreamingResponse.threadsNrQ)r%r)r%r!)r%r
)r%rrOr+r+r+r,rB�rPrBN)-�
__future__r�_compatr�	chat.chatrrr1rr	r
rrr
�	_resourcerr�threads.threadsrrrrrr�realtime.realtimerrrrrr�vector_stores.vector_storesrrrrr r!�__all__r"r#r3rAr8rBr+r+r+r,�<module>s    	))