
    -2i                       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dS )    )annotations   )ThreadsAsyncThreadsThreadsWithRawResponseAsyncThreadsWithRawResponseThreadsWithStreamingResponse!AsyncThreadsWithStreamingResponse)SessionsAsyncSessionsSessionsWithRawResponseAsyncSessionsWithRawResponseSessionsWithStreamingResponse"AsyncSessionsWithStreamingResponse   )cached_property)SyncAPIResourceAsyncAPIResourceChatKitAsyncChatKitc                  n    e Zd Zed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    d/var/www/html/pixcura-vrs/venv/lib/python3.11/site-packages/openai/resources/beta/chatkit/chatkit.pysessionszChatKit.sessions   s    %%%    r   c                *    t          | j                  S r   )r   r   r   s    r   threadszChatKit.threads    s    t|$$$r    ChatKitWithRawResponsec                     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ChatKit.with_raw_response$   s     &d+++r    ChatKitWithStreamingResponsec                     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ChatKit.with_streaming_response.   s     ,D111r    N)r   r   )r   r   )r   r#   )r   r'   __name__
__module____qualname__r   r   r"   r&   r*    r    r   r   r      s        & & & _& % % % _% , , , _, 2 2 2 _2 2 2r    c                  n    e Zd Zed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AsyncChatKit.sessions9   s    T\***r    r   c                *    t          | j                  S r   )r   r   r   s    r   r"   zAsyncChatKit.threads=   s    DL)))r    AsyncChatKitWithRawResponsec                     t          |           S r%   )r3   r   s    r   r&   zAsyncChatKit.with_raw_responseA   s     +4000r    !AsyncChatKitWithStreamingResponsec                     t          |           S r)   )r5   r   s    r   r*   z$AsyncChatKit.with_streaming_responseK   s     1666r    N)r   r   )r   r   )r   r3   )r   r5   r+   r/   r    r   r   r   8   s        + + + _+ * * * _* 1 1 1 _1 7 7 7 _7 7 7r    c                  F    e Zd ZddZedd            Zedd	            Zd
S )r#   chatkitr   r   Nonec                    || _         d S r   _chatkitr   r8   s     r   __init__zChatKitWithRawResponse.__init__V       r    r   c                4    t          | j        j                  S r   )r   r<   r   r   s    r   r   zChatKitWithRawResponse.sessionsY   s    &t}'=>>>r    r   c                4    t          | j        j                  S r   )r   r<   r"   r   s    r   r"   zChatKitWithRawResponse.threads]   s    %dm&;<<<r    Nr8   r   r   r9   )r   r   )r   r   r,   r-   r.   r>   r   r   r"   r/   r    r   r#   r#   U   sh                ? ? ? _? = = = _= = =r    r#   c                  F    e Zd ZddZedd            Zedd	            Zd
S )r3   r8   r   r   r9   c                    || _         d S r   r;   r=   s     r   r>   z$AsyncChatKitWithRawResponse.__init__c   r?   r    r   c                4    t          | j        j                  S r   )r   r<   r   r   s    r   r   z$AsyncChatKitWithRawResponse.sessionsf   s    +DM,BCCCr    r   c                4    t          | j        j                  S r   )r   r<   r"   r   s    r   r"   z#AsyncChatKitWithRawResponse.threadsj   s    *4=+@AAAr    Nr8   r   r   r9   )r   r   )r   r   rC   r/   r    r   r3   r3   b   sr                D D D _D B B B _B B Br    r3   c                  F    e Zd ZddZedd            Zedd	            Zd
S )r'   r8   r   r   r9   c                    || _         d S r   r;   r=   s     r   r>   z%ChatKitWithStreamingResponse.__init__p   r?   r    r   c                4    t          | j        j                  S r   )r   r<   r   r   s    r   r   z%ChatKitWithStreamingResponse.sessionss   s    ,T]-CDDDr    r	   c                4    t          | j        j                  S r   )r	   r<   r"   r   s    r   r"   z$ChatKitWithStreamingResponse.threadsw   s    +DM,ABBBr    NrB   )r   r   )r   r	   rC   r/   r    r   r'   r'   o   sr                E E E _E C C C _C C Cr    r'   c                  F    e Zd ZddZedd            Zedd	            Zd
S )r5   r8   r   r   r9   c                    || _         d S r   r;   r=   s     r   r>   z*AsyncChatKitWithStreamingResponse.__init__}   r?   r    r   c                4    t          | j        j                  S r   )r   r<   r   r   s    r   r   z*AsyncChatKitWithStreamingResponse.sessions   s    1$-2HIIIr    r
   c                4    t          | j        j                  S r   )r
   r<   r"   r   s    r   r"   z)AsyncChatKitWithStreamingResponse.threads   s    01FGGGr    NrH   )r   r   )r   r
   rC   r/   r    r   r5   r5   |   sr                J J J _J H H H _H H Hr    r5   N)
__future__r   r"   r   r   r   r   r	   r
   r   r   r   r   r   r   r   _compatr   	_resourcer   r   __all__r   r   r#   r3   r'   r5   r/   r    r   <module>rU      s   # " " " " "                               ( ' ' ' ' ' ; ; ; ; ; ; ; ;n
%2 2 2 2 2o 2 2 2:7 7 7 7 7# 7 7 7:
= 
= 
= 
= 
= 
= 
= 
=
B 
B 
B 
B 
B 
B 
B 
B
C 
C 
C 
C 
C 
C 
C 
C
H 
H 
H 
H 
H 
H 
H 
H 
H 
Hr    