from dataclasses import dataclass, field


@dataclass
class DashScopeASRSTTHandlerArguments:
    dashscope_asr_api_key: str = field(
        default="",
        metadata={"help": "DashScope API key (or set DASHSCOPE_API_KEY env)."},
    )
    dashscope_asr_model: str = field(
        default="qwen3-asr-flash-realtime",
        metadata={"help": "Bailian realtime ASR model id, e.g. qwen3-asr-flash-realtime."},
    )
    dashscope_asr_language: str = field(
        default="zh",
        metadata={"help": "Recognition language hint, e.g. zh."},
    )
    dashscope_asr_sample_rate: int = field(
        default=16000,
        metadata={"help": "Sample rate of the pipeline audio (must match VAD output)."},
    )
