Class: Anthropic::Models::Beta::MemoryStores::MemoryCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::MemoryStores::MemoryCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/memory_stores/memory_create_params.rb
Overview
Instance Attribute Summary collapse
-
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#content ⇒ String?
UTF-8 text content for the new memory.
- #memory_store_id ⇒ String
-
#path ⇒ String
Hierarchical path for the new memory, e.g.
-
#view ⇒ Symbol, ...
Query parameter for view.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(memory_store_id:, content:, path:, view: nil, betas: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see MemoryCreateParams for more details.
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(memory_store_id:, content:, path:, view: nil, betas: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStores::MemoryCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 45
|
Instance Attribute Details
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
43 |
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 43 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#content ⇒ String?
UTF-8 text content for the new memory. Maximum 100 kB (102,400 bytes). Required; pass ‘“”` explicitly to create an empty memory.
22 |
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 22 required :content, String, nil?: true |
#memory_store_id ⇒ String
15 |
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 15 required :memory_store_id, String |
#path ⇒ String
Hierarchical path for the new memory, e.g. ‘/projects/foo/notes.md`. Must start with `/`, contain at least one non-empty segment, and be at most 1,024 bytes. Must not contain empty segments, `.` or `..` segments, control or format characters, and must be NFC-normalized. Paths are case-sensitive.
31 |
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 31 required :path, String |