@langwatch/scenario
    Preparing search index...

    Interface VoiceConfig

    Per-run voice config that rides on ScenarioConfig.voice.

    stt accepts either a concrete STTProvider instance (BYO) or an SttConfig descriptor (resolved through the provider router). When unset, the resolver constructs the default OpenAI provider per-run.

    interface VoiceConfig {
        audioPlayback?: boolean;
        defaultAudioFormat?: AudioFormat;
        includeAudio?: boolean;
        includeTimeline?: boolean;
        includeTraces?: boolean;
        stt?: STTProvider | SttConfig;
        tts?: TtsConfig;
    }
    Index

    Properties

    audioPlayback?: boolean

    Stream conversation audio to local speakers during the run (PRD §4.7).

    defaultAudioFormat?: AudioFormat

    Default in-message audio format (defaults to DEFAULT_AUDIO_FORMAT).

    includeAudio?: boolean
    includeTimeline?: boolean
    includeTraces?: boolean

    Custom provider instance, or a descriptor to resolve via the router.

    tts?: TtsConfig

    TTS provider + voice routing for the user simulator.