class

OpenAI::SpeechAudioDoneEvent

Inherits JSON::Serializable < Reference < Object

Emitted when the speech synthesis is complete and all audio has been streamed.

Constructors

new(type_value : SpeechAudioDoneEventType = SpeechAudioDoneEventType::SpeechAudioDone, usage : SpeechAudioDoneEventUsage = SpeechAudioDoneEventUsage.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

type_value

The type of the event. Always speech.audio.done.

Source
type_value=(type_value : SpeechAudioDoneEventType)

The type of the event. Always speech.audio.done.

Source
usage

Token usage statistics for the request.

Source
usage=(usage : SpeechAudioDoneEventUsage)

Token usage statistics for the request.

Source