Class: Anthropic::Models::Beta::DreamCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/dream_create_params.rb,
sig/anthropic/models/beta/dream_create_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Dreams#create

Defined Under Namespace

Modules: Model

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::Anthropic

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#initializevoid



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

def initialize: (

Instance Attribute Details

#betasArray<Symbol, String, Anthropic::Models::AnthropicBeta>?

Optional header to specify the beta version(s) you want to use.

Returns:



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

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#inputsArray<Anthropic::Models::Beta::BetaDreamMemoryStoreInput, Anthropic::Models::Beta::BetaDreamSessionsInput>

Parameters:

  • value (::Array[Anthropic::Models::Beta::beta_dream_input])

Returns:



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

required :inputs, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaDreamInput] }

#instructionsString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :instructions, String, nil?: true

#modelAnthropic::Models::Beta::BetaDreamModelConfigParam, String

Parameters:

  • value (Anthropic::Models::Beta::DreamCreateParams::model)

Returns:



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

required :model, union: -> { Anthropic::Beta::DreamCreateParams::Model }

#output_behaviorAnthropic::Models::Beta::BetaOutputBehaviorCreateNew, ...



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

optional :output_behavior, union: -> { Anthropic::Beta::BetaOutputBehavior }

#workspace_idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :workspace_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {