ProjectsAgentsModelFactory.VoiceAgentSubagentResponsePolicy 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.
Policy for delivering responses while a voice agent waits for a subagent.
public static Azure.AI.Projects.Agents.VoiceAgentSubagentResponsePolicy VoiceAgentSubagentResponsePolicy(bool? immediateAck = default, TimeSpan? gapFillingInterval = default, string ackInstructions = default, string gapFillingInstructions = default, bool? enableDeltaProgress = default, string progressInstructions = default, TimeSpan? progressUpdateInterval = default);
static member VoiceAgentSubagentResponsePolicy : Nullable<bool> * Nullable<TimeSpan> * string * string * Nullable<bool> * string * Nullable<TimeSpan> -> Azure.AI.Projects.Agents.VoiceAgentSubagentResponsePolicy
Public Shared Function VoiceAgentSubagentResponsePolicy (Optional immediateAck As Nullable(Of Boolean) = Nothing, Optional gapFillingInterval As Nullable(Of TimeSpan) = Nothing, Optional ackInstructions As String = Nothing, Optional gapFillingInstructions As String = Nothing, Optional enableDeltaProgress As Nullable(Of Boolean) = Nothing, Optional progressInstructions As String = Nothing, Optional progressUpdateInterval As Nullable(Of TimeSpan) = Nothing) As VoiceAgentSubagentResponsePolicy
Parameters
Whether the voice agent provides an immediate acknowledgement before forwarding a request to a subagent.
The number of seconds without subagent content or user input before the voice agent provides a gap-filling response.
- ackInstructions
- String
Instructions used to generate the immediate acknowledgement.
- gapFillingInstructions
- String
Instructions used to generate gap-filling speech while waiting for progress.
Whether progress updates are emitted incrementally instead of only when the subagent invocation completes. Defaults to false.
- progressInstructions
- String
Instructions used to summarize streamed subagent progress for speech.
The minimum number of seconds between spoken progress updates.
Returns
A new VoiceAgentSubagentResponsePolicy instance for mocking.