Module: OpenAI::Models::Beta::EnvironmentParam
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/environment_param.rb,
sig/openai/models/beta/environment_param.rbs
Overview
The execution environment and optional reusable template for a session.
Defined Under Namespace
Classes: None, OpenAIHosted, SelfHosted
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(npm: nil, python: nil, system_: nil) ⇒ Object
Packages to install in the environment.
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.variants ⇒ Array(OpenAI::Models::Beta::EnvironmentParam::None, OpenAI::Models::Beta::EnvironmentParam::OpenAIHosted, OpenAI::Models::Beta::EnvironmentParam::SelfHosted)
|
|
# File 'lib/openai/models/beta/environment_param.rb', line 342
|
Instance Method Details
#initialize(npm: nil, python: nil, system_: nil) ⇒ Object
Packages to install in the environment. Defaults to empty package lists.
|
|
# File 'lib/openai/models/beta/environment_param.rb', line 28
|