
    hs                       S SK Jr  SSKJrJrJrJrJrJr  SSK	J
r
  SSKJrJr  SSKJrJrJrJrJrJr  SSKJrJrJrJrJrJr  S	S
/r " S S	\5      r " S S
\5      r " S S5      r " S S5      r  " S S5      r! " S S5      r"g)    )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                  x    \ rS rSr\S	S j5       r\S
S j5       r\SS j5       r\SS j5       r\SS j5       r	Sr
g)r   #   c                ,    [        U R                  5      $ N)r   _clientselfs    N/var/www/html/env/lib/python3.13/site-packages/openai/resources/audio/audio.pytranscriptionsAudio.transcriptions$   s    dll++    c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   translationsAudio.translations(   s    DLL))r'   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   speechAudio.speech,   s    dll##r'   c                    [        U 5      $ z
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_responseAudio.with_raw_response0   s     $D))r'   c                    [        U 5      $ 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_responseAudio.with_streaming_response:   s     *$//r'    N)returnr   )r9   r   )r9   r   )r9   r0   )r9   r5   __name__
__module____qualname____firstlineno__r   r%   r)   r,   r1   r6   __static_attributes__r8   r'   r$   r   r   #   sd    , , * * $ $ * * 0 0r'   c                  x    \ rS rSr\S	S j5       r\S
S j5       r\SS j5       r\SS j5       r\SS j5       r	Sr
g)r   D   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   r%   AsyncAudio.transcriptionsE   s    "4<<00r'   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   r)   AsyncAudio.translationsI   s     ..r'   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   r,   AsyncAudio.speechM   s    4<<((r'   c                    [        U 5      $ r/   )AsyncAudioWithRawResponser"   s    r$   r1   AsyncAudio.with_raw_responseQ   s     )..r'   c                    [        U 5      $ r4   )AsyncAudioWithStreamingResponser"   s    r$   r6   "AsyncAudio.with_streaming_response[   s     /t44r'   r8   N)r9   r   )r9   r   )r9   r   )r9   rI   )r9   rL   r:   r8   r'   r$   r   r   D   sd    1 1 / / ) ) / / 5 5r'   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)r0   e   c                    Xl         g r    _audior#   audios     r$   __init__AudioWithRawResponse.__init__f       r'   c                @    [        U R                  R                  5      $ r    )r   rR   r%   r"   s    r$   r%   #AudioWithRawResponse.transcriptionsi   s    ,T[[-G-GHHr'   c                @    [        U R                  R                  5      $ r    )r   rR   r)   r"   s    r$   r)   !AudioWithRawResponse.translationsm   s    *4;;+C+CDDr'   c                @    [        U R                  R                  5      $ r    )r   rR   r,   r"   s    r$   r,   AudioWithRawResponse.speechq   s    $T[[%7%788r'   rQ   NrT   r   r9   None)r9   r   )r9   r   )r9   r   
r;   r<   r=   r>   rU   r   r%   r)   r,   r?   r8   r'   r$   r0   r0   e   sG     I I E E 9 9r'   r0   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)rI   v   c                    Xl         g r    rQ   rS   s     r$   rU   "AsyncAudioWithRawResponse.__init__w   rW   r'   c                @    [        U R                  R                  5      $ r    )r   rR   r%   r"   s    r$   r%   (AsyncAudioWithRawResponse.transcriptionsz   s    1$++2L2LMMr'   c                @    [        U R                  R                  5      $ r    )r   rR   r)   r"   s    r$   r)   &AsyncAudioWithRawResponse.translations~   s    /0H0HIIr'   c                @    [        U R                  R                  5      $ r    )r   rR   r,   r"   s    r$   r,    AsyncAudioWithRawResponse.speech   s    )$++*<*<==r'   rQ   NrT   r   r9   r_   )r9   r   )r9   r   )r9   r   r`   r8   r'   r$   rI   rI   v   sG     N N J J > >r'   rI   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)r5      c                    Xl         g r    rQ   rS   s     r$   rU   #AudioWithStreamingResponse.__init__   rW   r'   c                @    [        U R                  R                  5      $ r    )r   rR   r%   r"   s    r$   r%   )AudioWithStreamingResponse.transcriptions   s    24;;3M3MNNr'   c                @    [        U R                  R                  5      $ r    )r   rR   r)   r"   s    r$   r)   'AudioWithStreamingResponse.translations   s    01I1IJJr'   c                @    [        U R                  R                  5      $ r    )r	   rR   r,   r"   s    r$   r,   !AudioWithStreamingResponse.speech   s    *4;;+=+=>>r'   rQ   Nr^   )r9   r   )r9   r   )r9   r	   r`   r8   r'   r$   r5   r5      sG     O O K K ? ?r'   r5   c                  Z    \ rS rSrSS jr\S	S j5       r\S
S j5       r\SS j5       rSr	g)rL      c                    Xl         g r    rQ   rS   s     r$   rU   (AsyncAudioWithStreamingResponse.__init__   rW   r'   c                @    [        U R                  R                  5      $ r    )r   rR   r%   r"   s    r$   r%   .AsyncAudioWithStreamingResponse.transcriptions   s    78R8RSSr'   c                @    [        U R                  R                  5      $ r    )r   rR   r)   r"   s    r$   r)   ,AsyncAudioWithStreamingResponse.translations   s    5dkk6N6NOOr'   c                @    [        U R                  R                  5      $ r    )r
   rR   r,   r"   s    r$   r,   &AsyncAudioWithStreamingResponse.speech   s    /0B0BCCr'   rQ   Nrk   )r9   r   )r9   r   )r9   r
   r`   r8   r'   r$   rL   rL      sI     T T P P D Dr'   rL   N)#
__future__r   r,   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   r0   rI   r5   rL   r8   r'   r$   <module>r      s    #  ' :   L
!0O 0B5! 5B9 9"> >"? ?"D Dr'   