OpenAI::ResponseCodeInterpreterCallCodeDeltaEvent
Inherits JSON::Serializable < Reference < Object
Emitted when a partial code snippet is streamed by the code interpreter.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseCodeInterpreterCallCodeDeltaEventType = ResponseCodeInterpreterCallCodeDeltaEventType::ResponseCodeInterpreterCallCodeDelta, output_index : Int64 = 0, item_id : String = "", delta : 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 is being streamed.
output_index=(output_index : Int64)
The index of the output item in the response for which the code is being streamed.
sequence_number=(sequence_number : Int64)
The sequence number of this event, used to order streaming events.
type_value=(type_value : ResponseCodeInterpreterCallCodeDeltaEventType)
The type of the event. Always response.code_interpreter_call_code.delta.