Language

ProjectsAgentsModelFactory.VoiceAgentSoundscapeConfig Method

Definition

Agent-owned background ambience and event cues. Each omitted track is disabled. The service rejects unknown fields; custom uploads, URLs, and inline audio are not supported.

public static Azure.AI.Projects.Agents.VoiceAgentSoundscapeConfig VoiceAgentSoundscapeConfig(Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig background = default, Azure.AI.Projects.Agents.VoiceAgentSoundscapeWorkingTrackConfig working = default, Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig opening = default, Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig transfer = default, Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig closing = default);
static member VoiceAgentSoundscapeConfig : Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig * Azure.AI.Projects.Agents.VoiceAgentSoundscapeWorkingTrackConfig * Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig * Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig * Azure.AI.Projects.Agents.VoiceAgentSoundscapeTrackConfig -> Azure.AI.Projects.Agents.VoiceAgentSoundscapeConfig
Public Shared Function VoiceAgentSoundscapeConfig (Optional background As VoiceAgentSoundscapeTrackConfig = Nothing, Optional working As VoiceAgentSoundscapeWorkingTrackConfig = Nothing, Optional opening As VoiceAgentSoundscapeTrackConfig = Nothing, Optional transfer As VoiceAgentSoundscapeTrackConfig = Nothing, Optional closing As VoiceAgentSoundscapeTrackConfig = Nothing) As VoiceAgentSoundscapeConfig

Parameters

background
VoiceAgentSoundscapeTrackConfig

Continuous background ambience that continues during caller and agent speech.

working
VoiceAgentSoundscapeWorkingTrackConfig

A loop played while a non-call-control tool is pending and the agent is silent, after the configured delay.

opening
VoiceAgentSoundscapeTrackConfig

An interruptible cue played before the first agent speech.

transfer
VoiceAgentSoundscapeTrackConfig

A one-shot cue played after queued agent speech drains and before a committed call transfer.

closing
VoiceAgentSoundscapeTrackConfig

A one-shot cue played after queued agent speech drains and before a committed session end.

Returns

A new VoiceAgentSoundscapeConfig instance for mocking.

Applies to