
    _jQ                       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      $ z(Turn audio into text or text into audio.)r   _clientselfs    Q/home/rurouni/.local/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_response3   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   G   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   r%   AsyncAudio.transcriptionsH   s     #4<<00r'   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   r)   AsyncAudio.translationsM   s     !..r'   c                ,    [        U R                  5      $ r    )r   r!   r"   s    r$   r,   AsyncAudio.speechR   s     4<<((r'   c                    [        U 5      $ r/   )AsyncAudioWithRawResponser"   s    r$   r1   AsyncAudio.with_raw_responseW   s     )..r'   c                    [        U 5      $ r4   )AsyncAudioWithStreamingResponser"   s    r$   r6   "AsyncAudio.with_streaming_responsea   s     /t44r'   r8   N)r9   r   )r9   r   )r9   r   )r9   rI   )r9   rL   r:   r8   r'   r$   r   r   G   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   k   c                    Xl         g N_audior#   audios     r$   __init__AudioWithRawResponse.__init__l       r'   c                @    [        U R                  R                  5      $ r    )r   rS   r%   r"   s    r$   r%   #AudioWithRawResponse.transcriptionso   s     -T[[-G-GHHr'   c                @    [        U R                  R                  5      $ r    )r   rS   r)   r"   s    r$   r)   !AudioWithRawResponse.translationst   s     +4;;+C+CDDr'   c                @    [        U R                  R                  5      $ r    )r   rS   r,   r"   s    r$   r,   AudioWithRawResponse.speechy   s     %T[[%7%788r'   rR   NrU   r   r9   None)r9   r   )r9   r   )r9   r   
r;   r<   r=   r>   rV   r   r%   r)   r,   r?   r8   r'   r$   r0   r0   k   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      c                    Xl         g rQ   rR   rT   s     r$   rV   "AsyncAudioWithRawResponse.__init__   rX   r'   c                @    [        U R                  R                  5      $ r    )r   rS   r%   r"   s    r$   r%   (AsyncAudioWithRawResponse.transcriptions   s     2$++2L2LMMr'   c                @    [        U R                  R                  5      $ r    )r   rS   r)   r"   s    r$   r)   &AsyncAudioWithRawResponse.translations   s     00H0HIIr'   c                @    [        U R                  R                  5      $ r    )r   rS   r,   r"   s    r$   r,    AsyncAudioWithRawResponse.speech   s     *$++*<*<==r'   rR   NrU   r   r9   r`   )r9   r   )r9   r   )r9   r   ra   r8   r'   r$   rI   rI      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 rQ   rR   rT   s     r$   rV   #AudioWithStreamingResponse.__init__   rX   r'   c                @    [        U R                  R                  5      $ r    )r   rS   r%   r"   s    r$   r%   )AudioWithStreamingResponse.transcriptions   s     34;;3M3MNNr'   c                @    [        U R                  R                  5      $ r    )r   rS   r)   r"   s    r$   r)   'AudioWithStreamingResponse.translations   s     11I1IJJr'   c                @    [        U R                  R                  5      $ r    )r	   rS   r,   r"   s    r$   r,   !AudioWithStreamingResponse.speech   s     +4;;+=+=>>r'   rR   Nr_   )r9   r   )r9   r   )r9   r	   ra   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 rQ   rR   rT   s     r$   rV   (AsyncAudioWithStreamingResponse.__init__   rX   r'   c                @    [        U R                  R                  5      $ r    )r   rS   r%   r"   s    r$   r%   .AsyncAudioWithStreamingResponse.transcriptions   s     88R8RSSr'   c                @    [        U R                  R                  5      $ r    )r   rS   r)   r"   s    r$   r)   ,AsyncAudioWithStreamingResponse.translations   s     6dkk6N6NOOr'   c                @    [        U R                  R                  5      $ r    )r
   rS   r,   r"   s    r$   r,   &AsyncAudioWithStreamingResponse.speech   s     00B0BCCr'   rR   Nrl   )r9   r   )r9   r   )r9   r
   ra   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 !0H!5! !5H9 9(> >(? ?(D Dr'   