class

OpenAI::ResponseCustomToolCallInputDeltaEvent

Inherits JSON::Serializable < Reference < Object

Event representing a delta (partial update) to the input of a custom tool call.

Constructors

new(type_value : ResponseCustomToolCallInputDeltaEventType = ResponseCustomToolCallInputDeltaEventType::ResponseCustomToolCallInputDelta, sequence_number : Int64 = 0, output_index : Int64 = 0, item_id : String = "", delta : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

delta

The incremental input data (delta) for the custom tool call.

Source
delta=(delta : String)

The incremental input data (delta) for the custom tool call.

Source
item_id

Unique identifier for the API item associated with this event.

Source
item_id=(item_id : String)

Unique identifier for the API item associated with this event.

Source
output_index

The index of the output this delta applies to.

Source
output_index=(output_index : Int64)

The index of the output this delta applies to.

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 event type identifier.

Source
type_value=(type_value : ResponseCustomToolCallInputDeltaEventType)

The event type identifier.

Source