Język

ProjectsAgentsModelFactory.VoiceAgentInterimResponseConfiguration Method

Definition

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

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

Parameters

type
String

The interim-response implementation.

triggers
IEnumerable<VoiceAgentInterimResponseTrigger>

Conditions that may trigger one interim response.

latencyThreshold
Nullable<TimeSpan>

The latency threshold in milliseconds.

Returns

A new VoiceAgentInterimResponseConfiguration instance for mocking.

Applies to