Class: OpenAI::Models::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input
- Defined in:
- lib/openai/models/realtime/realtime_translation_session_update_request.rb
Overview
Defined Under Namespace
Classes: NoiseReduction, Transcription
Instance Attribute Summary collapse
-
#noise_reduction ⇒ OpenAI::Models::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input::NoiseReduction?
Optional input noise reduction.
-
#transcription ⇒ OpenAI::Models::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input::Transcription?
Optional source-language transcription.
Instance Method Summary collapse
-
#initialize(type:) ⇒ 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:) ⇒ Object
Some parameter documentations has been truncated, see NoiseReduction for more details.
Optional input noise reduction. Set to ‘null` to disable it.
|
|
# File 'lib/openai/models/realtime/realtime_translation_session_update_request.rb', line 64
|
Instance Attribute Details
#noise_reduction ⇒ OpenAI::Models::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input::NoiseReduction?
Optional input noise reduction. Set to ‘null` to disable it.
46 47 48 49 50 |
# File 'lib/openai/models/realtime/realtime_translation_session_update_request.rb', line 46 optional :noise_reduction, -> { OpenAI::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input::NoiseReduction }, nil?: true |
#transcription ⇒ OpenAI::Models::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input::Transcription?
Optional source-language transcription. When configured, the server emits ‘session.input_transcript.delta` events. Translation itself still runs from the input audio stream.
58 59 60 61 62 |
# File 'lib/openai/models/realtime/realtime_translation_session_update_request.rb', line 58 optional :transcription, -> { OpenAI::Realtime::RealtimeTranslationSessionUpdateRequest::Audio::Input::Transcription }, nil?: true |