Class: Anthropic::Models::Beta::MemoryStores::MemoryCreateParams

Inherits:
Internal::Type::BaseModel show all
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

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(memory_store_id:, content:, path:, view: nil, betas: nil, request_options: {}) ⇒ Object

Parameters:



# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 39

Instance Attribute Details

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

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

Returns:



37
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 37

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

#contentString?

Returns:

  • (String, nil)


20
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 20

required :content, String, nil?: true

#memory_store_idString

Returns:

  • (String)


15
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 15

required :memory_store_id, String

#pathString

Returns:

  • (String)


25
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 25

required :path, String

#viewSymbol, ...

Query parameter for view



31
# File 'lib/anthropic/models/beta/memory_stores/memory_create_params.rb', line 31

optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }