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

The configuration for speech interaction.

Type declaration

  • Optionallanguage?: string

    The language of the speech.

  • Optionalspeaker?: string

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

  • Optionalvoice?: string

    The voice of the speaker.