
    \Ei                        d dl mZ ddlmZmZmZmZmZmZ ddl	m
Z
mZmZmZmZmZ ddlmZ ddl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   )ThreadsAsyncThreadsThreadsWithRawResponseAsyncThreadsWithRawResponseThreadsWithStreamingResponse!AsyncThreadsWithStreamingResponse)SessionsAsyncSessionsSessionsWithRawResponseAsyncSessionsWithRawResponseSessionsWithStreamingResponse"AsyncSessionsWithStreamingResponse   )cached_property)SyncAPIResourceAsyncAPIResourceChatKitAsyncChatKitc                  T    e Zd Zedd       Zedd       Zedd       Zed	d       Zy)
r   c                ,    t        | j                        S N)r   _clientselfs    r/var/www/html/gamegenieapi.qlx.com/gamegenie/lib/python3.12/site-packages/openai/resources/beta/chatkit/chatkit.pysessionszChatKit.sessions   s    %%    c                ,    t        | j                        S r   )r   r   r   s    r   threadszChatKit.threads    s    t||$$r   c                    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
        )ChatKitWithRawResponser   s    r   with_raw_responsezChatKit.with_raw_response$   s     &d++r   c                    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
        )ChatKitWithStreamingResponser   s    r   with_streaming_responsezChatKit.with_streaming_response.   s     ,D11r   N)returnr   )r*   r   )r*   r$   )r*   r(   __name__
__module____qualname__r   r   r!   r%   r)    r   r   r   r      sP    & & % % , , 2 2r   c                  T    e Zd Zed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AsyncChatKit.sessions9   s    T\\**r   c                ,    t        | j                        S r   )r   r   r   s    r   r!   zAsyncChatKit.threads=   s    DLL))r   c                    t        |       S r#   )AsyncChatKitWithRawResponser   s    r   r%   zAsyncChatKit.with_raw_responseA   s     +400r   c                    t        |       S r'   )!AsyncChatKitWithStreamingResponser   s    r   r)   z$AsyncChatKit.with_streaming_responseK   s     166r   N)r*   r   )r*   r   )r*   r4   )r*   r6   r+   r/   r   r   r   r   8   sP    + + * * 1 1 7 7r   c                  8    e Zd ZddZedd       Zedd       Zy)r$   c                    || _         y r   _chatkitr   chatkits     r   __init__zChatKitWithRawResponse.__init__V   	    r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   zChatKitWithRawResponse.sessionsY   s    &t}}'='=>>r   c                @    t        | j                  j                        S r   )r   r:   r!   r   s    r   r!   zChatKitWithRawResponse.threads]   s    %dmm&;&;<<r   Nr<   r   r*   None)r*   r   )r*   r   r,   r-   r.   r=   r   r   r!   r/   r   r   r$   r$   U   s/      ? ? = =r   r$   c                  8    e Zd ZddZedd       Zedd       Zy)r4   c                    || _         y r   r9   r;   s     r   r=   z$AsyncChatKitWithRawResponse.__init__c   r>   r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z$AsyncChatKitWithRawResponse.sessionsf   s    +DMM,B,BCCr   c                @    t        | j                  j                        S r   )r   r:   r!   r   s    r   r!   z#AsyncChatKitWithRawResponse.threadsj   s    *4==+@+@AAr   Nr<   r   r*   rB   )r*   r   )r*   r   rC   r/   r   r   r4   r4   b   s3      D D B Br   r4   c                  8    e Zd ZddZedd       Zedd       Zy)r(   c                    || _         y r   r9   r;   s     r   r=   z%ChatKitWithStreamingResponse.__init__p   r>   r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z%ChatKitWithStreamingResponse.sessionss   s    ,T]]-C-CDDr   c                @    t        | j                  j                        S r   )r	   r:   r!   r   s    r   r!   z$ChatKitWithStreamingResponse.threadsw   s    +DMM,A,ABBr   NrA   )r*   r   )r*   r	   rC   r/   r   r   r(   r(   o   s3      E E C Cr   r(   c                  8    e Zd ZddZedd       Zedd       Zy)r6   c                    || _         y r   r9   r;   s     r   r=   z*AsyncChatKitWithStreamingResponse.__init__}   r>   r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z*AsyncChatKitWithStreamingResponse.sessions   s    1$--2H2HIIr   c                @    t        | j                  j                        S r   )r
   r:   r!   r   s    r   r!   z)AsyncChatKitWithStreamingResponse.threads   s    01F1FGGr   NrH   )r*   r   )r*   r
   rC   r/   r   r   r6   r6   |   s3      J J H Hr   r6   N)
__future__r   r!   r   r   r   r   r	   r
   r   r   r   r   r   r   r   _compatr   	_resourcer   r   __all__r   r   r$   r4   r(   r6   r/   r   r   <module>rU      sw    #   ( ;n
%2o 2:7# 7:
= 
=
B 
B
C 
C
H 
Hr   