class

OpenAI::RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta

Inherits JSON::Serializable < Reference < Object

Returned when the text value of an input audio transcription content part is updated.

Constructors

new(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, item_id : String = "", content_index : Int64 | Nil = nil, delta : String | Nil = nil, logprobs : RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaLogprobs | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content_index

The index of the content part in the item's content array.

Source
content_index=(content_index : Int64 | Nil)

The index of the content part in the item's content array.

Source
delta

The text delta.

Source
delta=(delta : String | Nil)

The text delta.

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 item.

Source
item_id=(item_id : String)

The ID of the item.

Source
logprobs
Source
logprobs=(logprobs : RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaLogprobs | Nil)
Source
type_value

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

Source
type_value=(type_value : Hash(String, JSON::Any))

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

Source