o
    hc                     @  s   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	 d	eZG dd
 d
eZG dd dZG dd dZ G dd dZ!G dd dZ"dS )    )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                   @  R   e Zd ZedddZedddZedd	d
ZedddZedddZdS )r   returnr   c                 C  
   t | jS N)r   _clientself r#   n/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/groq/resources/audio/audio.pyspeech$      
zAudio.speechr   c                 C  r   r   )r   r    r!   r#   r#   r$   transcriptions(   r&   zAudio.transcriptionsr   c                 C  r   r   )r   r    r!   r#   r#   r$   translations,   r&   zAudio.translationsAudioWithRawResponsec                 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/groq/groq-python#accessing-raw-response-data-eg-headers
        )r)   r!   r#   r#   r$   with_raw_response0      zAudio.with_raw_responseAudioWithStreamingResponsec                 C  r*   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
        )r.   r!   r#   r#   r$   with_streaming_response:      zAudio.with_streaming_responseN)r   r   )r   r   )r   r   )r   r)   )r   r.   	__name__
__module____qualname__r   r%   r'   r(   r,   r0   r#   r#   r#   r$   r   #       	c                   @  r   )r   r   r   c                 C  r   r   )r   r    r!   r#   r#   r$   r%   E   r&   zAsyncAudio.speechr   c                 C  r   r   )r   r    r!   r#   r#   r$   r'   I   r&   zAsyncAudio.transcriptionsr   c                 C  r   r   )r   r    r!   r#   r#   r$   r(   M   r&   zAsyncAudio.translationsAsyncAudioWithRawResponsec                 C  r*   r+   )r7   r!   r#   r#   r$   r,   Q   r-   zAsyncAudio.with_raw_responseAsyncAudioWithStreamingResponsec                 C  r*   r/   )r8   r!   r#   r#   r$   r0   [   r1   z"AsyncAudio.with_streaming_responseN)r   r   )r   r   )r   r   )r   r7   )r   r8   r2   r#   r#   r#   r$   r   D   r6   c                   @  @   e Zd ZdddZeddd	ZedddZedddZdS )r)   audior   r   Nonec                 C  
   || _ d S r   _audior"   r:   r#   r#   r$   __init__f      
zAudioWithRawResponse.__init__r   c                 C     t | jjS r   )r   r>   r%   r!   r#   r#   r$   r%   i      zAudioWithRawResponse.speechr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'   m   rC   z#AudioWithRawResponse.transcriptionsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(   q   rC   z!AudioWithRawResponse.translationsNr:   r   r   r;   )r   r   )r   r   )r   r   r3   r4   r5   r@   r   r%   r'   r(   r#   r#   r#   r$   r)   e       
r)   c                   @  r9   )r7   r:   r   r   r;   c                 C  r<   r   r=   r?   r#   r#   r$   r@   w   rA   z"AsyncAudioWithRawResponse.__init__r   c                 C  rB   r   )r   r>   r%   r!   r#   r#   r$   r%   z   rC   z AsyncAudioWithRawResponse.speechr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'   ~   rC   z(AsyncAudioWithRawResponse.transcriptionsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(      rC   z&AsyncAudioWithRawResponse.translationsNr:   r   r   r;   )r   r   )r   r   )r   r   rE   r#   r#   r#   r$   r7   v   rF   r7   c                   @  r9   )r.   r:   r   r   r;   c                 C  r<   r   r=   r?   r#   r#   r$   r@      rA   z#AudioWithStreamingResponse.__init__r   c                 C  rB   r   )r   r>   r%   r!   r#   r#   r$   r%      rC   z!AudioWithStreamingResponse.speechr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'      rC   z)AudioWithStreamingResponse.transcriptionsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(      rC   z'AudioWithStreamingResponse.translationsNrD   )r   r   )r   r   )r   r   rE   r#   r#   r#   r$   r.      rF   r.   c                   @  r9   )r8   r:   r   r   r;   c                 C  r<   r   r=   r?   r#   r#   r$   r@      rA   z(AsyncAudioWithStreamingResponse.__init__r	   c                 C  rB   r   )r	   r>   r%   r!   r#   r#   r$   r%      rC   z&AsyncAudioWithStreamingResponse.speechr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'      rC   z.AsyncAudioWithStreamingResponse.transcriptionsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(      rC   z,AsyncAudioWithStreamingResponse.translationsNrG   )r   r	   )r   r   )r   r   rE   r#   r#   r#   r$   r8      rF   r8   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)   r7   r.   r8   r#   r#   r#   r$   <module>   s      	!!