Class: OpenAI::Models::Beta::Threads::Runs::CodeInterpreterToolCallDelta
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::Runs::CodeInterpreterToolCallDelta
- Defined in:
- lib/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rb
Defined Under Namespace
Classes: CodeInterpreter
Instance Attribute Summary collapse
-
#code_interpreter ⇒ OpenAI::Models::Beta::Threads::Runs::CodeInterpreterToolCallDelta::CodeInterpreter?
The Code Interpreter tool call definition.
-
#id ⇒ String?
The ID of the tool call.
-
#index ⇒ Integer
The index of the tool call in the tool calls array.
-
#type ⇒ Symbol, :code_interpreter
The type of tool call.
Instance Method Summary collapse
-
#initialize(index: , id: nil, code_interpreter: nil, type: :code_interpreter) ⇒ Object
constructor
Some parameter documentations has been truncated, see CodeInterpreterToolCallDelta for more details.
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, 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(index: , id: nil, code_interpreter: nil, type: :code_interpreter) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::Threads::Runs::CodeInterpreterToolCallDelta for more details.
Details of the Code Interpreter tool call the run step was involved in.
|
# File 'lib/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rb', line 35
|
Instance Attribute Details
#code_interpreter ⇒ OpenAI::Models::Beta::Threads::Runs::CodeInterpreterToolCallDelta::CodeInterpreter?
The Code Interpreter tool call definition.
32 33 |
# File 'lib/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rb', line 32 optional :code_interpreter, -> { OpenAI::Beta::Threads::Runs::CodeInterpreterToolCallDelta::CodeInterpreter } |
#id ⇒ String?
The ID of the tool call.
26 |
# File 'lib/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rb', line 26 optional :id, String |
#index ⇒ Integer
The index of the tool call in the tool calls array.
13 |
# File 'lib/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rb', line 13 required :index, Integer |
#type ⇒ Symbol, :code_interpreter
The type of tool call. This is always going to be ‘code_interpreter` for this type of tool call.
20 |
# File 'lib/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rb', line 20 required :type, const: :code_interpreter |