Class: Anthropic::Models::Beta::BetaDream
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaDream
- Defined in:
- lib/anthropic/models/beta/beta_dream.rb,
sig/anthropic/models/beta/beta_dream.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#archived_at ⇒ Time?
A timestamp in RFC 3339 format.
-
#created_at ⇒ Time
A timestamp in RFC 3339 format.
-
#ended_at ⇒ Time?
A timestamp in RFC 3339 format.
-
#error ⇒ Anthropic::Models::Beta::BetaDreamError?
Failure detail for a Dream whose
statusisfailed. - #id ⇒ String
- #inputs ⇒ Array<Anthropic::Models::Beta::BetaDreamMemoryStoreInput, Anthropic::Models::Beta::BetaDreamSessionsInput>
- #instructions ⇒ String?
-
#model ⇒ Anthropic::Models::Beta::BetaDreamModelConfig
Model identifier and configuration applied to every pipeline stage.
- #outputs ⇒ Array<Anthropic::Models::Beta::BetaDreamOutput>
- #session_id ⇒ String?
-
#status ⇒ Symbol, Anthropic::Models::Beta::BetaDreamStatus
Lifecycle status of a Dream.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaDream::Type
-
#usage ⇒ Anthropic::Models::Beta::BetaDreamUsage
Cumulative token usage for the dream across every pipeline stage.
Instance Method Summary collapse
-
#initialize(id:, archived_at:, created_at:, ended_at:, error:, inputs:, instructions:, model:, outputs:, session_id:, status:, type:, usage:) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaDream for more details.
- #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:, archived_at:, created_at:, ended_at:, error:, inputs:, instructions:, model:, outputs:, session_id:, status:, type:, usage:) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaDream for more details.
An asynchronous memory-consolidation job that reads a memory store plus a set of session transcripts and writes consolidated memories into a new output memory store. The Dreams API is in research preview: the request and response shapes are volatile and may change without the deprecation period that applies to generally-available endpoints.
|
|
# File 'lib/anthropic/models/beta/beta_dream.rb', line 81
|
Instance Attribute Details
#archived_at ⇒ Time?
A timestamp in RFC 3339 format
17 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 17 required :archived_at, Time, nil?: true |
#created_at ⇒ Time
A timestamp in RFC 3339 format
23 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 23 required :created_at, Time |
#ended_at ⇒ Time?
A timestamp in RFC 3339 format
29 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 29 required :ended_at, Time, nil?: true |
#error ⇒ Anthropic::Models::Beta::BetaDreamError?
Failure detail for a Dream whose status is failed.
35 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 35 required :error, -> { Anthropic::Beta::BetaDreamError }, nil?: true |
#id ⇒ String
11 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 11 required :id, String |
#inputs ⇒ Array<Anthropic::Models::Beta::BetaDreamMemoryStoreInput, Anthropic::Models::Beta::BetaDreamSessionsInput>
40 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 40 required :inputs, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaDreamInput] } |
#instructions ⇒ String?
45 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 45 required :instructions, String, nil?: true |
#model ⇒ Anthropic::Models::Beta::BetaDreamModelConfig
Model identifier and configuration applied to every pipeline stage. Same wire shape as the Agents API ModelConfig.
52 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 52 required :model, -> { Anthropic::Beta::BetaDreamModelConfig } |
#outputs ⇒ Array<Anthropic::Models::Beta::BetaDreamOutput>
57 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 57 required :outputs, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaDreamOutput] } |
#session_id ⇒ String?
62 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 62 required :session_id, String, nil?: true |
#status ⇒ Symbol, Anthropic::Models::Beta::BetaDreamStatus
Lifecycle status of a Dream.
68 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 68 required :status, enum: -> { Anthropic::Beta::BetaDreamStatus } |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaDream::Type
73 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 73 required :type, enum: -> { Anthropic::Beta::BetaDream::Type } |
#usage ⇒ Anthropic::Models::Beta::BetaDreamUsage
Cumulative token usage for the dream across every pipeline stage.
79 |
# File 'lib/anthropic/models/beta/beta_dream.rb', line 79 required :usage, -> { Anthropic::Beta::BetaDreamUsage } |
Instance Method Details
#to_hash ⇒ {
66 |
# File 'sig/anthropic/models/beta/beta_dream.rbs', line 66
def to_hash: -> {
|