Package com.openai.models
Class ChatCompletionAudio
-
- All Implemented Interfaces:
public final class ChatCompletionAudio
If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionAudio.Builder
A builder for ChatCompletionAudio.
-
Method Summary
Modifier and Type Method Description final String
id()
Unique identifier for this audio response. final String
data()
Base64 encoded audio bytes generated by the model, in the format specified in the request. final Long
expiresAt()
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations. final String
transcript()
Transcript of the audio generated by the model. final JsonField<String>
_id()
Unique identifier for this audio response. final JsonField<String>
_data()
Base64 encoded audio bytes generated by the model, in the format specified in the request. final JsonField<Long>
_expiresAt()
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations. final JsonField<String>
_transcript()
Transcript of the audio generated by the model. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionAudio
validate()
final ChatCompletionAudio.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionAudio.Builder
builder()
-
-
Method Detail
-
data
final String data()
Base64 encoded audio bytes generated by the model, in the format specified in the request.
-
expiresAt
final Long expiresAt()
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
-
transcript
final String transcript()
Transcript of the audio generated by the model.
-
_data
final JsonField<String> _data()
Base64 encoded audio bytes generated by the model, in the format specified in the request.
-
_expiresAt
final JsonField<Long> _expiresAt()
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
-
_transcript
final JsonField<String> _transcript()
Transcript of the audio generated by the model.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionAudio validate()
-
toBuilder
final ChatCompletionAudio.Builder toBuilder()
-
builder
final static ChatCompletionAudio.Builder builder()
-
-
-
-