o
    ùT·j8"  ã                   @  sL  d dl mZ 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 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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l)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/ ddgZ0G dd„ deƒZ1G dd„ deƒZ2G dd„ dƒZ3G dd„ dƒZ4G dd„ dƒZ5G dd„ dƒZ6dS )é    )Úannotationsé   )Úcached_propertyé   )Ú
AssistantsÚAsyncAssistantsÚAssistantsWithRawResponseÚAsyncAssistantsWithRawResponseÚAssistantsWithStreamingResponseÚ$AsyncAssistantsWithStreamingResponse)ÚSyncAPIResourceÚAsyncAPIResource)ÚAgentsÚAsyncAgentsÚAgentsWithRawResponseÚAsyncAgentsWithRawResponseÚAgentsWithStreamingResponseÚ AsyncAgentsWithStreamingResponse)ÚChatKitÚAsyncChatKitÚChatKitWithRawResponseÚAsyncChatKitWithRawResponseÚChatKitWithStreamingResponseÚ!AsyncChatKitWithStreamingResponse)ÚThreadsÚAsyncThreadsÚThreadsWithRawResponseÚAsyncThreadsWithRawResponseÚThreadsWithStreamingResponseÚ!AsyncThreadsWithStreamingResponse)ÚChatÚ	AsyncChat)ÚRealtimeÚAsyncRealtime)Ú	ResponsesÚAsyncResponsesÚResponsesWithRawResponseÚAsyncResponsesWithRawResponseÚResponsesWithStreamingResponseÚ#AsyncResponsesWithStreamingResponseÚBetaÚ	AsyncBetac                   @  óŠ   e Zd Zeddd„ƒZeddd„ƒZed d	d
„ƒZed!dd„ƒZed"dd„ƒZed#dd„ƒZ	ed$dd„ƒZ
ed%dd„ƒZed&dd„ƒZdS )'r*   Úreturnr    c                 C  ó
   t | jƒS ©N)r    Ú_client©Úself© r3   ú]/home/dinkstrade/pdmp-scanner/venv/lib/python3.10/site-packages/openai/resources/beta/beta.pyÚchat9   ó   
z	Beta.chatr"   c                 C  r.   r/   )r"   r0   r1   r3   r3   r4   Úrealtime=   r6   zBeta.realtimer   c                 C  r.   r/   )r   r0   r1   r3   r3   r4   ÚagentsA   r6   zBeta.agentsr$   c                 C  r.   ©z"Create and manage model responses.)r$   r0   r1   r3   r3   r4   Ú	responsesE   ó   
zBeta.responsesr   c                 C  r.   r/   )r   r0   r1   r3   r3   r4   ÚchatkitJ   r6   zBeta.chatkitr   c                 C  r.   ©z4Build Assistants that can call models and use tools.)r   r0   r1   r3   r3   r4   Ú
assistantsN   r;   zBeta.assistantsr   c                 C  r.   r=   )r   r0   r1   r3   r3   r4   ÚthreadsS   r;   zBeta.threadsÚBetaWithRawResponsec                 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
        )r@   r1   r3   r3   r4   Úwith_raw_responseX   ó   zBeta.with_raw_responseÚBetaWithStreamingResponsec                 C  rA   ©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
        )rE   r1   r3   r3   r4   Úwith_streaming_responseb   ó   zBeta.with_streaming_responseN)r-   r    )r-   r"   )r-   r   )r-   r$   )r-   r   )r-   r   )r-   r   )r-   r@   )r-   rE   ©Ú__name__Ú
__module__Ú__qualname__r   r5   r7   r8   r:   r<   r>   r?   rC   rG   r3   r3   r3   r4   r*   8   ó&    	c                   @  r,   )'r+   r-   r!   c                 C  r.   r/   )r!   r0   r1   r3   r3   r4   r5   m   r6   zAsyncBeta.chatr#   c                 C  r.   r/   )r#   r0   r1   r3   r3   r4   r7   q   r6   zAsyncBeta.realtimer   c                 C  r.   r/   )r   r0   r1   r3   r3   r4   r8   u   r6   zAsyncBeta.agentsr%   c                 C  r.   r9   )r%   r0   r1   r3   r3   r4   r:   y   r;   zAsyncBeta.responsesr   c                 C  r.   r/   )r   r0   r1   r3   r3   r4   r<   ~   r6   zAsyncBeta.chatkitr   c                 C  r.   r=   )r   r0   r1   r3   r3   r4   r>   ‚   r;   zAsyncBeta.assistantsr   c                 C  r.   r=   )r   r0   r1   r3   r3   r4   r?   ‡   r;   zAsyncBeta.threadsÚAsyncBetaWithRawResponsec                 C  rA   rB   )rN   r1   r3   r3   r4   rC   Œ   rD   zAsyncBeta.with_raw_responseÚAsyncBetaWithStreamingResponsec                 C  rA   rF   )rO   r1   r3   r3   r4   rG   –   rH   z!AsyncBeta.with_streaming_responseN)r-   r!   )r-   r#   )r-   r   )r-   r%   )r-   r   )r-   r   )r-   r   )r-   rN   )r-   rO   rI   r3   r3   r3   r4   r+   l   rM   c                   @  ó\   e Zd Zddd„Zeddd	„ƒZeddd„ƒZeddd„ƒZeddd„ƒZeddd„ƒZ	dS )r@   Úbetar*   r-   ÚNonec                 C  ó
   || _ d S r/   ©Ú_beta©r2   rQ   r3   r3   r4   Ú__init__¡   ó   
zBetaWithRawResponse.__init__r   c                 C  ó   t | jjƒS r/   )r   rU   r8   r1   r3   r3   r4   r8   ¤   ó   zBetaWithRawResponse.agentsr&   c                 C  rY   r9   )r&   rU   r:   r1   r3   r3   r4   r:   ¨   ó   zBetaWithRawResponse.responsesr   c                 C  rY   r/   )r   rU   r<   r1   r3   r3   r4   r<   ­   rZ   zBetaWithRawResponse.chatkitr   c                 C  rY   r=   )r   rU   r>   r1   r3   r3   r4   r>   ±   r[   zBetaWithRawResponse.assistantsr   c                 C  rY   r=   )r   rU   r?   r1   r3   r3   r4   r?   ¶   r[   zBetaWithRawResponse.threadsN©rQ   r*   r-   rR   )r-   r   )r-   r&   )r-   r   )r-   r   )r-   r   ©
rJ   rK   rL   rW   r   r8   r:   r<   r>   r?   r3   r3   r3   r4   r@       ó    
r@   c                   @  rP   )rN   rQ   r+   r-   rR   c                 C  rS   r/   rT   rV   r3   r3   r4   rW   ½   rX   z!AsyncBetaWithRawResponse.__init__r   c                 C  rY   r/   )r   rU   r8   r1   r3   r3   r4   r8   À   rZ   zAsyncBetaWithRawResponse.agentsr'   c                 C  rY   r9   )r'   rU   r:   r1   r3   r3   r4   r:   Ä   r[   z"AsyncBetaWithRawResponse.responsesr   c                 C  rY   r/   )r   rU   r<   r1   r3   r3   r4   r<   É   rZ   z AsyncBetaWithRawResponse.chatkitr	   c                 C  rY   r=   )r	   rU   r>   r1   r3   r3   r4   r>   Í   r[   z#AsyncBetaWithRawResponse.assistantsr   c                 C  rY   r=   )r   rU   r?   r1   r3   r3   r4   r?   Ò   r[   z AsyncBetaWithRawResponse.threadsN©rQ   r+   r-   rR   )r-   r   )r-   r'   )r-   r   )r-   r	   )r-   r   r]   r3   r3   r3   r4   rN   ¼   r^   rN   c                   @  rP   )rE   rQ   r*   r-   rR   c                 C  rS   r/   rT   rV   r3   r3   r4   rW   Ù   rX   z"BetaWithStreamingResponse.__init__r   c                 C  rY   r/   )r   rU   r8   r1   r3   r3   r4   r8   Ü   rZ   z BetaWithStreamingResponse.agentsr(   c                 C  rY   r9   )r(   rU   r:   r1   r3   r3   r4   r:   à   r[   z#BetaWithStreamingResponse.responsesr   c                 C  rY   r/   )r   rU   r<   r1   r3   r3   r4   r<   å   rZ   z!BetaWithStreamingResponse.chatkitr
   c                 C  rY   r=   )r
   rU   r>   r1   r3   r3   r4   r>   é   r[   z$BetaWithStreamingResponse.assistantsr   c                 C  rY   r=   )r   rU   r?   r1   r3   r3   r4   r?   î   r[   z!BetaWithStreamingResponse.threadsNr\   )r-   r   )r-   r(   )r-   r   )r-   r
   )r-   r   r]   r3   r3   r3   r4   rE   Ø   r^   rE   c                   @  rP   )rO   rQ   r+   r-   rR   c                 C  rS   r/   rT   rV   r3   r3   r4   rW   õ   rX   z'AsyncBetaWithStreamingResponse.__init__r   c                 C  rY   r/   )r   rU   r8   r1   r3   r3   r4   r8   ø   rZ   z%AsyncBetaWithStreamingResponse.agentsr)   c                 C  rY   r9   )r)   rU   r:   r1   r3   r3   r4   r:   ü   r[   z(AsyncBetaWithStreamingResponse.responsesr   c                 C  rY   r/   )r   rU   r<   r1   r3   r3   r4   r<     rZ   z&AsyncBetaWithStreamingResponse.chatkitr   c                 C  rY   r=   )r   rU   r>   r1   r3   r3   r4   r>     r[   z)AsyncBetaWithStreamingResponse.assistantsr   c                 C  rY   r=   )r   rU   r?   r1   r3   r3   r4   r?   
  r[   z&AsyncBetaWithStreamingResponse.threadsNr_   )r-   r   )r-   r)   )r-   r   )r-   r   )r-   r   r]   r3   r3   r3   r4   rO   ô   r^   rO   N)7Ú
__future__r   Ú_compatr   r>   r   r   r   r	   r
   r   Ú	_resourcer   r   Úagents.agentsr   r   r   r   r   r   Úchatkit.chatkitr   r   r   r   r   r   Úthreads.threadsr   r   r   r   r   r   Úresources.chatr    r!   Úrealtime.realtimer"   r#   Úresponses.responsesr$   r%   r&   r'   r(   r)   Ú__all__r*   r+   r@   rN   rE   rO   r3   r3   r3   r4   Ú<module>   s"        	44