OpenAI::RealtimeTranscriptionSessionCreateResponseGAAudioInput
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(format : RealtimeAudioFormats | Nil = nil, transcription : AudioTranscription | Nil = nil, noise_reduction : RealtimeTranscriptionSessionCreateResponseGAAudioInputNoiseReduction | Nil = nil, turn_detection : RealtimeTranscriptionSessionCreateResponseGAAudioInputTurnDetection | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
format
Sourceformat=(format : RealtimeAudioFormats | Nil)
Sourcenoise_reduction=(noise_reduction : RealtimeTranscriptionSessionCreateResponseGAAudioInputNoiseReduction | Nil)
Configuration for input audio noise reduction.
transcription=(transcription : AudioTranscription | Nil)
Configuration of the transcription model.
turn_detection
Configuration for turn detection. Can be set to null to turn off. Server
VAD means that the model will detect the start and end of speech based on
audio volume and respond at the end of user speech.
turn_detection=(turn_detection : RealtimeTranscriptionSessionCreateResponseGAAudioInputTurnDetection | Nil)
Configuration for turn detection. Can be set to null to turn off. Server
VAD means that the model will detect the start and end of speech based on
audio volume and respond at the end of user speech.