pub struct RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction {
pub type: Option<RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType>,
}
Expand description
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.
Fields§
§type: Option<RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType>
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.
Implementations§
Source§impl RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
impl RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
Sourcepub fn builder() -> RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionBuilder<((),)>
pub fn builder() -> RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionBuilder<((),)>
Create a builder for building RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
.
On the builder, call .r#type(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
.
Trait Implementations§
Source§impl Clone for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
impl Clone for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
Source§fn clone(
&self,
) -> RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
fn clone( &self, ) -> RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
impl Default for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
Source§fn default() -> RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
fn default() -> RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
Source§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
impl PartialEq for RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction
Source§fn eq(
&self,
other: &RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction,
) -> bool
fn eq( &self, other: &RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction, ) -> bool
self
and other
values to be equal, and is used by ==
.