Class: Anthropic::Models::Beta::MemoryStoreCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::MemoryStoreCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/memory_store_create_params.rb,
sig/anthropic/models/beta/memory_store_create_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#description ⇒ String?
Free-text description of what the store contains, up to 1024 characters.
-
#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.
-
#workspace_id ⇒ String?
Optional header to select the Workspace for this request.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(name:, description: nil, metadata: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see MemoryStoreCreateParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(name:, description: nil, metadata: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStoreCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 53
|
Instance Attribute Details
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
40 |
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 40 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#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.
26 |
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 26 optional :description, 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. Not visible to the agent.
34 |
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 34 optional :metadata, Anthropic::Internal::Type::HashOf[String] |
#name ⇒ String
Human-readable name for the store. Required; 1–255 characters; no control
characters. The mount-path slug under /mnt/memory/ is derived from this name
(lowercased, non-alphanumeric runs collapsed to a hyphen). Names need not be
unique within a workspace.
18 |
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 18 required :name, String |
#workspace_id ⇒ String?
Optional header to select the Workspace for this request. The value is a
Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).
Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
51 |
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 51 optional :workspace_id, String |
Instance Method Details
#to_hash ⇒ {
47 |
# File 'sig/anthropic/models/beta/memory_store_create_params.rbs', line 47
def to_hash: -> {
|