ServerVadTurnDetection Class
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 class ServerVadTurnDetection : Azure.AI.VoiceLive.TurnDetection, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.ServerVadTurnDetection>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.ServerVadTurnDetection>
type ServerVadTurnDetection = class
inherit TurnDetection
interface IJsonModel<ServerVadTurnDetection>
interface IPersistableModel<ServerVadTurnDetection>
Public Class ServerVadTurnDetection
Inherits TurnDetection
Implements IJsonModel(Of ServerVadTurnDetection), IPersistableModel(Of ServerVadTurnDetection)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ServerVadTurnDetection() |
Initializes a new instance of ServerVadTurnDetection. |
Properties
| Name | Description |
|---|---|
| AutoTruncate |
Whether to automatically truncate the audio buffer when speech stops. |
| CreateResponse |
Whether to automatically create a response when speech stops. |
| EndOfUtteranceDetection |
Configuration for end-of-utterance detection. |
| InterruptResponse |
Whether to allow the user's speech to interrupt the assistant's response. |
| PrefixPadding |
Gets or sets the PrefixPaddingMs. |
| SilenceDuration |
Gets or sets the SilenceDurationMs. |
| Threshold |
Activation threshold for VAD detection. Range: 0.0 to 1.0. |