Class: Cadenya::Models::Objective::EpisodicMemory
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Objective::EpisodicMemory
- Defined in:
- lib/cadenya/models/objective.rb,
sig/cadenya/models/objective.rbs
Overview
Instance Attribute Summary collapse
-
#key ⇒ String?
The caller-supplied episodic key.
-
#memory_layer_id ⇒ String?
readonly
Returns the value of attribute memory_layer_id.
Instance Method Summary collapse
-
#initialize(key: nil, memory_layer_id: nil) ⇒ EpisodicMemory
constructor
Some parameter documentations has been truncated, see EpisodicMemory for more details.
- #memory_layer_id ⇒ String readonly
- #to_hash ⇒ { key: String, memory_layer_id: String }
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(key: nil, memory_layer_id: nil) ⇒ EpisodicMemory
Some parameter documentations has been truncated, see Cadenya::Models::Objective::EpisodicMemory for more details.
Episodic is used to configure the episodic memory for the objective
|
|
# File 'lib/cadenya/models/objective.rb', line 189
|
Instance Attribute Details
#key ⇒ String?
The caller-supplied episodic key. Objectives created with the same key (for the same agent) share one episodic memory layer.
178 |
# File 'lib/cadenya/models/objective.rb', line 178 optional :key, String |
#memory_layer_id ⇒ String? (readonly)
Returns the value of attribute memory_layer_id.
138 139 140 |
# File 'sig/cadenya/models/objective.rbs', line 138 def memory_layer_id @memory_layer_id end |
Instance Method Details
#memory_layer_id= ⇒ String (readonly)
140 |
# File 'sig/cadenya/models/objective.rbs', line 140
def memory_layer_id=: (String) -> String
|
#to_hash ⇒ { key: String, memory_layer_id: String }
144 |
# File 'sig/cadenya/models/objective.rbs', line 144
def to_hash: -> { key: String, memory_layer_id: String }
|