Class: Cadenya::Models::Model::Info

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/model.rb

Overview

See Also:

  • #info

Defined Under Namespace

Modules: Provider

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(agent_variation_count: nil, ai_provider_key: nil, provider: nil) ⇒ Object

Some parameter documentations has been truncated, see Cadenya::Models::Model::Info for more details.

ModelInfo carries server-derived, read-only details about a model.

Parameters:

  • agent_variation_count (Integer) (defaults to: nil)

    Number of agent variations currently provisioned on this model. Useful for

  • ai_provider_key (Cadenya::Models::BareMetadata) (defaults to: nil)

    BareMetadata contains the minimal metadata for a resource: the ID and an

  • provider (Symbol, Cadenya::Models::Model::Info::Provider) (defaults to: nil)

    The AI provider this model routes through (via its provider key).



# File 'lib/cadenya/models/model.rb', line 65