Class AudioInputConfig
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI.Realtime
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class AudioInputConfig
Properties
| Edit this page View SourceFormat
Optional. The format of the input audio.
Declaration
[JsonProperty("format")]
public RealtimeAudioFormatDto Format { get; set; }
Property Value
| Type | Description |
|---|---|
| RealtimeAudioFormatDto |
NoiseReduction
Optional. Configuration for input audio noise reduction. This can be set to null to turn off. Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model. Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.
Declaration
[JsonProperty("noise_reduction")]
public NoiseReductionConfig NoiseReduction { get; set; }
Property Value
| Type | Description |
|---|---|
| NoiseReductionConfig |
Transcription
Optional. Configuration for input audio transcription, defaults to off and can be set to null to turn off once on.
Declaration
[JsonProperty("transcription")]
public TranscriptionConfig Transcription { get; set; }
Property Value
| Type | Description |
|---|---|
| TranscriptionConfig |
TurnDetection
Optional. Configuration for turn detection, either Server VAD or Semantic VAD. This can be set to null to turn off, in which case the client must manually trigger model response.
Declaration
[JsonProperty("turn_detection")]
public TurnDetection TurnDetection { get; set; }
Property Value
| Type | Description |
|---|---|
| TurnDetection |