OpenAI::RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted
Inherits JSON::Serializable < Reference < Object
This event is the output of audio transcription for user audio written to the
user audio buffer. Transcription begins when the input audio buffer is
committed by the client or server (in server_vad mode). Transcription runs
asynchronously with Response creation, so this event may come before or after
the Response events.
Realtime API models accept audio natively, and thus input transcription is a separate process run on a separate ASR (Automatic Speech Recognition) model. The transcript may diverge somewhat from the model's interpretation, and should be treated as a rough guide.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType = RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType::ConversationItemInputAudioTranscriptionCompleted, item_id : String = "", content_index : Int64 = 0, transcript : String = "", logprobs : RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedLogprobs | Nil = nil, usage : RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedUsage = TranscriptTextUsageTokens.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
logprobs
Sourcelogprobs=(logprobs : RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedLogprobs | Nil)
Sourcetype_value=(type_value : RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType)
The event type, must be
conversation.item.input_audio_transcription.completed.
usage=(usage : RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedUsage)
Usage statistics for the transcription.