Class RealtimeSessionCreateResponse.Audio.Input.Transcription
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.Audio.Input.Transcription
Configuration for input audio transcription.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RealtimeSessionCreateResponse.Audio.Input.Transcription.Builder
A builder for Transcription.
-
Method Summary
Modifier and Type Method Description final Optional<String>
language()
The language of the input audio. final Optional<String>
model()
The model to use for transcription. final Optional<String>
prompt()
Optional text to guide the model's style or continue a previous audio segment. final JsonField<String>
_language()
Returns the raw JSON value of language. final JsonField<String>
_model()
Returns the raw JSON value of model. final JsonField<String>
_prompt()
Returns the raw JSON value of prompt. final Map<String, JsonValue>
_additionalProperties()
final RealtimeSessionCreateResponse.Audio.Input.Transcription.Builder
toBuilder()
final RealtimeSessionCreateResponse.Audio.Input.Transcription
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RealtimeSessionCreateResponse.Audio.Input.Transcription.Builder
builder()
Returns a mutable builder for constructing an instance of Transcription. -
-
Method Detail
-
prompt
final Optional<String> prompt()
Optional text to guide the model's style or continue a previous audio segment.
-
_language
final JsonField<String> _language()
Returns the raw JSON value of language.
Unlike language, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_prompt
final JsonField<String> _prompt()
Returns the raw JSON value of prompt.
Unlike prompt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeSessionCreateResponse.Audio.Input.Transcription.Builder toBuilder()
-
validate
final RealtimeSessionCreateResponse.Audio.Input.Transcription validate()
-
builder
final static RealtimeSessionCreateResponse.Audio.Input.Transcription.Builder builder()
Returns a mutable builder for constructing an instance of Transcription.
-
-
-
-