class

OpenAI::ResponseReasoningTextDeltaEvent

Inherits JSON::Serializable < Reference < Object

Emitted when a delta is added to a reasoning text.

Constructors

new(type_value : ResponseReasoningTextDeltaEventType = ResponseReasoningTextDeltaEventType::ResponseReasoningTextDelta, item_id : String = "", output_index : Int64 = 0, content_index : Int64 = 0, delta : 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 this delta is associated with.

Source
content_index=(content_index : Int64)

The index of the reasoning content part this delta is associated with.

Source
delta

The text delta that was added to the reasoning content.

Source
delta=(delta : String)

The text delta that was added to the reasoning content.

Source
item_id

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

Source
item_id=(item_id : String)

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

Source
output_index

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

Source
output_index=(output_index : Int64)

The index of the output item this reasoning text delta 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
type_value

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

Source
type_value=(type_value : ResponseReasoningTextDeltaEventType)

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

Source