ProjectsAgentsModelFactory.VoiceAgentInterimResponseConfig 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.
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.
Returns
A new VoiceAgentInterimResponseConfig instance for mocking.