
    h$                        S SK Jr  SSK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/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)SyncAPIResourceAsyncAPIResource   )CompletionsAsyncCompletionsCompletionsWithRawResponseAsyncCompletionsWithRawResponse CompletionsWithStreamingResponse%AsyncCompletionsWithStreamingResponseChat	AsyncChatc                  P    \ rS rS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    L/var/www/html/env/lib/python3.13/site-packages/openai/resources/chat/chat.pycompletionsChat.completions   s    4<<((    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
)ChatWithRawResponser   s    r   with_raw_responseChat.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
)ChatWithStreamingResponser   s    r   with_streaming_responseChat.with_streaming_response"   s     )..r    N)returnr	   )r'   r   )r'   r#   	__name__
__module____qualname____firstlineno__r   r   r   r$   __static_attributes__r&   r   r   r   r      s<    ) ) ) ) / /r   c                  P    \ rS rSr\SS j5       r\SS j5       r\S	S j5       rSrg)
r   ,   c                ,    [        U R                  5      $ r   )r
   r   r   s    r   r   AsyncChat.completions-   s    --r   c                    [        U 5      $ r   )AsyncChatWithRawResponser   s    r   r   AsyncChat.with_raw_response1   s     (--r   c                    [        U 5      $ r"   )AsyncChatWithStreamingResponser   s    r   r$   !AsyncChat.with_streaming_response;   s     .d33r   r&   N)r'   r
   )r'   r3   )r'   r6   r(   r&   r   r   r   r   ,   s<    . . . . 4 4r   c                  2    \ rS rSrSS jr\SS j5       rSrg)r   E   c                    Xl         g r   _chatr   chats     r   __init__ChatWithRawResponse.__init__F       
r   c                @    [        U R                  R                  5      $ r   )r   r<   r   r   s    r   r   ChatWithRawResponse.completionsI   s    )$***@*@AAr   r;   Nr>   r   r'   None)r'   r   r)   r*   r+   r,   r?   r   r   r-   r&   r   r   r   r   E   s     B Br   r   c                  2    \ rS rSrSS jr\SS j5       rSrg)r3   N   c                    Xl         g r   r;   r=   s     r   r?   !AsyncChatWithRawResponse.__init__O   rA   r   c                @    [        U R                  R                  5      $ r   )r   r<   r   r   s    r   r   $AsyncChatWithRawResponse.completionsR   s    .tzz/E/EFFr   r;   Nr>   r   r'   rE   )r'   r   rF   r&   r   r   r3   r3   N   s     G Gr   r3   c                  2    \ rS rSrSS jr\SS j5       rSrg)r#   W   c                    Xl         g r   r;   r=   s     r   r?   "ChatWithStreamingResponse.__init__X   rA   r   c                @    [        U R                  R                  5      $ r   )r   r<   r   r   s    r   r   %ChatWithStreamingResponse.completions[   s    /

0F0FGGr   r;   NrD   )r'   r   rF   r&   r   r   r#   r#   W   s     H Hr   r#   c                  2    \ rS rSrSS jr\SS j5       rSrg)r6   `   c                    Xl         g r   r;   r=   s     r   r?   'AsyncChatWithStreamingResponse.__init__a   rA   r   c                @    [        U R                  R                  5      $ r   )r   r<   r   r   s    r   r   *AsyncChatWithStreamingResponse.completionsd   s    4TZZ5K5KLLr   r;   NrM   )r'   r   rF   r&   r   r   r6   r6   `   s     M Mr   r6   N)
__future__r   _compatr   	_resourcer   r   completions.completionsr	   r
   r   r   r   r   __all__r   r   r   r3   r#   r6   r&   r   r   <module>r_      so    # & :  ;
/? /24  42B BG GH HM Mr   