§
    Ý
@g   ã                  óö   — 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dS )é    )Úannotationsé   )Úcached_property)ÚSyncAPIResourceÚAsyncAPIResourceé   )ÚCompletionsÚAsyncCompletionsÚCompletionsWithRawResponseÚAsyncCompletionsWithRawResponseÚ CompletionsWithStreamingResponseÚ%AsyncCompletionsWithStreamingResponseÚChatÚ	AsyncChatc                  óV   — e Zd Zed	d„¦   «         Zed
d„¦   «         Zedd„¦   «         ZdS )r   Úreturnr	   c                ó*   — t          | j        ¦  «        S ©N)r	   Ú_client©Úselfs    úN/var/www/piapp/venv/lib/python3.11/site-packages/openai/resources/chat/chat.pyÚcompletionszChat.completions   s   € å˜4œ<Ñ(Ô(Ð(ó    ÚChatWithRawResponsec                ó    — t          | ¦  «        S ©a  
        This property can be used as a prefix for any HTTP method call to return the
        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
        )r   r   s    r   Úwith_raw_responsezChat.with_raw_response   s   € õ # 4Ñ(Ô(Ð(r   ÚChatWithStreamingResponsec                ó    — 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
        )r   r   s    r   Úwith_streaming_responsezChat.with_streaming_response"   s   € õ )¨Ñ.Ô.Ð.r   N)r   r	   )r   r   )r   r   ©Ú__name__Ú
__module__Ú__qualname__r   r   r   r"   © r   r   r   r      sr   € € € € € Øð)ð )ð )ñ „_ð)ð ð)ð )ð )ñ „_ð)ð ð/ð /ð /ñ „_ð/ð /ð /r   c                  óV   — e Zd Zed	d„¦   «         Zed
d„¦   «         Zedd„¦   «         ZdS )r   r   r
   c                ó*   — t          | j        ¦  «        S r   )r
   r   r   s    r   r   zAsyncChat.completions-   s   € å ¤Ñ-Ô-Ð-r   ÚAsyncChatWithRawResponsec                ó    — t          | ¦  «        S r   )r*   r   s    r   r   zAsyncChat.with_raw_response1   s   € õ (¨Ñ-Ô-Ð-r   ÚAsyncChatWithStreamingResponsec                ó    — t          | ¦  «        S r!   )r,   r   s    r   r"   z!AsyncChat.with_streaming_response;   s   € õ .¨dÑ3Ô3Ð3r   N)r   r
   )r   r*   )r   r,   r#   r'   r   r   r   r   ,   sr   € € € € € Øð.ð .ð .ñ „_ð.ð ð.ð .ð .ñ „_ð.ð ð4ð 4ð 4ñ „_ð4ð 4ð 4r   c                  ó.   — e Zd Zd	d„Zed
d„¦   «         ZdS )r   Úchatr   r   ÚNonec                ó   — || _         d S r   ©Ú_chat©r   r/   s     r   Ú__init__zChatWithRawResponse.__init__F   ó   € ØˆŒ
ˆ
ˆ
r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r3   r   r   s    r   r   zChatWithRawResponse.completionsI   s   € å)¨$¬*Ô*@ÑAÔAÐAr   N©r/   r   r   r0   )r   r   ©r$   r%   r&   r5   r   r   r'   r   r   r   r   E   sN   € € € € € ðð ð ð ð ðBð Bð Bñ „_ðBð Bð Br   r   c                  ó.   — e Zd Zd	d„Zed
d„¦   «         ZdS )r*   r/   r   r   r0   c                ó   — || _         d S r   r2   r4   s     r   r5   z!AsyncChatWithRawResponse.__init__O   r6   r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r3   r   r   s    r   r   z$AsyncChatWithRawResponse.completionsR   s   € å.¨t¬zÔ/EÑFÔFÐFr   N©r/   r   r   r0   )r   r   r9   r'   r   r   r*   r*   N   sN   € € € € € ðð ð ð ð ðGð Gð Gñ „_ðGð Gð Gr   r*   c                  ó.   — e Zd Zd	d„Zed
d„¦   «         ZdS )r   r/   r   r   r0   c                ó   — || _         d S r   r2   r4   s     r   r5   z"ChatWithStreamingResponse.__init__X   r6   r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r3   r   r   s    r   r   z%ChatWithStreamingResponse.completions[   s   € å/°´
Ô0FÑGÔGÐGr   Nr8   )r   r   r9   r'   r   r   r   r   W   sN   € € € € € ðð ð ð ð ðHð Hð Hñ „_ðHð Hð Hr   r   c                  ó.   — e Zd Zd	d„Zed
d„¦   «         ZdS )r,   r/   r   r   r0   c                ó   — || _         d S r   r2   r4   s     r   r5   z'AsyncChatWithStreamingResponse.__init__a   r6   r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r3   r   r   s    r   r   z*AsyncChatWithStreamingResponse.completionsd   s   € å4°T´ZÔ5KÑLÔLÐLr   Nr=   )r   r   r9   r'   r   r   r,   r,   `   sN   € € € € € ðð ð ð ð ðMð Mð Mñ „_ðMð 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>rH      sÀ  ðð #Ð "Ð "Ð "Ð "Ð "à &Ð &Ð &Ð &Ð &Ð &Ø :Ð :Ð :Ð :Ð :Ð :Ð :Ð :ðð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð �;Ð
€ð/ð /ð /ð /ð /ˆ?ñ /ô /ð /ð24ð 4ð 4ð 4ð 4Ð ñ 4ô 4ð 4ð2Bð Bð Bð Bð Bñ Bô Bð BðGð Gð Gð Gð Gñ Gô Gð GðHð Hð Hð Hð Hñ Hô Hð HðMð Mð Mð Mð Mñ Mô Mð Mð Mð Mr   