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
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.
-
#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
A timestamp in RFC 3339 format.
Instance Method Summary collapse
-
#initialize(id:, created_at:, name:, type:, updated_at:, archived_at: nil, description: nil, metadata: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsMemoryStore for more details.
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:, created_at:, name:, type:, updated_at:, archived_at: nil, description: nil, metadata: nil) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsMemoryStore for more details.
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.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 62
|
Instance Attribute Details
#archived_at ⇒ Time?
A timestamp in RFC 3339 format
44 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 44 optional :archived_at, Time, nil?: true |
#created_at ⇒ Time
A timestamp in RFC 3339 format
20 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 20 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.
52 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 52 optional :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.
60 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 60 optional :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.
27 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 27 required :name, String |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type
32 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 32 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsMemoryStore::Type } |
#updated_at ⇒ Time
A timestamp in RFC 3339 format
38 |
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 38 required :updated_at, Time |