ProjectsAgentsModelFactory.VoiceResponseAudioOutput Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The flat response audio-output projection, with optional voice, voice_type, voice_locale, and format fields.
public static Azure.AI.Projects.Agents.VoiceResponseAudioOutput VoiceResponseAudioOutput(string voice = default, Azure.AI.Projects.Agents.VoiceType? voiceType = default, string voiceLocale = default, OpenAI.Realtime.RealtimeAudioFormat format = default);
static member VoiceResponseAudioOutput : string * Nullable<Azure.AI.Projects.Agents.VoiceType> * string * OpenAI.Realtime.RealtimeAudioFormat -> Azure.AI.Projects.Agents.VoiceResponseAudioOutput
Public Shared Function VoiceResponseAudioOutput (Optional voice As String = Nothing, Optional voiceType As Nullable(Of VoiceType) = Nothing, Optional voiceLocale As String = Nothing, Optional format As RealtimeAudioFormat = Nothing) As VoiceResponseAudioOutput
Parameters
- voice
- String
The voice name used for the response's audio output.
The extensible provider/type of the voice used for the response's audio output.
- voiceLocale
- String
The BCP-47 locale of the voice used for the response's audio output.
- format
- OpenAI.Realtime.RealtimeAudioFormat
The audio format used for the response's audio output.
Returns
A new VoiceResponseAudioOutput instance for mocking.