Class: Anthropic::Models::Beta::BetaDreamModelConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaDreamModelConfig
- Defined in:
- lib/anthropic/models/beta/beta_dream_model_config.rb,
sig/anthropic/models/beta/beta_dream_model_config.rbs
Defined Under Namespace
Modules: Speed
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the model that runs the dream, as given in the request that created it.
-
#speed ⇒ Symbol, ...
Inference speed mode.
Instance Method Summary collapse
-
#initialize(id:, speed: nil) ⇒ void
constructor
The model that runs a dream, from the request that created it.
- #to_hash ⇒ {
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(id:, speed: nil) ⇒ void
The model that runs a dream, from the request that created it.
The dream uses this model for all of its work. The response always gives the model as an object, even if the request gave only a model ID.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaDreamModelConfig for more details.
|
|
# File 'lib/anthropic/models/beta/beta_dream_model_config.rb', line 22
|
Instance Attribute Details
#id ⇒ String
The ID of the model that runs the dream, as given in the request that created it.
12 |
# File 'lib/anthropic/models/beta/beta_dream_model_config.rb', line 12 required :id, String |
#speed ⇒ Symbol, ...
Inference speed mode. fast provides significantly faster output token
generation at premium pricing. Not all models support fast; invalid
combinations are rejected at create time.
20 |
# File 'lib/anthropic/models/beta/beta_dream_model_config.rb', line 20 optional :speed, enum: -> { Anthropic::Beta::BetaDreamModelConfig::Speed } |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/anthropic/models/beta/beta_dream_model_config.rbs', line 26
def to_hash: -> {
|