VoiceLiveModelFactory.InterimResponseConfigBase 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.
Base model for interim response configuration. Please note this is the abstract base class. The derived classes available for instantiation are: StaticInterimResponseConfig and LlmInterimResponseConfig.
public static Azure.AI.VoiceLive.InterimResponseConfigBase InterimResponseConfigBase(string type = default, System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.InterimResponseTrigger> triggers = default, int? latencyThresholdMs = default);
static member InterimResponseConfigBase : string * seq<Azure.AI.VoiceLive.InterimResponseTrigger> * Nullable<int> -> Azure.AI.VoiceLive.InterimResponseConfigBase
Public Shared Function InterimResponseConfigBase (Optional type As String = Nothing, Optional triggers As IEnumerable(Of InterimResponseTrigger) = Nothing, Optional latencyThresholdMs As Nullable(Of Integer) = Nothing) As InterimResponseConfigBase
Parameters
- type
- String
The type of interim response configuration.
- triggers
- IEnumerable<InterimResponseTrigger>
List of triggers that can fire the interim response. Any trigger can activate it (OR logic). Supported: 'latency', 'tool'.
Latency threshold in milliseconds before triggering interim response. Default is 2000ms.
Returns
A new InterimResponseConfigBase instance for mocking.