ProjectsAgentsModelFactory.VoiceAgentStaticInterimResponseConfiguration 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.
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.
- texts
- IEnumerable<String>
Candidate text values for the interim response.
Returns
A new VoiceAgentStaticInterimResponseConfiguration instance for mocking.