Module: Anthropic::Models::Beta::DreamCreateParams::Model

Extended by:
Internal::Type::Union
Defined in:
lib/anthropic/models/beta/dream_create_params.rb,
sig/anthropic/models/beta/dream_create_params.rbs

Overview

The model that runs a dream, given as a model ID or as an object with id and speed.

In the object form, speed can only be standard.

The limits table in the Dreams guide lists the supported models.

Class Method Summary collapse

Instance Method Summary collapse

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

.variantsArray(Anthropic::Models::Beta::BetaDreamModelConfigParam, String)



# File 'lib/anthropic/models/beta/dream_create_params.rb', line 100

Instance Method Details

#self?.variants::Array[Anthropic::Models::Beta::DreamCreateParams::model]

Returns:

  • (::Array[Anthropic::Models::Beta::DreamCreateParams::model])


66
# File 'sig/anthropic/models/beta/dream_create_params.rbs', line 66

def self?.variants: -> ::Array[Anthropic::Models::Beta::DreamCreateParams::model]