Class: OpenAI::Models::Beta::Thread::ToolResources::CodeInterpreter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Thread::ToolResources::CodeInterpreter
- Defined in:
- lib/openai/models/beta/thread.rb,
sig/openai/models/beta/thread.rbs
Overview
Instance Attribute Summary collapse
-
#file_ids ⇒ ::Array[String]?
A list of file IDs made available to the
code_interpretertool.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ CodeInterpreter
constructor
A new instance of CodeInterpreter.
- #to_hash ⇒ { ?file_ids: ::Array[String] }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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 ⇒ CodeInterpreter
Returns a new instance of CodeInterpreter.
117 |
# File 'sig/openai/models/beta/thread.rbs', line 117 def initialize: (?file_ids: ::Array[String]) -> void |
Instance Attribute Details
#file_ids ⇒ ::Array[String]?
A list of file
IDs made available to the code_interpreter tool. There can be a maximum of 20
files associated with the tool.
102 |
# File 'lib/openai/models/beta/thread.rb', line 102 optional :file_ids, OpenAI::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ { ?file_ids: ::Array[String] }
119 |
# File 'sig/openai/models/beta/thread.rbs', line 119 def to_hash: -> { ?file_ids: ::Array[String] } |