Module: Stagehand::Models::ModelConfig
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/stagehand/models/model_config.rb,
sig/stagehand/models/model_config.rbs
Defined Under Namespace
Classes: GenericModelConfigObject, VertexModelConfigObject
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(location:, project:, base_url: nil, headers: nil) ⇒ Object
Vertex AI provider-specific settings.
- #self?.variants ⇒ ::Array[Stagehand::Models::model_config]
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
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, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(Stagehand::Models::ModelConfig::VertexModelConfigObject, Stagehand::Models::ModelConfig::GenericModelConfigObject)
|
|
# File 'lib/stagehand/models/model_config.rb', line 330
|
Instance Method Details
#initialize(location:, project:, base_url: nil, headers: nil) ⇒ Object
Vertex AI provider-specific settings
|
|
# File 'lib/stagehand/models/model_config.rb', line 257
|
#self?.variants ⇒ ::Array[Stagehand::Models::model_config]
329 |
# File 'sig/stagehand/models/model_config.rbs', line 329
def self?.variants: -> ::Array[Stagehand::Models::model_config]
|