ProjectsAgentsModelFactory.VoiceAgentServerVadTurnDetection 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.
Overloads
VoiceAgentServerVadTurnDetection(Nullable<Boolean>, Nullable<Double>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<TimeSpan>, VoiceAgentEndOfUtteranceDetection)
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
Whether the input audio buffer is truncated automatically when speech stops.
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)
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
Whether the input audio buffer is truncated automatically when speech stops.
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.