Language

ProjectsAgentsModelFactory.VoiceAgentStaticInterimResponseConfiguration Method

Definition

A static interim response selected from configured text.

public static Azure.AI.Projects.Agents.VoiceAgentStaticInterimResponseConfiguration VoiceAgentStaticInterimResponseConfiguration(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.VoiceAgentInterimResponseTrigger> triggers = default, TimeSpan? latencyThreshold = default, System.Collections.Generic.IEnumerable<string> texts = default);
static member VoiceAgentStaticInterimResponseConfiguration : seq<Azure.AI.Projects.Agents.VoiceAgentInterimResponseTrigger> * Nullable<TimeSpan> * seq<string> -> Azure.AI.Projects.Agents.VoiceAgentStaticInterimResponseConfiguration
Public Shared Function VoiceAgentStaticInterimResponseConfiguration (Optional triggers As IEnumerable(Of VoiceAgentInterimResponseTrigger) = Nothing, Optional latencyThreshold As Nullable(Of TimeSpan) = Nothing, Optional texts As IEnumerable(Of String) = Nothing) As VoiceAgentStaticInterimResponseConfiguration

Parameters

triggers
IEnumerable<VoiceAgentInterimResponseTrigger>

Conditions that may trigger one interim response.

latencyThreshold
Nullable<TimeSpan>

The latency threshold in milliseconds.

texts
IEnumerable<String>

Candidate text values for the interim response.

Returns

A new VoiceAgentStaticInterimResponseConfiguration instance for mocking.

Applies to