# This file was auto-generated by Fern from our API Definition.

import typing_extensions
from ..types.speech_to_text_translate_model import SpeechToTextTranslateModel


class SpeechToTextTranslateJobParametersParams(typing_extensions.TypedDict):
    prompt: typing_extensions.NotRequired[str]
    """
    Prompt to assist the transcription
    """

    model: typing_extensions.NotRequired[SpeechToTextTranslateModel]
    """
    Model to be used for speech to text translation.
    
    - **saaras:v2.5** (default): Translation model that translates audio from any spoken Indic language to English.
      - Example: Hindi audio → English text output
    """

    with_diarization: typing_extensions.NotRequired[bool]
    """
    Enables speaker diarization, which identifies and separates different speakers in the audio.
     When set to true, the API will provide speaker-specific segments in the response.
     Note: This parameter is currently in Beta mode.
    """

    num_speakers: typing_extensions.NotRequired[int]
    """
    Number of speakers to be detected in the audio. This is used when with_diarization is set to true.
    """
