OpenAI::ResponseAudioDeltaEvent
Inherits JSON::Serializable < Reference < Object
Emitted when there is a partial audio response.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseAudioDeltaEventType = ResponseAudioDeltaEventType::ResponseAudioDelta, sequence_number : Int64 = 0, delta : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
sequence_number=(sequence_number : Int64)
A sequence number for this chunk of the stream response.
type_value=(type_value : ResponseAudioDeltaEventType)
The type of the event. Always response.audio.delta.