Class: Stagehand::Models::ModelConfig::VertexModelConfigObject::ProviderOptions

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stagehand/models/model_config.rb,
sig/stagehand/models/model_config.rbs

Overview

See Also:

  • Stagehand::Models::ModelConfig::VertexModelConfigObject#provider_options

Defined Under Namespace

Classes: Vertex

Instance Attribute Summary collapse

Instance Method Summary collapse

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(vertex:) ⇒ Object

Vertex provider-specific model configuration

Parameters:



# File 'lib/stagehand/models/model_config.rb', line 226

Instance Attribute Details

#vertex ⇒ Stagehand::Models::ModelConfig::VertexModelConfigObject::ProviderOptions::Vertex

Vertex AI provider-specific settings

Parameters:

  • value (Stagehand::ModelConfig::VertexModelConfigObject::ProviderOptions::Vertex)

Returns:



224
# File 'lib/stagehand/models/model_config.rb', line 224

required :vertex, -> { Stagehand::ModelConfig::VertexModelConfigObject::ProviderOptions::Vertex }

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


226
# File 'sig/stagehand/models/model_config.rbs', line 226

def to_hash: -> {