class

OpenAI::RealtimeServerEventConversationItemInputAudioTranscriptionFailed

Inherits JSON::Serializable < Reference < Object

Returned when input audio transcription is configured, and a transcription request for a user message failed. These events are separate from other error events so that the client can identify the related Item.

Constructors

new(event_id : String = "", type_value : RealtimeServerEventConversationItemInputAudioTranscriptionFailedType = RealtimeServerEventConversationItemInputAudioTranscriptionFailedType::ConversationItemInputAudioTranscriptionFailed, item_id : String = "", content_index : Int64 = 0, error : RealtimeServerEventConversationItemInputAudioTranscriptionFailedError = RealtimeServerEventConversationItemInputAudioTranscriptionFailedError.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content_index

The index of the content part containing the audio.

Source
content_index=(content_index : Int64)

The index of the content part containing the audio.

Source
error

Details of the transcription error.

Source
error=(error : RealtimeServerEventConversationItemInputAudioTranscriptionFailedError)

Details of the transcription error.

Source
event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
item_id

The ID of the user message item.

Source
item_id=(item_id : String)

The ID of the user message item.

Source
type_value

The event type, must be conversation.item.input_audio_transcription.failed.

Source
type_value=(type_value : RealtimeServerEventConversationItemInputAudioTranscriptionFailedType)

The event type, must be conversation.item.input_audio_transcription.failed.

Source