class

OpenAI::ResponseReasoningTextDoneEvent

Inherits JSON::Serializable < Reference < Object

Emitted when a reasoning text is completed.

Constructors

new(type_value : ResponseReasoningTextDoneEventType = ResponseReasoningTextDoneEventType::ResponseReasoningTextDone, item_id : String = "", output_index : Int64 = 0, content_index : Int64 = 0, text : String = "", sequence_number : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content_index

The index of the reasoning content part.

Source
content_index=(content_index : Int64)

The index of the reasoning content part.

Source
item_id

The ID of the item this reasoning text is associated with.

Source
item_id=(item_id : String)

The ID of the item this reasoning text is associated with.

Source
output_index

The index of the output item this reasoning text is associated with.

Source
output_index=(output_index : Int64)

The index of the output item this reasoning text is associated with.

Source
sequence_number

The sequence number of this event.

Source
sequence_number=(sequence_number : Int64)

The sequence number of this event.

Source
text

The full text of the completed reasoning content.

Source
text=(text : String)

The full text of the completed reasoning content.

Source
type_value

The type of the event. Always response.reasoning_text.done.

Source
type_value=(type_value : ResponseReasoningTextDoneEventType)

The type of the event. Always response.reasoning_text.done.

Source