
    g                        d dl 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   )cached_property)SyncAPIResourceAsyncAPIResource   )TranslationsAsyncTranslationsTranslationsWithRawResponse AsyncTranslationsWithRawResponse!TranslationsWithStreamingResponse&AsyncTranslationsWithStreamingResponse)TranscriptionsAsyncTranscriptionsTranscriptionsWithRawResponse"AsyncTranscriptionsWithRawResponse#TranscriptionsWithStreamingResponse(AsyncTranscriptionsWithStreamingResponseAudio
AsyncAudioc                  T    e Z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    O/var/www/openai/venv/lib/python3.12/site-packages/groq/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        |       S a  
        This property can be used as a prefix for any HTTP method call to return the
        the raw response object instead of the parsed content.

        For more information, see https://www.github.com/groq/groq-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/groq/groq-python#with_streaming_response
        )AudioWithStreamingResponser   s    r   with_streaming_responsezAudio.with_streaming_response.   s     *$//r   N)returnr   )r*   r	   )r*   r$   )r*   r(   __name__
__module____qualname__r   r   r!   r%   r)    r   r   r   r      sP    , , * * * * 0 0r   c                  T    e Z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.transcriptions9   s    "4<<00r   c                ,    t        | j                        S r   )r
   r   r   s    r   r!   zAsyncAudio.translations=   s     ..r   c                    t        |       S r#   )AsyncAudioWithRawResponser   s    r   r%   zAsyncAudio.with_raw_responseA   s     )..r   c                    t        |       S r'   )AsyncAudioWithStreamingResponser   s    r   r)   z"AsyncAudio.with_streaming_responseK   s     /t44r   N)r*   r   )r*   r
   )r*   r4   )r*   r6   r+   r/   r   r   r   r   8   sP    1 1 / / / / 5 5r   c                  8    e Zd ZddZedd       Zedd       Zy)r$   c                    || _         y r   _audior   audios     r   __init__zAudioWithRawResponse.__init__V   	    r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z#AudioWithRawResponse.transcriptionsY   s    ,T[[-G-GHHr   c                @    t        | j                  j                        S r   )r   r:   r!   r   s    r   r!   z!AudioWithRawResponse.translations]   s    *4;;+C+CDDr   Nr<   r   r*   None)r*   r   )r*   r   r,   r-   r.   r=   r   r   r!   r/   r   r   r$   r$   U   s3     I I E Er   r$   c                  8    e Zd ZddZedd       Zedd       Zy)r4   c                    || _         y r   r9   r;   s     r   r=   z"AsyncAudioWithRawResponse.__init__c   r>   r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z(AsyncAudioWithRawResponse.transcriptionsf   s    1$++2L2LMMr   c                @    t        | j                  j                        S r   )r   r:   r!   r   s    r   r!   z&AsyncAudioWithRawResponse.translationsj   s    /0H0HIIr   Nr<   r   r*   rB   )r*   r   )r*   r   rC   r/   r   r   r4   r4   b   s3     N N J Jr   r4   c                  8    e Zd ZddZedd       Zedd       Zy)r(   c                    || _         y r   r9   r;   s     r   r=   z#AudioWithStreamingResponse.__init__p   r>   r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z)AudioWithStreamingResponse.transcriptionss   s    24;;3M3MNNr   c                @    t        | j                  j                        S r   )r   r:   r!   r   s    r   r!   z'AudioWithStreamingResponse.translationsw   s    01I1IJJr   NrA   )r*   r   )r*   r   rC   r/   r   r   r(   r(   o   s3     O O K Kr   r(   c                  8    e Zd ZddZedd       Zedd       Zy)r6   c                    || _         y r   r9   r;   s     r   r=   z(AsyncAudioWithStreamingResponse.__init__}   r>   r   c                @    t        | j                  j                        S r   )r   r:   r   r   s    r   r   z.AsyncAudioWithStreamingResponse.transcriptions   s    78R8RSSr   c                @    t        | j                  j                        S r   )r   r:   r!   r   s    r   r!   z,AsyncAudioWithStreamingResponse.translations   s    5dkk6N6NOOr   NrH   )r*   r   )r*   r   rC   r/   r   r   r6   r6   |   s3     T T P Pr   r6   N)
__future__r   _compatr   	_resourcer   r   r!   r	   r
   r   r   r   r   r   r   r   r   r   r   r   __all__r   r   r$   r4   r(   r6   r/   r   r   <module>rU      sy    # & :   L
!0O 0:5! 5:
E 
E
J 
J
K 
K
P 
Pr   