VoiceActivityDetectionOptions.AllowInterruption Property
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.
Gets or sets a value indicating whether the user's speech can interrupt the model's audio output.
public:
property bool AllowInterruption { bool get(); void set(bool value); };
public bool AllowInterruption { get; set; }
member this.AllowInterruption : bool with get, set
Public Property AllowInterruption As Boolean
Property Value
Remarks
This property is only meaningful when Enabled is true. When voice activity detection is disabled, the server does not detect speech, so interruption does not apply. When true, the model's response will be cut off when the user starts speaking (barge-in). When false, the model's response will continue to completion regardless of user input. The default is true. Not all providers support this option; those that do not will ignore it.