
    .h                       d dl mZ 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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
e      Z G d de      Z G d d      Z G d d      Z G d d      Z  G d d      Z!y)    )annotations   )cached_property   )
AssistantsAsyncAssistantsAssistantsWithRawResponseAsyncAssistantsWithRawResponseAssistantsWithStreamingResponse$AsyncAssistantsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)ThreadsAsyncThreadsThreadsWithRawResponseAsyncThreadsWithRawResponseThreadsWithStreamingResponse!AsyncThreadsWithStreamingResponse)Chat	AsyncChat)RealtimeAsyncRealtimeBeta	AsyncBetac                  x    e Zd Zedd       Zed	d       Zed
d       Zedd       Zedd       Zedd       Z	y)r   c                ,    t        | j                        S N)r   _clientselfs    [/var/www/html/axiom-chatbot/venv/lib/python3.12/site-packages/openai/resources/beta/beta.pychatz	Beta.chat!   s    DLL!!    c                ,    t        | j                        S r   )r   r   r   s    r!   realtimezBeta.realtime%   s    %%r#   c                ,    t        | j                        S r   )r   r   r   s    r!   
assistantszBeta.assistants)   s    $,,''r#   c                ,    t        | j                        S r   )r   r   r   s    r!   threadszBeta.threads-   s    t||$$r#   c                    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
        )BetaWithRawResponser   s    r!   with_raw_responsezBeta.with_raw_response1   s     #4((r#   c                    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
        )BetaWithStreamingResponser   s    r!   with_streaming_responsezBeta.with_streaming_response;   s     )..r#   N)returnr   )r2   r   )r2   r   )r2   r   )r2   r,   )r2   r0   
__name__
__module____qualname__r   r"   r%   r'   r)   r-   r1    r#   r!   r   r       sx    " " & & ( ( % % ) ) / /r#   c                  x    e Zd Zedd       Zed	d       Zed
d       Zedd       Zedd       Zedd       Z	y)r   c                ,    t        | j                        S r   )r   r   r   s    r!   r"   zAsyncBeta.chatF   s    &&r#   c                ,    t        | j                        S r   )r   r   r   s    r!   r%   zAsyncBeta.realtimeJ   s    T\\**r#   c                ,    t        | j                        S r   )r   r   r   s    r!   r'   zAsyncBeta.assistantsN   s    t||,,r#   c                ,    t        | j                        S r   )r   r   r   s    r!   r)   zAsyncBeta.threadsR   s    DLL))r#   c                    t        |       S r+   )AsyncBetaWithRawResponser   s    r!   r-   zAsyncBeta.with_raw_responseV   s     (--r#   c                    t        |       S r/   )AsyncBetaWithStreamingResponser   s    r!   r1   z!AsyncBeta.with_streaming_response`   s     .d33r#   N)r2   r   )r2   r   )r2   r   )r2   r   )r2   r>   )r2   r@   r3   r7   r#   r!   r   r   E   sx    ' ' + + - - * * . . 4 4r#   c                  8    e Zd ZddZedd       Zedd       Zy)r,   c                    || _         y r   _betar    betas     r!   __init__zBetaWithRawResponse.__init__k   	    
r#   c                @    t        | j                  j                        S r   )r	   rD   r'   r   s    r!   r'   zBetaWithRawResponse.assistantsn   s    ()>)>??r#   c                @    t        | j                  j                        S r   )r   rD   r)   r   s    r!   r)   zBetaWithRawResponse.threadsr   s    %djj&8&899r#   NrF   r   r2   None)r2   r	   )r2   r   r4   r5   r6   rG   r   r'   r)   r7   r#   r!   r,   r,   j   s1     @ @ : :r#   r,   c                  8    e Zd ZddZedd       Zedd       Zy)r>   c                    || _         y r   rC   rE   s     r!   rG   z!AsyncBetaWithRawResponse.__init__x   rH   r#   c                @    t        | j                  j                        S r   )r
   rD   r'   r   s    r!   r'   z#AsyncBetaWithRawResponse.assistants{   s    -djj.C.CDDr#   c                @    t        | j                  j                        S r   )r   rD   r)   r   s    r!   r)   z AsyncBetaWithRawResponse.threads   s    *4::+=+=>>r#   NrF   r   r2   rL   )r2   r
   )r2   r   rM   r7   r#   r!   r>   r>   w   s1     E E ? ?r#   r>   c                  8    e Zd ZddZedd       Zedd       Zy)r0   c                    || _         y r   rC   rE   s     r!   rG   z"BetaWithStreamingResponse.__init__   rH   r#   c                @    t        | j                  j                        S r   )r   rD   r'   r   s    r!   r'   z$BetaWithStreamingResponse.assistants   s    .tzz/D/DEEr#   c                @    t        | j                  j                        S r   )r   rD   r)   r   s    r!   r)   z!BetaWithStreamingResponse.threads   s    +DJJ,>,>??r#   NrK   )r2   r   )r2   r   rM   r7   r#   r!   r0   r0      s3     F F @ @r#   r0   c                  8    e Zd ZddZedd       Zedd       Zy)r@   c                    || _         y r   rC   rE   s     r!   rG   z'AsyncBetaWithStreamingResponse.__init__   rH   r#   c                @    t        | j                  j                        S r   )r   rD   r'   r   s    r!   r'   z)AsyncBetaWithStreamingResponse.assistants   s    3DJJ4I4IJJr#   c                @    t        | j                  j                        S r   )r   rD   r)   r   s    r!   r)   z&AsyncBetaWithStreamingResponse.threads   s    01C1CDDr#   NrR   )r2   r   )r2   r   rM   r7   r#   r!   r@   r@      s3     K K E Er#   r@   N)"
__future__r   _compatr   r'   r   r   r	   r
   r   r   	_resourcer   r   threads.threadsr   r   r   r   r   r   resources.chatr   r   realtime.realtimer   r   __all__r   r   r,   r>   r0   r@   r7   r#   r!   <module>rb      s    # &  ;  .
 ;
"/? "/J"4  "4J
: 
:
? 
?
@ 
@
E 
Er#   