Ë
    ïÏj3  ã                  ó0  — 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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
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é   )ÚSpeechÚAsyncSpeechÚSpeechWithRawResponseÚAsyncSpeechWithRawResponseÚSpeechWithStreamingResponseÚ AsyncSpeechWithStreamingResponse)ÚVoicesÚAsyncVoicesÚVoicesWithRawResponseÚAsyncVoicesWithRawResponseÚVoicesWithStreamingResponseÚ AsyncVoicesWithStreamingResponseé   )Úcached_property)ÚSyncAPIResourceÚAsyncAPIResource)ÚTranslationsÚAsyncTranslationsÚTranslationsWithRawResponseÚ AsyncTranslationsWithRawResponseÚ!TranslationsWithStreamingResponseÚ&AsyncTranslationsWithStreamingResponse)ÚTranscriptionsÚAsyncTranscriptionsÚTranscriptionsWithRawResponseÚ"AsyncTranscriptionsWithRawResponseÚ#TranscriptionsWithStreamingResponseÚ(AsyncTranscriptionsWithStreamingResponseÚAudioÚ
AsyncAudioc                  ó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 ©z(Turn audio into text or text into audio.)r   Ú_client©Úselfs    úY/var/www/html/gaurav-v2/venv/lib/python3.12/site-packages/openai/resources/audio/audio.pyÚtranscriptionszAudio.transcriptions,   s   € ô ˜dŸl™lÓ+Ð+ó    c                ó,   — t        | j                  «      S r%   )r   r&   r'   s    r)   ÚtranslationszAudio.translations1   s   € ô ˜DŸL™LÓ)Ð)r+   c                ó,   — t        | j                  «      S r%   )r   r&   r'   s    r)   ÚspeechzAudio.speech6   ó   € ô �d—l‘lÓ#Ð#r+   c                ó,   — t        | j                  «      S r%   )r   r&   r'   s    r)   ÚvoiceszAudio.voices;   r0   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
        )ÚAudioWithRawResponser'   s    r)   Úwith_raw_responsezAudio.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
        )ÚAudioWithStreamingResponser'   s    r)   Úwith_streaming_responsezAudio.with_streaming_responseJ   s   € ô *¨$Ó/Ð/r+   N)Úreturnr   )r;   r   )r;   r   )r;   r   )r;   r5   )r;   r9   ©
Ú__name__Ú
__module__Ú__qualname__r   r*   r-   r/   r2   r6   r:   © r+   r)   r!   r!   +   sx   „ Øò,ó ð,ð ò*ó ð*ð ò$ó ð$ð ò$ó ð$ð ò*ó ð*ð ò0ó ñ0r+   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AsyncAudio.transcriptionsU   s   € ô # 4§<¡<Ó0Ð0r+   c                ó,   — t        | j                  «      S r%   )r   r&   r'   s    r)   r-   zAsyncAudio.translationsZ   s   € ô ! §¡Ó.Ð.r+   c                ó,   — t        | j                  «      S r%   )r   r&   r'   s    r)   r/   zAsyncAudio.speech_   ó   € ô ˜4Ÿ<™<Ó(Ð(r+   c                ó,   — t        | j                  «      S r%   )r   r&   r'   s    r)   r2   zAsyncAudio.voicesd   rE   r+   c                ó   — t        | «      S r4   )ÚAsyncAudioWithRawResponser'   s    r)   r6   zAsyncAudio.with_raw_responsei   s   € ô )¨Ó.Ð.r+   c                ó   — t        | «      S r8   )ÚAsyncAudioWithStreamingResponser'   s    r)   r:   z"AsyncAudio.with_streaming_responses   s   € ô /¨tÓ4Ð4r+   N)r;   r   )r;   r   )r;   r   )r;   r   )r;   rH   )r;   rJ   r<   r@   r+   r)   r"   r"   T   sx   „ Øò1ó ð1ð ò/ó ð/ð ò)ó ð)ð ò)ó ð)ð ò/ó ð/ð ò5ó ñ5r+   c                  ó\   — e Zd Zdd„Zedd„«       Zed	d„«       Zed
d„«       Zedd„«       Zy)r5   c                ó   — || _         y ©N©Ú_audio©r(   Úaudios     r)   Ú__init__zAudioWithRawResponse.__init__~   ó	   € Øˆ�r+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r*   r'   s    r)   r*   z#AudioWithRawResponse.transcriptions�   s   € ô -¨T¯[©[×-GÑ-GÓHÐHr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r-   r'   s    r)   r-   z!AudioWithRawResponse.translations†   s   € ô +¨4¯;©;×+CÑ+CÓDÐDr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r/   r'   s    r)   r/   zAudioWithRawResponse.speech‹   ó   € ô % T§[¡[×%7Ñ%7Ó8Ð8r+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r2   r'   s    r)   r2   zAudioWithRawResponse.voices�   rW   r+   N©rQ   r!   r;   ÚNone)r;   r   )r;   r   )r;   r   )r;   r   ©	r=   r>   r?   rR   r   r*   r-   r/   r2   r@   r+   r)   r5   r5   }   s[   „ óð òIó ðIð òEó ðEð ò9ó ð9ð ò9ó ñ9r+   r5   c                  ó\   — e Zd Zdd„Zedd„«       Zed	d„«       Zed
d„«       Zedd„«       Zy)rH   c                ó   — || _         y rM   rN   rP   s     r)   rR   z"AsyncAudioWithRawResponse.__init__—   rS   r+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r*   r'   s    r)   r*   z(AsyncAudioWithRawResponse.transcriptionsš   s   € ô 2°$·+±+×2LÑ2LÓMÐMr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r-   r'   s    r)   r-   z&AsyncAudioWithRawResponse.translationsŸ   s   € ô 0°·±×0HÑ0HÓIÐIr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r/   r'   s    r)   r/   z AsyncAudioWithRawResponse.speech¤   ó   € ô *¨$¯+©+×*<Ñ*<Ó=Ð=r+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r2   r'   s    r)   r2   z AsyncAudioWithRawResponse.voices©   ra   r+   N©rQ   r"   r;   rZ   )r;   r   )r;   r   )r;   r   )r;   r   r[   r@   r+   r)   rH   rH   –   s[   „ óð òNó ðNð òJó ðJð ò>ó ð>ð ò>ó ñ>r+   rH   c                  ó\   — e Zd Zdd„Zedd„«       Zed	d„«       Zed
d„«       Zedd„«       Zy)r9   c                ó   — || _         y rM   rN   rP   s     r)   rR   z#AudioWithStreamingResponse.__init__°   rS   r+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r*   r'   s    r)   r*   z)AudioWithStreamingResponse.transcriptions³   s   € ô 3°4·;±;×3MÑ3MÓNÐNr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r-   r'   s    r)   r-   z'AudioWithStreamingResponse.translations¸   s   € ô 1°·±×1IÑ1IÓJÐJr+   c                ó@   — t        | j                  j                  «      S r%   )r	   rO   r/   r'   s    r)   r/   z!AudioWithStreamingResponse.speech½   ó   € ô +¨4¯;©;×+=Ñ+=Ó>Ð>r+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r2   r'   s    r)   r2   z!AudioWithStreamingResponse.voicesÂ   ri   r+   NrY   )r;   r   )r;   r   )r;   r	   )r;   r   r[   r@   r+   r)   r9   r9   ¯   s[   „ óð òOó ðOð òKó ðKð ò?ó ð?ð ò?ó ñ?r+   r9   c                  ó\   — e Zd Zdd„Zedd„«       Zed	d„«       Zed
d„«       Zedd„«       Zy)rJ   c                ó   — || _         y rM   rN   rP   s     r)   rR   z(AsyncAudioWithStreamingResponse.__init__É   rS   r+   c                ó@   — t        | j                  j                  «      S r%   )r    rO   r*   r'   s    r)   r*   z.AsyncAudioWithStreamingResponse.transcriptionsÌ   s   € ô 8¸¿¹×8RÑ8RÓSÐSr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r-   r'   s    r)   r-   z,AsyncAudioWithStreamingResponse.translationsÑ   s   € ô 6°d·k±k×6NÑ6NÓOÐOr+   c                ó@   — t        | j                  j                  «      S r%   )r
   rO   r/   r'   s    r)   r/   z&AsyncAudioWithStreamingResponse.speechÖ   ó   € ô 0°·±×0BÑ0BÓCÐCr+   c                ó@   — t        | j                  j                  «      S r%   )r   rO   r2   r'   s    r)   r2   z&AsyncAudioWithStreamingResponse.voicesÛ   rp   r+   Nrc   )r;   r    )r;   r   )r;   r
   )r;   r   r[   r@   r+   r)   rJ   rJ   È   s_   „ óð òTó ðTð òPó ðPð òDó ðDð òDó ñDr+   rJ   N)*Ú
__future__r   r/   r   r   r   r   r	   r
   r2   r   r   r   r   r   r   Ú_compatr   Ú	_resourcer   r   r-   r   r   r   r   r   r   r*   r   r   r   r   r   r    Ú__all__r!   r"   r5   rH   r9   rJ   r@   r+   r)   Ú<module>rv      s‹   ðõ #÷÷ ÷÷ õ 'ß :÷÷ ÷÷ ð �LÐ
!€ô&0ˆOô &0ôR&5Ð!ô &5÷R9ñ 9÷2>ñ >÷2?ñ ?÷2Dò Dr+   