o
    qmœiÎ  ã                   @   s2   d dl Z d dlZddlmZ G dd„ dejƒZdS )é    Né   )ÚConfigureConnectionDataParamsc                   @   s(   e Zd ZU dZejd ed< eed< dS )ÚConfigureConnectionParamsa‰  
    Configuration message required as the first message after establishing the WebSocket connection.
    This initializes TTS parameters and can be updated at any time during the WebSocket lifecycle
    by sending a new config message. When a config update is sent, any text currently in the buffer
    will be automatically flushed and processed before applying the new configuration.

    **Model-Specific Notes:**
    - **bulbul:v2:** Supports pitch, loudness, pace (0.3-3.0). Default sample rate: 22050 Hz.
    - **bulbul:v3-beta:** Does NOT support pitch/loudness. Pace range: 0.5-2.0. Supports temperature. Default sample rate: 24000 Hz.
    ÚconfigÚtypeÚdataN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚtypingÚLiteralÚ__annotations__r   © r   r   úZ/home/ubuntu/.local/lib/python3.10/site-packages/sarvamai/requests/configure_connection.pyr   	   s   
 r   )r   Útyping_extensionsÚconfigure_connection_datar   Ú	TypedDictr   r   r   r   r   Ú<module>   s   