class

OpenAI::ResponseFunctionCallArgumentsDeltaEvent

Inherits JSON::Serializable < Reference < Object

Emitted when there is a partial function-call arguments delta.

Constructors

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

Instance methods

delta

The function-call arguments delta that is added.

Source
delta=(delta : String)

The function-call arguments delta that is added.

Source
item_id

The ID of the output item that the function-call arguments delta is added to.

Source
item_id=(item_id : String)

The ID of the output item that the function-call arguments delta is added to.

Source
output_index

The index of the output item that the function-call arguments delta is added to.

Source
output_index=(output_index : Int64)

The index of the output item that the function-call arguments delta is added 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 type of the event. Always response.function_call_arguments.delta.

Source
type_value=(type_value : ResponseFunctionCallArgumentsDeltaEventType)

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

Source