Class: OpenAI::Models::Realtime::RealtimeTranscriptionSessionAudioInput::NoiseReduction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::RealtimeTranscriptionSessionAudioInput::NoiseReduction
- Defined in:
- lib/openai/models/realtime/realtime_transcription_session_audio_input.rb
Overview
Instance Attribute Summary collapse
-
#type ⇒ Symbol, ...
Type of noise reduction.
Instance Method Summary collapse
-
#initialize(type: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see NoiseReduction for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type: nil) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Realtime::RealtimeTranscriptionSessionAudioInput::NoiseReduction for more details.
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.
|
|
# File 'lib/openai/models/realtime/realtime_transcription_session_audio_input.rb', line 79
|
Instance Attribute Details
#type ⇒ Symbol, ...
Type of noise reduction. ‘near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.
77 |
# File 'lib/openai/models/realtime/realtime_transcription_session_audio_input.rb', line 77 optional :type, enum: -> { OpenAI::Realtime::NoiseReductionType } |