Class: Anthropic::Models::Beta::MemoryStoreCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/memory_store_create_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStoreCreateParams for more details.

Parameters:

  • name (String)

    Human-readable name for the store. Required; 1–255 characters; no control charac

  • description (String) (defaults to: nil)

    Free-text description of what the store contains, up to 1024 characters. Include

  • metadata (Hash{Symbol=>String}) (defaults to: nil)

    Arbitrary key-value tags for your own bookkeeping (such as the end user a store

  • betas (Array<String, Symbol, Anthropic::Models::AnthropicBeta>) (defaults to: nil)

    Optional header to specify the beta version(s) you want to use.

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 42

Instance Attribute Details

#betasArray<String, Symbol, Anthropic::Models::AnthropicBeta>?

Optional header to specify the beta version(s) you want to use.

Returns:



40
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 40

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#descriptionString?

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.

Returns:

  • (String, nil)


26
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 26

optional :description, String

#metadataHash{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.

Returns:

  • (Hash{Symbol=>String}, nil)


34
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 34

optional :metadata, Anthropic::Internal::Type::HashOf[String]

#nameString

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.

Returns:

  • (String)


18
# File 'lib/anthropic/models/beta/memory_store_create_params.rb', line 18

required :name, String