
    OYhf&	                        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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)SyncAPIResourceAsyncAPIResource   )CompletionsAsyncCompletionsCompletionsWithRawResponseAsyncCompletionsWithRawResponse CompletionsWithStreamingResponse%AsyncCompletionsWithStreamingResponseChat	AsyncChatc                  B    e Zd Zedd       Zedd       Zedd       Zy)r   c                ,    t        | j                        S N)r	   _clientselfs    Y/var/www/feuerwehr-webapp/venv/lib/python3.12/site-packages/openai/resources/chat/chat.pycompletionszChat.completions   s    4<<((    c                    t        |       S r   )ChatWithRawResponser   s    r   with_raw_responsezChat.with_raw_response   s    "4((r   c                    t        |       S r   )ChatWithStreamingResponser   s    r   with_streaming_responsezChat.with_streaming_response   s    (..r   N)returnr	   )r    r   )r    r   __name__
__module____qualname__r   r   r   r    r   r   r   r      s<    ) ) ) ) / /r   c                  B    e Z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AsyncChat.completions"   s    --r   c                    t        |       S r   )AsyncChatWithRawResponser   s    r   r   zAsyncChat.with_raw_response&   s    '--r   c                    t        |       S r   )AsyncChatWithStreamingResponser   s    r   r   z!AsyncChat.with_streaming_response*   s    -d33r   N)r    r
   )r    r)   )r    r+   r!   r%   r   r   r   r   !   s<    . . . . 4 4r   c                  &    e Zd ZddZedd       Zy)r   c                    || _         y r   _chatr   chats     r   __init__zChatWithRawResponse.__init__0   	    
r   c                @    t        | j                  j                        S r   )r   r/   r   r   s    r   r   zChatWithRawResponse.completions3   s    )$***@*@AAr   Nr1   r   r    None)r    r   r"   r#   r$   r2   r   r   r%   r   r   r   r   /   s     B Br   r   c                  &    e Zd ZddZedd       Zy)r)   c                    || _         y r   r.   r0   s     r   r2   z!AsyncChatWithRawResponse.__init__9   r3   r   c                @    t        | j                  j                        S r   )r   r/   r   r   s    r   r   z$AsyncChatWithRawResponse.completions<   s    .tzz/E/EFFr   Nr1   r   r    r6   )r    r   r7   r%   r   r   r)   r)   8   s     G Gr   r)   c                  &    e Zd ZddZedd       Zy)r   c                    || _         y r   r.   r0   s     r   r2   z"ChatWithStreamingResponse.__init__B   r3   r   c                @    t        | j                  j                        S r   )r   r/   r   r   s    r   r   z%ChatWithStreamingResponse.completionsE   s    /

0F0FGGr   Nr5   )r    r   r7   r%   r   r   r   r   A   s     H Hr   r   c                  &    e Zd ZddZedd       Zy)r+   c                    || _         y r   r.   r0   s     r   r2   z'AsyncChatWithStreamingResponse.__init__K   r3   r   c                @    t        | j                  j                        S r   )r   r/   r   r   s    r   r   z*AsyncChatWithStreamingResponse.completionsN   s    4TZZ5K5KLLr   Nr;   )r    r   r7   r%   r   r   r+   r+   J   s     M Mr   r+   N)
__future__r   _compatr   	_resourcer   r   r   r	   r
   r   r   r   r   __all__r   r   r   r)   r   r+   r%   r   r   <module>rF      so    # & :  ;
/? /4  4B BG GH HM Mr   