OpenAI::ResponseContentPartDoneEvent
Inherits JSON::Serializable < Reference < Object
Emitted when a content part is done.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseContentPartDoneEventType = ResponseContentPartDoneEventType::ResponseContentPartDone, item_id : String = "", output_index : Int64 = 0, content_index : Int64 = 0, sequence_number : Int64 = 0, part : OutputContent = OutputTextContent.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
output_index=(output_index : Int64)
The index of the output item that the content part was added to.
type_value=(type_value : ResponseContentPartDoneEventType)
The type of the event. Always response.content_part.done.