class

OpenAI::ResponseOutputItemDoneEvent

Inherits JSON::Serializable < Reference < Object

Emitted when an output item is marked done.

Constructors

new(type_value : ResponseOutputItemDoneEventType = ResponseOutputItemDoneEventType::ResponseOutputItemDone, output_index : Int64 = 0, sequence_number : Int64 = 0, item : OutputItem = OutputMessage.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

item

The output item that was marked done.

Source
item=(item : OutputItem)

The output item that was marked done.

Source
output_index

The index of the output item that was marked done.

Source
output_index=(output_index : Int64)

The index of the output item that was marked done.

Source
sequence_number

The sequence number of this event.

Source
sequence_number=(sequence_number : Int64)

The sequence number of this event.

Source
type_value

The type of the event. Always response.output_item.done.

Source
type_value=(type_value : ResponseOutputItemDoneEventType)

The type of the event. Always response.output_item.done.

Source