
    IgX                    @   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
 ddlmZmZ ddlmZmZmZmZmZ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
lmZ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   )cached_property)Chat	AsyncChat)
AssistantsAsyncAssistantsAssistantsWithRawResponseAsyncAssistantsWithRawResponseAssistantsWithStreamingResponse$AsyncAssistantsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)VectorStoresAsyncVectorStoresVectorStoresWithRawResponse AsyncVectorStoresWithRawResponse!VectorStoresWithStreamingResponse&AsyncVectorStoresWithStreamingResponse)r   r   )r   r   Beta	AsyncBetac                  x    e Zd Zedd       Zed	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    W/var/www/html/answerous/venv/lib/python3.12/site-packages/openai/resources/beta/beta.pychatz	Beta.chat'   s    DLL!!    c                ,    t        | j                        S r!   )r   r"   r#   s    r%   vector_storeszBeta.vector_stores+       DLL))r'   c                ,    t        | j                        S r!   )r   r"   r#   s    r%   
assistantszBeta.assistants/   s    $,,''r'   c                ,    t        | j                        S r!   )r   r"   r#   s    r%   threadszBeta.threads3   s    t||$$r'   c                    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
        )BetaWithRawResponser#   s    r%   with_raw_responsezBeta.with_raw_response7   s     #4((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
        )BetaWithStreamingResponser#   s    r%   with_streaming_responsezBeta.with_streaming_responseA   s     )..r'   N)returnr   )r7   r   )r7   r   )r7   r   )r7   r1   )r7   r5   
__name__
__module____qualname__r   r&   r)   r,   r.   r2   r6    r'   r%   r   r   &   sx    " " * * ( ( % % ) ) / /r'   c                  x    e Zd Zedd       Zed	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AsyncBeta.chatL   s    &&r'   c                ,    t        | j                        S r!   )r   r"   r#   s    r%   r)   zAsyncBeta.vector_storesP   s     ..r'   c                ,    t        | j                        S r!   )r   r"   r#   s    r%   r,   zAsyncBeta.assistantsT   s    t||,,r'   c                ,    t        | j                        S r!   )r   r"   r#   s    r%   r.   zAsyncBeta.threadsX   r*   r'   c                    t        |       S r0   )AsyncBetaWithRawResponser#   s    r%   r2   zAsyncBeta.with_raw_response\   s     (--r'   c                    t        |       S r4   )AsyncBetaWithStreamingResponser#   s    r%   r6   z!AsyncBeta.with_streaming_responsef   s     .d33r'   N)r7   r   )r7   r   )r7   r   )r7   r   )r7   rC   )r7   rE   r8   r<   r'   r%   r   r   K   sx    ' ' / / - - * * . . 4 4r'   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r1   c                    || _         y r!   _betar$   betas     r%   __init__zBetaWithRawResponse.__init__q   	    
r'   c                @    t        | j                  j                        S r!   )r   rI   r)   r#   s    r%   r)   z!BetaWithRawResponse.vector_storest   s    *4::+C+CDDr'   c                @    t        | j                  j                        S r!   )r   rI   r,   r#   s    r%   r,   zBetaWithRawResponse.assistantsx   s    ()>)>??r'   c                @    t        | j                  j                        S r!   )r   rI   r.   r#   s    r%   r.   zBetaWithRawResponse.threads|   s    %djj&8&899r'   NrK   r   r7   None)r7   r   )r7   r   )r7   r   r9   r:   r;   rL   r   r)   r,   r.   r<   r'   r%   r1   r1   p   sG     E E @ @ : :r'   r1   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
rC   c                    || _         y r!   rH   rJ   s     r%   rL   z!AsyncBetaWithRawResponse.__init__   rM   r'   c                @    t        | j                  j                        S r!   )r   rI   r)   r#   s    r%   r)   z&AsyncBetaWithRawResponse.vector_stores   s    /

0H0HIIr'   c                @    t        | j                  j                        S r!   )r   rI   r,   r#   s    r%   r,   z#AsyncBetaWithRawResponse.assistants   s    -djj.C.CDDr'   c                @    t        | j                  j                        S r!   )r   rI   r.   r#   s    r%   r.   z AsyncBetaWithRawResponse.threads   s    *4::+=+=>>r'   NrK   r   r7   rR   )r7   r   )r7   r   )r7   r   rS   r<   r'   r%   rC   rC      sG     J J E E ? ?r'   rC   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r5   c                    || _         y r!   rH   rJ   s     r%   rL   z"BetaWithStreamingResponse.__init__   rM   r'   c                @    t        | j                  j                        S r!   )r   rI   r)   r#   s    r%   r)   z'BetaWithStreamingResponse.vector_stores   s    01I1IJJr'   c                @    t        | j                  j                        S r!   )r   rI   r,   r#   s    r%   r,   z$BetaWithStreamingResponse.assistants   s    .tzz/D/DEEr'   c                @    t        | j                  j                        S r!   )r	   rI   r.   r#   s    r%   r.   z!BetaWithStreamingResponse.threads   s    +DJJ,>,>??r'   NrQ   )r7   r   )r7   r   )r7   r	   rS   r<   r'   r%   r5   r5      sI     K K F F @ @r'   r5   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
rE   c                    || _         y r!   rH   rJ   s     r%   rL   z'AsyncBetaWithStreamingResponse.__init__   rM   r'   c                @    t        | j                  j                        S r!   )r   rI   r)   r#   s    r%   r)   z,AsyncBetaWithStreamingResponse.vector_stores   s    5djj6N6NOOr'   c                @    t        | j                  j                        S r!   )r   rI   r,   r#   s    r%   r,   z)AsyncBetaWithStreamingResponse.assistants   s    3DJJ4I4IJJr'   c                @    t        | j                  j                        S r!   )r
   rI   r.   r#   s    r%   r.   z&AsyncBetaWithStreamingResponse.threads   s    01C1CDDr'   NrY   )r7   r   )r7   r   )r7   r
   rS   r<   r'   r%   rE   rE      sI     P P K K E Er'   rE   N)(
__future__r   r.   r   r   r   r   r	   r
   _compatr   	chat.chatr   r   r,   r   r   r   r   r   r   	_resourcer   r   r)   r   r   r   r   r   r   threads.threadsvector_stores.vector_stores__all__r   r   r1   rC   r5   rE   r<   r'   r%   <module>rk      s    #  ' &  ;  3 H;
"/? "/J"4  "4J: :"? ?"@ @"E Er'   