OpenAI::ResponseReasoningTextDoneEvent
Inherits JSON::Serializable < Reference < Object
Emitted when a reasoning text is completed.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseReasoningTextDoneEventType = ResponseReasoningTextDoneEventType::ResponseReasoningTextDone, item_id : String = "", output_index : Int64 = 0, content_index : Int64 = 0, text : 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 this reasoning text is associated with.
type_value=(type_value : ResponseReasoningTextDoneEventType)
The type of the event. Always response.reasoning_text.done.