Interface PersonaVoiceConfig

Specifies the configuration for a persona's voice when generating audio output (Text-to-Speech).

Interface

PersonaVoiceConfig

interface PersonaVoiceConfig {
    provider?: string;
    voiceId?: string;
    languageCode?: string;
    customParams?: Record<string, any>;
    moodToVoiceStyleMap?: Record<string, {
        voiceId?: string;
        customParams?: Record<string, any>;
    }>;
}

Properties

provider?: string
voiceId?: string
languageCode?: string
customParams?: Record<string, any>
moodToVoiceStyleMap?: Record<string, {
    voiceId?: string;
    customParams?: Record<string, any>;
}>

Type declaration

  • Optional voiceId?: string
  • Optional customParams?: Record<string, any>