OpenAI::RealtimeServerEventResponseContentPartAdded
Inherits JSON::Serializable < Reference < Object
Returned when a new content part is added to an assistant message item during response generation.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response_id : String = "", item_id : String = "", output_index : Int64 = 0, content_index : Int64 = 0, part : RealtimeServerEventResponseContentPartAddedPart = RealtimeServerEventResponseContentPartAddedPart.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content_index=(content_index : Int64)
The index of the content part in the item's content array.
part=(part : RealtimeServerEventResponseContentPartAddedPart)
The content part that was added.