Język

ProjectsAgentsModelFactory.VoiceAgentAudioConfiguration Method

Definition

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
VoiceAgentAudioInputConfiguration

Input (microphone) audio configuration.

output
VoiceAgentAudioOutputConfiguration

Output (agent speech) audio configuration.

Returns

A new VoiceAgentAudioConfiguration instance for mocking.

Applies to