
    OYhf                       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	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   )cached_property)SyncAPIResourceAsyncAPIResource)TranslationsAsyncTranslationsTranslationsWithRawResponse AsyncTranslationsWithRawResponse!TranslationsWithStreamingResponse&AsyncTranslationsWithStreamingResponse)TranscriptionsAsyncTranscriptionsTranscriptionsWithRawResponse"AsyncTranscriptionsWithRawResponse#TranscriptionsWithStreamingResponse(AsyncTranscriptionsWithStreamingResponseAudio
AsyncAudioc                  f    e Z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 N)r   _clientselfs    [/var/www/feuerwehr-webapp/venv/lib/python3.12/site-packages/openai/resources/audio/audio.pytranscriptionszAudio.transcriptions$   s    dll++    c                ,    t        | j                        S r   )r   r    r!   s    r#   translationszAudio.translations(   s    DLL))r%   c                ,    t        | j                        S r   )r   r    r!   s    r#   speechzAudio.speech,   s    dll##r%   c                    t        |       S r   )AudioWithRawResponser!   s    r#   with_raw_responsezAudio.with_raw_response0   s    #D))r%   c                    t        |       S r   )AudioWithStreamingResponser!   s    r#   with_streaming_responsezAudio.with_streaming_response4   s    )$//r%   N)returnr   )r0   r   )r0   r   )r0   r+   )r0   r.   	__name__
__module____qualname__r   r$   r'   r)   r,   r/    r%   r#   r   r   #   sd    , , * * $ $ * * 0 0r%   c                  f    e Z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.transcriptions:   s    "4<<00r%   c                ,    t        | j                        S r   )r   r    r!   s    r#   r'   zAsyncAudio.translations>   s     ..r%   c                ,    t        | j                        S r   )r   r    r!   s    r#   r)   zAsyncAudio.speechB   s    4<<((r%   c                    t        |       S r   )AsyncAudioWithRawResponser!   s    r#   r,   zAsyncAudio.with_raw_responseF   s    (..r%   c                    t        |       S r   )AsyncAudioWithStreamingResponser!   s    r#   r/   z"AsyncAudio.with_streaming_responseJ   s    .t44r%   N)r0   r   )r0   r   )r0   r   )r0   r;   )r0   r=   r1   r5   r%   r#   r   r   9   sd    1 1 / / ) ) / / 5 5r%   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r+   c                    || _         y r   _audior"   audios     r#   __init__zAudioWithRawResponse.__init__P   	    r%   c                @    t        | j                  j                        S r   )r   rA   r$   r!   s    r#   r$   z#AudioWithRawResponse.transcriptionsS   s    ,T[[-G-GHHr%   c                @    t        | j                  j                        S r   )r   rA   r'   r!   s    r#   r'   z!AudioWithRawResponse.translationsW   s    *4;;+C+CDDr%   c                @    t        | j                  j                        S r   )r   rA   r)   r!   s    r#   r)   zAudioWithRawResponse.speech[   s    $T[[%7%788r%   NrC   r   r0   None)r0   r   )r0   r   )r0   r   r2   r3   r4   rD   r   r$   r'   r)   r5   r%   r#   r+   r+   O   sG     I I E E 9 9r%   r+   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r;   c                    || _         y r   r@   rB   s     r#   rD   z"AsyncAudioWithRawResponse.__init__a   rE   r%   c                @    t        | j                  j                        S r   )r   rA   r$   r!   s    r#   r$   z(AsyncAudioWithRawResponse.transcriptionsd   s    1$++2L2LMMr%   c                @    t        | j                  j                        S r   )r   rA   r'   r!   s    r#   r'   z&AsyncAudioWithRawResponse.translationsh   s    /0H0HIIr%   c                @    t        | j                  j                        S r   )r   rA   r)   r!   s    r#   r)   z AsyncAudioWithRawResponse.speechl   s    )$++*<*<==r%   NrC   r   r0   rJ   )r0   r   )r0   r   )r0   r   rK   r5   r%   r#   r;   r;   `   sG     N N J J > >r%   r;   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r.   c                    || _         y r   r@   rB   s     r#   rD   z#AudioWithStreamingResponse.__init__r   rE   r%   c                @    t        | j                  j                        S r   )r   rA   r$   r!   s    r#   r$   z)AudioWithStreamingResponse.transcriptionsu   s    24;;3M3MNNr%   c                @    t        | j                  j                        S r   )r   rA   r'   r!   s    r#   r'   z'AudioWithStreamingResponse.translationsy   s    01I1IJJr%   c                @    t        | j                  j                        S r   )r	   rA   r)   r!   s    r#   r)   z!AudioWithStreamingResponse.speech}   s    *4;;+=+=>>r%   NrI   )r0   r   )r0   r   )r0   r	   rK   r5   r%   r#   r.   r.   q   sG     O O K K ? ?r%   r.   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r=   c                    || _         y r   r@   rB   s     r#   rD   z(AsyncAudioWithStreamingResponse.__init__   rE   r%   c                @    t        | j                  j                        S r   )r   rA   r$   r!   s    r#   r$   z.AsyncAudioWithStreamingResponse.transcriptions   s    78R8RSSr%   c                @    t        | j                  j                        S r   )r   rA   r'   r!   s    r#   r'   z,AsyncAudioWithStreamingResponse.translations   s    5dkk6N6NOOr%   c                @    t        | j                  j                        S r   )r
   rA   r)   r!   s    r#   r)   z&AsyncAudioWithStreamingResponse.speech   s    /0B0BCCr%   NrQ   )r0   r   )r0   r   )r0   r
   rK   r5   r%   r#   r=   r=      sI     T T P P D Dr%   r=   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   r+   r;   r.   r=   r5   r%   r#   <module>r`      s    #  ' :   L
!0O 0,5! 5,9 9"> >"? ?"D Dr%   