Class: Anthropic::Models::Beta::DreamCreateParams
Overview
Defined Under Namespace
Modules: Model
Constant Summary
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ void
41
|
# File 'sig/anthropic/models/beta/dream_create_params.rbs', line 41
def initialize: (
|
Instance Attribute Details
Optional header to specify the beta version(s) you want to use.
35
|
# File 'lib/anthropic/models/beta/dream_create_params.rb', line 35
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
14
|
# File 'lib/anthropic/models/beta/dream_create_params.rb', line 14
required :inputs, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaDreamInput] }
|
#instructions ⇒ String?
24
|
# File 'lib/anthropic/models/beta/dream_create_params.rb', line 24
optional :instructions, String, nil?: true
|
19
|
# File 'lib/anthropic/models/beta/dream_create_params.rb', line 19
required :model, union: -> { Anthropic::Beta::DreamCreateParams::Model }
|
29
|
# File 'lib/anthropic/models/beta/dream_create_params.rb', line 29
optional :output_behavior, union: -> { Anthropic::Beta::BetaOutputBehavior }
|
#workspace_id ⇒ String?
40
|
# File 'lib/anthropic/models/beta/dream_create_params.rb', line 40
optional :workspace_id, String
|
Instance Method Details
#to_hash ⇒ {
51
|
# File 'sig/anthropic/models/beta/dream_create_params.rbs', line 51
def to_hash: -> {
|