Share via


VoiceLiveModelFactory.ServerVadTurnDetection Method

Definition

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

threshold
Nullable<Single>
prefixPaddingMs
Nullable<Int32>
silenceDurationMs
Nullable<Int32>
endOfUtteranceDetection
EouDetection
autoTruncate
Nullable<Boolean>
createResponse
Nullable<Boolean>
interruptResponse
Nullable<Boolean>

Returns

A new ServerVadTurnDetection instance for mocking.

Applies to