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 classRealtimeTranscriptionSessionCreateResponse.Audio.Input.BuilderA builder for Input.
public final classRealtimeTranscriptionSessionCreateResponse.Audio.Input.NoiseReductionConfiguration 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()
-
turnDetection
final Optional<RealtimeTranscriptionSessionTurnDetection> turnDetection()
Configuration for turn detection. Can be set to
nullto 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. Forgpt-realtime-whisper, this must benull; VAD is not supported.
-
_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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RealtimeTranscriptionSessionCreateResponse.Audio.Input.Builder builder()
Returns a mutable builder for constructing an instance of Input.
-
-
-
-