Package com.openai.models.responses
Class ResponseAudioTranscriptDeltaEvent
-
- All Implemented Interfaces:
public final class ResponseAudioTranscriptDeltaEvent
Emitted when there is a partial transcript of audio.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseAudioTranscriptDeltaEvent.Builder
A builder for ResponseAudioTranscriptDeltaEvent.
-
Method Summary
Modifier and Type Method Description final String
delta()
The partial transcript of the audio response. final Long
sequenceNumber()
The sequence number of this event. final JsonValue
_type()
The type of the event. final JsonField<String>
_delta()
Returns the raw JSON value of delta. final JsonField<Long>
_sequenceNumber()
Returns the raw JSON value of sequenceNumber. final Map<String, JsonValue>
_additionalProperties()
final ResponseAudioTranscriptDeltaEvent.Builder
toBuilder()
final ResponseAudioTranscriptDeltaEvent
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseAudioTranscriptDeltaEvent.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseAudioTranscriptDeltaEvent. -
-
Method Detail
-
sequenceNumber
final Long sequenceNumber()
The sequence number of this event.
-
_type
final JsonValue _type()
The type of the event. Always
response.audio.transcript.delta
.Expected to always return the following:
JsonValue.from("response.audio.transcript.delta")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_delta
final JsonField<String> _delta()
Returns the raw JSON value of delta.
Unlike delta, this method doesn't throw if the JSON field has an unexpected type.
-
_sequenceNumber
final JsonField<Long> _sequenceNumber()
Returns the raw JSON value of sequenceNumber.
Unlike sequenceNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseAudioTranscriptDeltaEvent.Builder toBuilder()
-
validate
final ResponseAudioTranscriptDeltaEvent validate()
-
builder
final static ResponseAudioTranscriptDeltaEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseAudioTranscriptDeltaEvent.
The following fields are required:
.delta() .sequenceNumber()
-
-
-
-