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