class

OpenAI::ResponseAudioDeltaEvent

Inherits JSON::Serializable < Reference < Object

Emitted when there is a partial audio response.

Constructors

new(type_value : ResponseAudioDeltaEventType = ResponseAudioDeltaEventType::ResponseAudioDelta, sequence_number : Int64 = 0, delta : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

delta

A chunk of Base64 encoded response audio bytes.

Source
delta=(delta : String)

A chunk of Base64 encoded response audio bytes.

Source
sequence_number

A sequence number for this chunk of the stream response.

Source
sequence_number=(sequence_number : Int64)

A sequence number for this chunk of the stream response.

Source
type_value

The type of the event. Always response.audio.delta.

Source
type_value=(type_value : ResponseAudioDeltaEventType)

The type of the event. Always response.audio.delta.

Source