Class: OpenAI::Models::Realtime::RealtimeAudioConfigInput::NoiseReduction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::RealtimeAudioConfigInput::NoiseReduction
- Defined in:
- lib/openai/models/realtime/realtime_audio_config_input.rb,
sig/openai/models/realtime/realtime_audio_config_input.rbs
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.
- #to_hash ⇒ {
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::RealtimeAudioConfigInput::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_audio_config_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_audio_config_input.rb', line 77 optional :type, enum: -> { OpenAI::Realtime::NoiseReductionType } |
Instance Method Details
#to_hash ⇒ {
61 |
# File 'sig/openai/models/realtime/realtime_audio_config_input.rbs', line 61
def to_hash: -> {
|