OpenAI::TranscriptTextDoneEvent
Inherits JSON::Serializable < Reference < Object
Emitted when the transcription is complete. Contains the complete transcription text. Only emitted when you create a transcription with the Stream parameter set to true.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : TranscriptTextDoneEventType = TranscriptTextDoneEventType::TranscriptTextDone, text : String = "", logprobs : Array(TranscriptTextDoneEventLogprobsItem) | Nil = nil, usage : TranscriptTextUsageTokens | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
logprobs
The log probabilities of the individual tokens in the transcription. Only included if you create a transcription with the include[] parameter set to logprobs.
The log probabilities of the individual tokens in the transcription. Only included if you create a transcription with the include[] parameter set to logprobs.
type_value=(type_value : TranscriptTextDoneEventType)
The type of the event. Always transcript.text.done.
usage
Sourceusage=(usage : TranscriptTextUsageTokens | Nil)
Source