Class: OpenAI::Models::Responses::ResponseCustomToolCallInputDeltaEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseCustomToolCallInputDeltaEvent
- Defined in:
- lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb
Instance Attribute Summary collapse
-
#delta ⇒ String
The incremental input data (delta) for the custom tool call.
-
#item_id ⇒ String
Unique identifier for the API item associated with this event.
-
#output_index ⇒ Integer
The index of the output this delta applies to.
-
#sequence_number ⇒ Integer
The sequence number of this event.
-
#type ⇒ Symbol, :"response.custom_tool_call_input.delta"
The event type identifier.
Instance Method Summary collapse
-
#initialize(delta:, item_id:, output_index:, sequence_number:, type: :"response.custom_tool_call_input.delta") ⇒ Object
constructor
Event representing a delta (partial update) to the input of a custom tool call.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(delta:, item_id:, output_index:, sequence_number:, type: :"response.custom_tool_call_input.delta") ⇒ Object
Event representing a delta (partial update) to the input of a custom tool call.
|
|
# File 'lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb', line 37
|
Instance Attribute Details
#delta ⇒ String
The incremental input data (delta) for the custom tool call.
11 |
# File 'lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb', line 11 required :delta, String |
#item_id ⇒ String
Unique identifier for the API item associated with this event.
17 |
# File 'lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb', line 17 required :item_id, String |
#output_index ⇒ Integer
The index of the output this delta applies to.
23 |
# File 'lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb', line 23 required :output_index, Integer |
#sequence_number ⇒ Integer
The sequence number of this event.
29 |
# File 'lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb', line 29 required :sequence_number, Integer |
#type ⇒ Symbol, :"response.custom_tool_call_input.delta"
The event type identifier.
35 |
# File 'lib/openai/models/responses/response_custom_tool_call_input_delta_event.rb', line 35 required :type, const: :"response.custom_tool_call_input.delta" |