Sprog

AzureSemanticVadTurnDetection Class

Definition

Base model for VAD-based turn detection.

public class AzureSemanticVadTurnDetection : Azure.AI.VoiceLive.TurnDetection, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.AzureSemanticVadTurnDetection>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.AzureSemanticVadTurnDetection>
type AzureSemanticVadTurnDetection = class
    inherit TurnDetection
    interface IJsonModel<AzureSemanticVadTurnDetection>
    interface IPersistableModel<AzureSemanticVadTurnDetection>
Public Class AzureSemanticVadTurnDetection
Inherits TurnDetection
Implements IJsonModel(Of AzureSemanticVadTurnDetection), IPersistableModel(Of AzureSemanticVadTurnDetection)
Inheritance
AzureSemanticVadTurnDetection
Implements

Constructors

Name Description
AzureSemanticVadTurnDetection()

Initializes a new instance of AzureSemanticVadTurnDetection.

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.

Languages

List of BCP-47 language codes for speech detection.

PrefixPadding

Gets or sets the PrefixPaddingMs.

RemoveFillerWords

Whether to remove filler words (e.g., 'um', 'uh') from transcription.

SilenceDuration

Gets or sets the SilenceDurationMs.

SpeechDuration

Gets or sets the SpeechDurationMs.

Threshold

Activation threshold for VAD detection. Range: 0.0 to 1.0.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AzureSemanticVadTurnDetection>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AzureSemanticVadTurnDetection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<TurnDetection>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from TurnDetection)
IJsonModel<TurnDetection>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TurnDetection)
IPersistableModel<AzureSemanticVadTurnDetection>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AzureSemanticVadTurnDetection>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AzureSemanticVadTurnDetection>.Write(ModelReaderWriterOptions)
IPersistableModel<TurnDetection>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from TurnDetection)
IPersistableModel<TurnDetection>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from TurnDetection)
IPersistableModel<TurnDetection>.Write(ModelReaderWriterOptions) (Inherited from TurnDetection)

Applies to