class

OpenAI::ResponseImageGenCallCompletedEvent

Inherits JSON::Serializable < Reference < Object

Emitted when an image generation tool call has completed and the final image is available.

Constructors

new(type_value : ResponseImageGenCallCompletedEventType = ResponseImageGenCallCompletedEventType::ResponseImageGenerationCallCompleted, output_index : Int64 = 0, sequence_number : Int64 = 0, item_id : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

item_id

The unique identifier of the image generation item being processed.

Source
item_id=(item_id : String)

The unique identifier of the image generation item being processed.

Source
output_index

The index of the output item in the response's output array.

Source
output_index=(output_index : Int64)

The index of the output item in the response's output array.

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.image_generation_call.completed'.

Source
type_value=(type_value : ResponseImageGenCallCompletedEventType)

The type of the event. Always 'response.image_generation_call.completed'.

Source