OpenAI::ResponseCodeInterpreterCallInterpretingEvent
Inherits JSON::Serializable < Reference < Object
Emitted when the code interpreter is actively interpreting the code snippet.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseCodeInterpreterCallInterpretingEventType = ResponseCodeInterpreterCallInterpretingEventType::ResponseCodeInterpreterCallInterpreting, 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 is interpreting code.
output_index=(output_index : Int64)
The index of the output item in the response for which the code interpreter is interpreting code.
sequence_number=(sequence_number : Int64)
The sequence number of this event, used to order streaming events.
type_value=(type_value : ResponseCodeInterpreterCallInterpretingEventType)
The type of the event. Always response.code_interpreter_call.interpreting.