Class TurnDetection
Configuration for turn detection. Can be set to null to turn off.
Inheritance
object
TurnDetection
Namespace: Glitch9.AIDevKit.OpenAI.Realtime
Assembly: .dll
Syntax
public class TurnDetection
Properties
PrefixPaddingMs
Amount of audio to include before speech starts (in milliseconds).
Declaration
public int PrefixPaddingMs { get; set; }
Property Value
Type | Description |
---|---|
int |
SilenceDurationMs
Duration of silence to detect speech stop (in milliseconds).
Declaration
public int SilenceDurationMs { get; set; }
Property Value
Type | Description |
---|---|
int |
Threshold
Activation threshold for VAD (0.0 to 1.0).
Declaration
public float Threshold { get; set; }
Property Value
Type | Description |
---|---|
float |
Type
Type of turn detection, only "server_vad" is currently supported.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string |