Class: OpenAI::Models::Responses::Tool::CodeInterpreter::Container::CodeInterpreterToolAuto
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::Tool::CodeInterpreter::Container::CodeInterpreterToolAuto
- Defined in:
- lib/openai/models/responses/tool.rb
Defined Under Namespace
Modules: MemoryLimit
Instance Attribute Summary collapse
-
#file_ids ⇒ Array<String>?
An optional list of uploaded files to make available to your code.
- #memory_limit ⇒ Symbol, ...
-
#type ⇒ Symbol, :auto
Always ‘auto`.
Instance Method Summary collapse
-
#initialize(file_ids: nil, memory_limit: nil, type: :auto) ⇒ Object
constructor
Configuration for a code interpreter container.
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(file_ids: nil, memory_limit: nil, type: :auto) ⇒ Object
Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.
|
|
# File 'lib/openai/models/responses/tool.rb', line 410
|
Instance Attribute Details
#file_ids ⇒ Array<String>?
An optional list of uploaded files to make available to your code.
399 |
# File 'lib/openai/models/responses/tool.rb', line 399 optional :file_ids, OpenAI::Internal::Type::ArrayOf[String] |
#memory_limit ⇒ Symbol, ...
404 405 406 407 408 |
# File 'lib/openai/models/responses/tool.rb', line 404 optional :memory_limit, enum: -> { OpenAI::Responses::Tool::CodeInterpreter::Container::CodeInterpreterToolAuto::MemoryLimit }, nil?: true |
#type ⇒ Symbol, :auto
Always ‘auto`.
393 |
# File 'lib/openai/models/responses/tool.rb', line 393 required :type, const: :auto |