OpenAI::ResponseCodeInterpreterCallCompletedEvent
Inherits JSON::Serializable < Reference < Object
Emitted when the code interpreter call is completed.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseCodeInterpreterCallCompletedEventType = ResponseCodeInterpreterCallCompletedEventType::ResponseCodeInterpreterCallCompleted, output_index : Int64 = 0, item_id : String = "", sequence_number : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
output_index
The index of the output item in the response for which the code interpreter call is completed.
output_index=(output_index : Int64)
The index of the output item in the response for which the code interpreter call is completed.
sequence_number=(sequence_number : Int64)
The sequence number of this event, used to order streaming events.
type_value=(type_value : ResponseCodeInterpreterCallCompletedEventType)
The type of the event. Always response.code_interpreter_call.completed.