ProjectsAgentsModelFactory.VoiceAgentAudioConfiguration 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 audio configuration for a voice agent. These values are session defaults and may be overridden when connecting.
public static Azure.AI.Projects.Agents.VoiceAgentAudioConfiguration VoiceAgentAudioConfiguration(Azure.AI.Projects.Agents.VoiceAgentAudioInputConfiguration input = default, Azure.AI.Projects.Agents.VoiceAgentAudioOutputConfiguration output = default);
static member VoiceAgentAudioConfiguration : Azure.AI.Projects.Agents.VoiceAgentAudioInputConfiguration * Azure.AI.Projects.Agents.VoiceAgentAudioOutputConfiguration -> Azure.AI.Projects.Agents.VoiceAgentAudioConfiguration
Public Shared Function VoiceAgentAudioConfiguration (Optional input As VoiceAgentAudioInputConfiguration = Nothing, Optional output As VoiceAgentAudioOutputConfiguration = Nothing) As VoiceAgentAudioConfiguration
Parameters
Input (microphone) audio configuration.
Output (agent speech) audio configuration.
Returns
A new VoiceAgentAudioConfiguration instance for mocking.