a
    _gs                     @  s   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mZmZmZmZ d	d
gZG dd	 d	eZG dd
 d
eZG dd dZG dd dZ G dd dZ!G dd dZ"dS )    )annotations   )SpeechAsyncSpeechSpeechWithRawResponseAsyncSpeechWithRawResponseSpeechWithStreamingResponse AsyncSpeechWithStreamingResponse   )cached_property)SyncAPIResourceAsyncAPIResource)TranslationsAsyncTranslationsTranslationsWithRawResponse AsyncTranslationsWithRawResponse!TranslationsWithStreamingResponse&AsyncTranslationsWithStreamingResponse)TranscriptionsAsyncTranscriptionsTranscriptionsWithRawResponse"AsyncTranscriptionsWithRawResponse#TranscriptionsWithStreamingResponse(AsyncTranscriptionsWithStreamingResponseAudio
AsyncAudioc                   @  sf   e Zd ZeddddZeddddZeddd	d
ZeddddZeddddZdS )r   r   returnc                 C  s
   t | jS N)r   _clientself r"   j/var/www/html/cobodadashboardai.evdpl.com/venv/lib/python3.9/site-packages/openai/resources/audio/audio.pytranscriptions$   s    zAudio.transcriptionsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   translations(   s    zAudio.translationsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   speech,   s    zAudio.speechAudioWithRawResponsec                 C  s   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    r"   r"   r#   with_raw_response0   s    zAudio.with_raw_responseAudioWithStreamingResponsec                 C  s   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    r"   r"   r#   with_streaming_response:   s    zAudio.with_streaming_responseN	__name__
__module____qualname__r   r$   r%   r&   r)   r,   r"   r"   r"   r#   r   #   s   	c                   @  sf   e Zd ZeddddZeddddZeddd	d
ZeddddZeddddZdS )r   r   r   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   r$   E   s    zAsyncAudio.transcriptionsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   r%   I   s    zAsyncAudio.translationsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   r&   M   s    zAsyncAudio.speechAsyncAudioWithRawResponsec                 C  s   t | S r(   )r1   r    r"   r"   r#   r)   Q   s    zAsyncAudio.with_raw_responseAsyncAudioWithStreamingResponsec                 C  s   t | S r+   )r2   r    r"   r"   r#   r,   [   s    z"AsyncAudio.with_streaming_responseNr-   r"   r"   r"   r#   r   D   s   	c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r'   r   Noneaudior   c                 C  s
   || _ d S r   _audior!   r5   r"   r"   r#   __init__f   s    zAudioWithRawResponse.__init__r   r   c                 C  s   t | jjS r   )r   r7   r$   r    r"   r"   r#   r$   i   s    z#AudioWithRawResponse.transcriptionsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%   m   s    z!AudioWithRawResponse.translationsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&   q   s    zAudioWithRawResponse.speechNr.   r/   r0   r9   r   r$   r%   r&   r"   r"   r"   r#   r'   e   s   r'   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r1   r   r3   r4   c                 C  s
   || _ d S r   r6   r8   r"   r"   r#   r9   w   s    z"AsyncAudioWithRawResponse.__init__r   r   c                 C  s   t | jjS r   )r   r7   r$   r    r"   r"   r#   r$   z   s    z(AsyncAudioWithRawResponse.transcriptionsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%   ~   s    z&AsyncAudioWithRawResponse.translationsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&      s    z AsyncAudioWithRawResponse.speechNr:   r"   r"   r"   r#   r1   v   s   r1   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r*   r   r3   r4   c                 C  s
   || _ d S r   r6   r8   r"   r"   r#   r9      s    z#AudioWithStreamingResponse.__init__r   r   c                 C  s   t | jjS r   )r   r7   r$   r    r"   r"   r#   r$      s    z)AudioWithStreamingResponse.transcriptionsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%      s    z'AudioWithStreamingResponse.translationsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&      s    z!AudioWithStreamingResponse.speechNr:   r"   r"   r"   r#   r*      s   r*   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r2   r   r3   r4   c                 C  s
   || _ d S r   r6   r8   r"   r"   r#   r9      s    z(AsyncAudioWithStreamingResponse.__init__r   r   c                 C  s   t | jjS r   )r   r7   r$   r    r"   r"   r#   r$      s    z.AsyncAudioWithStreamingResponse.transcriptionsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%      s    z,AsyncAudioWithStreamingResponse.translationsr	   c                 C  s   t | jjS r   )r	   r7   r&   r    r"   r"   r#   r&      s    z&AsyncAudioWithStreamingResponse.speechNr:   r"   r"   r"   r#   r2      s   r2   N)#
__future__r   r&   r   r   r   r   r   r	   Z_compatr   Z	_resourcer   r   r%   r   r   r   r   r   r   r$   r   r   r   r   r   r   __all__r   r   r'   r1   r*   r2   r"   r"   r"   r#   <module>   s      	!!