§
    ªeîiè  ã                  óö   — 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 ©zg
        Given a list of messages comprising a conversation, the model will return a response.
        )r	   Ú_client©Úselfs    ú^/home/div/.hermes/hermes-agent/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 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.completions0   s   € õ
   ¤Ñ-Ô-Ð-r   ÚAsyncChatWithRawResponsec                ó    — t          | ¦  «        S r   )r*   r   s    r   r   zAsyncChat.with_raw_response7   s   € õ (¨Ñ-Ô-Ð-r   ÚAsyncChatWithStreamingResponsec                ó    — t          | ¦  «        S r!   )r,   r   s    r   r"   z!AsyncChat.with_streaming_responseA   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 ©N©Ú_chat©r   r/   s     r   Ú__init__zChatWithRawResponse.__init__L   ó   € ØˆŒ
ˆ
ˆ
r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r4   r   r   s    r   r   zChatWithRawResponse.completionsO   s   € õ
 *¨$¬*Ô*@ÑAÔAÐAr   N©r/   r   r   r0   )r   r   ©r$   r%   r&   r6   r   r   r'   r   r   r   r   K   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 r2   r3   r5   s     r   r6   z!AsyncChatWithRawResponse.__init__X   r7   r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r4   r   r   s    r   r   z$AsyncChatWithRawResponse.completions[   s   € õ
 /¨t¬zÔ/EÑFÔFÐFr   N©r/   r   r   r0   )r   r   r:   r'   r   r   r*   r*   W   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 r2   r3   r5   s     r   r6   z"ChatWithStreamingResponse.__init__d   r7   r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r4   r   r   s    r   r   z%ChatWithStreamingResponse.completionsg   s   € õ
 0°´
Ô0FÑGÔGÐGr   Nr9   )r   r   r:   r'   r   r   r   r   c   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 r2   r3   r5   s     r   r6   z'AsyncChatWithStreamingResponse.__init__p   r7   r   r   c                ó4   — t          | j        j        ¦  «        S r   )r   r4   r   r   s    r   r   z*AsyncChatWithStreamingResponse.completionss   s   € õ
 5°T´ZÔ5KÑLÔLÐLr   Nr>   )r   r   r:   r'   r   r   r,   r,   o   sN   € € € € € ðð ð ð ð ðMð Mð Mñ „_ðMð Mð Mr   r,   N)Ú
__future__r   Ú_compatr   Ú	_resourcer   r   Úcompletions.completionsr	   r
   r   r   r   r   Ú__all__r   r   r   r*   r   r,   r'   r   r   ú<module>rJ      sÀ  ðð #Ð "Ð "Ð "Ð "Ð "à &Ð &Ð &Ð &Ð &Ð &Ø :Ð :Ð :Ð :Ð :Ð :Ð :Ð :ðð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð �;Ð
€ð/ð /ð /ð /ð /ˆ?ñ /ô /ð /ð84ð 4ð 4ð 4ð 4Ð ñ 4ô 4ð 4ð8	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   