The configuration for speech interaction.

interface SpeechConfig {
    language?: string;
    speaker?: string;
    voice?: string;
}

Properties

language?: string

The language of the speech.

speaker?: string

The speaker's name, it should match the speaker name given in the prompt.

voice?: string

The voice of the speaker.