
    _i]                    0   S SK Jr  SSKJr  SSKJrJrJrJrJ	r	J
r
  SSKJrJr  SSKJrJrJrJrJrJr  SSKJrJrJrJrJrJr  SS	KJrJr  SS
KJ r J!r!  SS/r" " S S\5      r# " S S\5      r$ " S S5      r% " S S5      r& " S S5      r' " S S5      r(g)    )annotations   )cached_property   )
AssistantsAsyncAssistantsAssistantsWithRawResponseAsyncAssistantsWithRawResponseAssistantsWithStreamingResponse$AsyncAssistantsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)ChatKitAsyncChatKitChatKitWithRawResponseAsyncChatKitWithRawResponseChatKitWithStreamingResponse!AsyncChatKitWithStreamingResponse)ThreadsAsyncThreadsThreadsWithRawResponseAsyncThreadsWithRawResponseThreadsWithStreamingResponse!AsyncThreadsWithStreamingResponse)Chat	AsyncChat)RealtimeAsyncRealtimeBeta	AsyncBetac                      \ rS rSr\SS j5       r\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       rS	rg
)r   (   c                ,    [        U R                  5      $ N)r   _clientselfs    V/var/www/html/land-ocr/venv/lib/python3.13/site-packages/openai/resources/beta/beta.pychat	Beta.chat)   s    DLL!!    c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   realtimeBeta.realtime-   s    %%r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   chatkitBeta.chatkit1       t||$$r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   
assistantsBeta.assistants5   s    $,,''r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   threadsBeta.threads9   r2   r+   c                    [        U 5      $ z
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_responseBeta.with_raw_response=   s     #4((r+   c                    [        U 5      $ 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_responseBeta.with_streaming_responseG   s     )..r+    N)returnr   )rD   r   )rD   r   )rD   r   )rD   r   )rD   r;   )rD   r@   __name__
__module____qualname____firstlineno__r   r)   r-   r0   r4   r7   r<   rA   __static_attributes__rC   r+   r(   r   r   (   s    " " & & % % ( ( % % ) ) / /r+   c                      \ rS rSr\SS j5       r\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
\SS j5       rS	rg
)r    Q   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   r)   AsyncBeta.chatR   s    &&r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   r-   AsyncBeta.realtimeV   s    T\\**r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   r0   AsyncBeta.chatkitZ       DLL))r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   r4   AsyncBeta.assistants^   s    t||,,r+   c                ,    [        U R                  5      $ r$   )r   r%   r&   s    r(   r7   AsyncBeta.threadsb   rS   r+   c                    [        U 5      $ r:   )AsyncBetaWithRawResponser&   s    r(   r<   AsyncBeta.with_raw_responsef   s     (--r+   c                    [        U 5      $ r?   )AsyncBetaWithStreamingResponser&   s    r(   rA   !AsyncBeta.with_streaming_responsep   s     .d33r+   rC   N)rD   r   )rD   r   )rD   r   )rD   r   )rD   r   )rD   rY   )rD   r\   rE   rC   r+   r(   r    r    Q   s    ' ' + + * * - - * * . . 4 4r+   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)r;   z   c                    Xl         g r$   _betar'   betas     r(   __init__BetaWithRawResponse.__init__{       
r+   c                @    [        U R                  R                  5      $ r$   )r   rb   r0   r&   s    r(   r0   BetaWithRawResponse.chatkit~       %djj&8&899r+   c                @    [        U R                  R                  5      $ r$   )r	   rb   r4   r&   s    r(   r4   BetaWithRawResponse.assistants   s    ()>)>??r+   c                @    [        U R                  R                  5      $ r$   )r   rb   r7   r&   s    r(   r7   BetaWithRawResponse.threads   rj   r+   ra   Nrd   r   rD   None)rD   r   )rD   r	   )rD   r   
rF   rG   rH   rI   re   r   r0   r4   r7   rJ   rC   r+   r(   r;   r;   z   sE     : : @ @ : :r+   r;   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)rY      c                    Xl         g r$   ra   rc   s     r(   re   !AsyncBetaWithRawResponse.__init__   rg   r+   c                @    [        U R                  R                  5      $ r$   )r   rb   r0   r&   s    r(   r0    AsyncBetaWithRawResponse.chatkit       *4::+=+=>>r+   c                @    [        U R                  R                  5      $ r$   )r
   rb   r4   r&   s    r(   r4   #AsyncBetaWithRawResponse.assistants   s    -djj.C.CDDr+   c                @    [        U R                  R                  5      $ r$   )r   rb   r7   r&   s    r(   r7    AsyncBetaWithRawResponse.threads   rx   r+   ra   Nrd   r    rD   rp   )rD   r   )rD   r
   )rD   r   rq   rC   r+   r(   rY   rY      sE     ? ? E E ? ?r+   rY   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)r@      c                    Xl         g r$   ra   rc   s     r(   re   "BetaWithStreamingResponse.__init__   rg   r+   c                @    [        U R                  R                  5      $ r$   )r   rb   r0   r&   s    r(   r0   !BetaWithStreamingResponse.chatkit       +DJJ,>,>??r+   c                @    [        U R                  R                  5      $ r$   )r   rb   r4   r&   s    r(   r4   $BetaWithStreamingResponse.assistants   s    .tzz/D/DEEr+   c                @    [        U R                  R                  5      $ r$   )r   rb   r7   r&   s    r(   r7   !BetaWithStreamingResponse.threads   r   r+   ra   Nro   )rD   r   )rD   r   )rD   r   rq   rC   r+   r(   r@   r@      sI     @ @ F F @ @r+   r@   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)r\      c                    Xl         g r$   ra   rc   s     r(   re   'AsyncBetaWithStreamingResponse.__init__   rg   r+   c                @    [        U R                  R                  5      $ r$   )r   rb   r0   r&   s    r(   r0   &AsyncBetaWithStreamingResponse.chatkit       01C1CDDr+   c                @    [        U R                  R                  5      $ r$   )r   rb   r4   r&   s    r(   r4   )AsyncBetaWithStreamingResponse.assistants   s    3DJJ4I4IJJr+   c                @    [        U R                  R                  5      $ r$   )r   rb   r7   r&   s    r(   r7   &AsyncBetaWithStreamingResponse.threads   r   r+   ra   Nr}   )rD   r   )rD   r   )rD   r   rq   rC   r+   r(   r\   r\      sI     E E K K E Er+   r\   N))
__future__r   _compatr   r4   r   r   r	   r
   r   r   	_resourcer   r   chatkit.chatkitr   r   r   r   r   r   threads.threadsr   r   r   r   r   r   resources.chatr   r   realtime.realtimer   r   __all__r   r    r;   rY   r@   r\   rC   r+   r(   <module>r      s    # &  ;   .
 ;
&/? &/R&4  &4R: :"? ?"@ @"E Er+   