VoiceResponseAudioOutput interface

平坦響應的音訊輸出投影,可選 voice的 、 voice_type、 voice_locale和 format 場。

屬性

format

響應音訊輸出所使用的音訊格式。

voice

回應音訊輸出所用的語音名稱。

voice_locale

語音的 BCP-47 位置用於回應的音訊輸出。

voice_type

用於回應音訊輸出的語音可擴充提供者/類型。

屬性詳細資料

format

響應音訊輸出所使用的音訊格式。

format?: RealtimeAudioFormatsUnion

屬性值

voice

回應音訊輸出所用的語音名稱。

voice?: string

屬性值

string

voice_locale

語音的 BCP-47 位置用於回應的音訊輸出。

voice_locale?: string

屬性值

string

voice_type

用於回應音訊輸出的語音可擴充提供者/類型。

voice_type?: VoiceType

屬性值