Class RealtimeTranscriptionSessionCreateResponse.Audio.Input
-
- All Implemented Interfaces:
public final class RealtimeTranscriptionSessionCreateResponse.Audio.Input
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder
A builder for Input.
public final class
RealtimeTranscriptionSessionCreateResponse.Audio.Input.NoiseReduction
Configuration for input audio noise reduction.
-
Method Summary
-
-
Method Detail
-
format
final Optional<RealtimeAudioFormats> format()
The PCM audio format. Only a 24kHz sample rate is supported.
-
noiseReduction
final Optional<RealtimeTranscriptionSessionCreateResponse.Audio.Input.NoiseReduction> noiseReduction()
Configuration for input audio noise reduction.
-
transcription
final Optional<AudioTranscription> transcription()
Configuration of the transcription model.
-
turnDetection
final Optional<RealtimeTranscriptionSessionTurnDetection> turnDetection()
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.
-
_format
final JsonField<RealtimeAudioFormats> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_noiseReduction
final JsonField<RealtimeTranscriptionSessionCreateResponse.Audio.Input.NoiseReduction> _noiseReduction()
Returns the raw JSON value of noiseReduction.
Unlike noiseReduction, this method doesn't throw if the JSON field has an unexpected type.
-
_transcription
final JsonField<AudioTranscription> _transcription()
Returns the raw JSON value of transcription.
Unlike transcription, this method doesn't throw if the JSON field has an unexpected type.
-
_turnDetection
final JsonField<RealtimeTranscriptionSessionTurnDetection> _turnDetection()
Returns the raw JSON value of turnDetection.
Unlike turnDetection, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder toBuilder()
-
validate
final RealtimeTranscriptionSessionCreateResponse.Audio.Input validate()
-
builder
final static RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder builder()
Returns a mutable builder for constructing an instance of Input.
-
-
-
-