Language

ProjectsAgentsModelFactory.VoiceAgentServerVadTurnDetection Method

Definition

Overloads

VoiceAgentServerVadTurnDetection(Nullable<Boolean>, Nullable<Double>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<TimeSpan>, VoiceAgentEndOfUtteranceDetection)

Source:
ProjectsAgentsModelFactory.cs

Server-side voice activity detection.

public static Azure.AI.Projects.Agents.VoiceAgentServerVadTurnDetection VoiceAgentServerVadTurnDetection(bool? autoTruncate = default, double? threshold = default, TimeSpan? prefixPadding = default, TimeSpan? silenceDuration = default, bool? createResponseEnabled = default, bool? interruptResponseEnabled = default, TimeSpan? idleTimeout = default, TimeSpan? speechDuration = default, Azure.AI.Projects.Agents.VoiceAgentEndOfUtteranceDetection endOfUtteranceDetection = default);
static member VoiceAgentServerVadTurnDetection : Nullable<bool> * Nullable<double> * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<bool> * Nullable<bool> * Nullable<TimeSpan> * Nullable<TimeSpan> * Azure.AI.Projects.Agents.VoiceAgentEndOfUtteranceDetection -> Azure.AI.Projects.Agents.VoiceAgentServerVadTurnDetection
Public Shared Function VoiceAgentServerVadTurnDetection (Optional autoTruncate As Nullable(Of Boolean) = Nothing, Optional threshold As Nullable(Of Double) = Nothing, Optional prefixPadding As Nullable(Of TimeSpan) = Nothing, Optional silenceDuration As Nullable(Of TimeSpan) = Nothing, Optional createResponseEnabled As Nullable(Of Boolean) = Nothing, Optional interruptResponseEnabled As Nullable(Of Boolean) = Nothing, Optional idleTimeout As Nullable(Of TimeSpan) = Nothing, Optional speechDuration As Nullable(Of TimeSpan) = Nothing, Optional endOfUtteranceDetection As VoiceAgentEndOfUtteranceDetection = Nothing) As VoiceAgentServerVadTurnDetection

Parameters

autoTruncate
Nullable<Boolean>

Whether the input audio buffer is truncated automatically when speech stops.

threshold
Nullable<Double>
prefixPadding
Nullable<TimeSpan>
silenceDuration
Nullable<TimeSpan>
createResponseEnabled
Nullable<Boolean>
interruptResponseEnabled
Nullable<Boolean>
idleTimeout
Nullable<TimeSpan>
speechDuration
Nullable<TimeSpan>

Minimum speech duration required to trigger detection, in milliseconds.

endOfUtteranceDetection
VoiceAgentEndOfUtteranceDetection

Semantic end-of-utterance detection configuration. Set to null to disable it.

Returns

A new VoiceAgentServerVadTurnDetection instance for mocking.

Applies to

VoiceAgentServerVadTurnDetection(Nullable<Boolean>, Nullable<Double>, Nullable<Int64>, Nullable<Int64>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int64>, Nullable<TimeSpan>, VoiceAgentEndOfUtteranceDetection)

Source:
ProjectsAgentsModelFactory.cs

Server-side voice activity detection.

public static Azure.AI.Projects.Agents.VoiceAgentServerVadTurnDetection VoiceAgentServerVadTurnDetection(bool? autoTruncate = default, double? threshold = default, long? prefixPaddingMs = default, long? silenceDurationMs = default, bool? createResponse = default, bool? interruptResponse = default, long? idleTimeoutMs = default, TimeSpan? speechDurationMs = default, Azure.AI.Projects.Agents.VoiceAgentEndOfUtteranceDetection endOfUtteranceDetection = default);
static member VoiceAgentServerVadTurnDetection : Nullable<bool> * Nullable<double> * Nullable<int64> * Nullable<int64> * Nullable<bool> * Nullable<bool> * Nullable<int64> * Nullable<TimeSpan> * Azure.AI.Projects.Agents.VoiceAgentEndOfUtteranceDetection -> Azure.AI.Projects.Agents.VoiceAgentServerVadTurnDetection
Public Shared Function VoiceAgentServerVadTurnDetection (Optional autoTruncate As Nullable(Of Boolean) = Nothing, Optional threshold As Nullable(Of Double) = Nothing, Optional prefixPaddingMs As Nullable(Of Long) = Nothing, Optional silenceDurationMs As Nullable(Of Long) = Nothing, Optional createResponse As Nullable(Of Boolean) = Nothing, Optional interruptResponse As Nullable(Of Boolean) = Nothing, Optional idleTimeoutMs As Nullable(Of Long) = Nothing, Optional speechDurationMs As Nullable(Of TimeSpan) = Nothing, Optional endOfUtteranceDetection As VoiceAgentEndOfUtteranceDetection = Nothing) As VoiceAgentServerVadTurnDetection

Parameters

autoTruncate
Nullable<Boolean>

Whether the input audio buffer is truncated automatically when speech stops.

threshold
Nullable<Double>
prefixPaddingMs
Nullable<Int64>
silenceDurationMs
Nullable<Int64>
createResponse
Nullable<Boolean>
interruptResponse
Nullable<Boolean>
idleTimeoutMs
Nullable<Int64>
speechDurationMs
Nullable<TimeSpan>

Minimum speech duration required to trigger detection, in milliseconds.

endOfUtteranceDetection
VoiceAgentEndOfUtteranceDetection

Semantic end-of-utterance detection configuration. Set to null to disable it.

Returns

A new VoiceAgentServerVadTurnDetection instance for mocking.

Applies to