Lingua

ProjectsAgentsModelFactory.VoiceAgentInterimResponseConfig Method

Definition

Fields shared by interim-response configurations. Please note this is the abstract base class. The derived classes available for instantiation are: VoiceAgentLlmInterimResponseConfig and VoiceAgentStaticInterimResponseConfig.

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

Parameters

type
String

The interim-response implementation.

triggers
IEnumerable<VoiceAgentInterimResponseTrigger>

Conditions that may trigger one interim response.

latencyThresholdMs
Nullable<TimeSpan>

The latency threshold in milliseconds.

Returns

A new VoiceAgentInterimResponseConfig instance for mocking.

Applies to