Class: Anthropic::Models::Beta::BetaManagedAgentsMemoryStore
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsMemoryStore
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_memory_store.rb,
sig/anthropic/models/beta/beta_managed_agents_memory_store.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#archived_at ⇒ Time?
Timestamp when the store was archived, or
nullif active. -
#created_at ⇒ Time
Timestamp when the store was created.
-
#description ⇒ String
Free-text description of what the store contains, up to 1024 characters.
-
#id ⇒ String
Unique identifier for the memory store (a
memstore_...tagged ID). -
#metadata ⇒ Hash{Symbol=>String}
Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to).
-
#name ⇒ String
Human-readable name for the store.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type
-
#updated_at ⇒ Time
Timestamp when the store's
name,description, ormetadatawas last modified.
Instance Method Summary collapse
-
#initialize(id:, archived_at:, created_at:, description:, metadata:, name:, type:, updated_at:) ⇒ void
constructor
A
memory_store: a named container for agent memories, scoped to a workspace. - #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:, description:, metadata:, name:, type:, updated_at:) ⇒ void
A memory_store: a named container for agent memories, scoped to a workspace.
Attach a store to a session via resources[] to mount it as a directory the
agent can read and write.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsMemoryStore for more details.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 65
|
Instance Attribute Details
#archived_at ⇒ Time?
Timestamp when the store was archived, or null if active. Set once and never
cleared; archiving is one-way. Archived stores are read-only and cannot be
attached to new sessions.
22 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 22 required :archived_at, Time, nil?: true |
#created_at ⇒ Time
Timestamp when the store was created.
28 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 28 required :created_at, Time |
#description ⇒ String
Free-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent. Empty string when unset.
36 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 36 required :description, String |
#id ⇒ String
Unique identifier for the memory store (a memstore_... tagged ID). Use this
when attaching the store to a session, or in the {memory_store_id} path
parameter of subsequent calls.
14 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 14 required :id, String |
#metadata ⇒ Hash{Symbol=>String}
Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable.
44 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 44 required :metadata, Anthropic::Internal::Type::HashOf[String] |
#name ⇒ String
Human-readable name for the store. 1–255 characters. The store's mount-path slug
under /mnt/memory/ is derived from this name.
51 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 51 required :name, String |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type
56 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 56 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsMemoryStore::Type } |
#updated_at ⇒ Time
Timestamp when the store's name, description, or metadata was last
modified. Memory writes inside the store do not advance this.
63 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 63 required :updated_at, Time |
Instance Method Details
#to_hash ⇒ {
46 |
# File 'sig/anthropic/models/beta/beta_managed_agents_memory_store.rbs', line 46
def to_hash: -> {
|