OpenAI::ResponseOutputItemAddedEvent
Inherits JSON::Serializable < Reference < Object
Emitted when a new output item is added.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseOutputItemAddedEventType = ResponseOutputItemAddedEventType::ResponseOutputItemAdded, output_index : Int64 = 0, sequence_number : Int64 = 0, item : OutputItem = OutputMessage.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ResponseOutputItemAddedEventType)
The type of the event. Always response.output_item.added.