OpenAI::RealtimeBetaServerEventResponseOutputItemDone
Inherits JSON::Serializable < Reference < Object
Returned when an Item is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response_id : String = "", output_index : Int64 = 0, item : RealtimeConversationItem = RealtimeConversationItemMessageSystem.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
item
Sourceitem=(item : RealtimeConversationItem)
Source