OpenAI::ResponseReasoningTextDeltaEvent
Inherits JSON::Serializable < Reference < Object
Emitted when a delta is added to a reasoning text.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseReasoningTextDeltaEventType = ResponseReasoningTextDeltaEventType::ResponseReasoningTextDelta, item_id : String = "", output_index : Int64 = 0, content_index : Int64 = 0, delta : String = "", sequence_number : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content_index=(content_index : Int64)
The index of the reasoning content part this delta is associated with.
output_index=(output_index : Int64)
The index of the output item this reasoning text delta is associated with.
type_value=(type_value : ResponseReasoningTextDeltaEventType)
The type of the event. Always response.reasoning_text.delta.