VoiceLiveModelFactory.ServerVadTurnDetection 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 VAD-based turn detection.
public static Azure.AI.VoiceLive.ServerVadTurnDetection ServerVadTurnDetection(float? threshold = default, int? prefixPaddingMs = default, int? silenceDurationMs = default, Azure.AI.VoiceLive.EouDetection endOfUtteranceDetection = default, bool? autoTruncate = default, bool? createResponse = default, bool? interruptResponse = default);
static member ServerVadTurnDetection : Nullable<single> * Nullable<int> * Nullable<int> * Azure.AI.VoiceLive.EouDetection * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.AI.VoiceLive.ServerVadTurnDetection
Public Shared Function ServerVadTurnDetection (Optional threshold As Nullable(Of Single) = Nothing, Optional prefixPaddingMs As Nullable(Of Integer) = Nothing, Optional silenceDurationMs As Nullable(Of Integer) = Nothing, Optional endOfUtteranceDetection As EouDetection = Nothing, Optional autoTruncate As Nullable(Of Boolean) = Nothing, Optional createResponse As Nullable(Of Boolean) = Nothing, Optional interruptResponse As Nullable(Of Boolean) = Nothing) As ServerVadTurnDetection
Parameters
- endOfUtteranceDetection
- EouDetection
Returns
A new ServerVadTurnDetection instance for mocking.