Class: Aws::OpenSearchMemory::Types::MemoryStrategy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb

Overview

A memory strategy: how a space extracts one kind of memory from its events.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration ⇒ Types::MemoryStrategyConfiguration

Settings for the strategy. When you create a strategy, omit it to use the defaults for the strategy's type.

A CUSTOM strategy must set extractionPrompt.



1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1445

class MemoryStrategy < Struct.new(
  :type,
  :name,
  :description,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

A description of the strategy.

Returns:

  • (String)


1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1445

class MemoryStrategy < Struct.new(
  :type,
  :name,
  :description,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

A name for the strategy, unique within the space. Omit it to have the service generate one from the type, for example semantic_1. The name must be 1 to 64 characters: letters, digits, periods, hyphens, and underscores, starting with a letter or digit. A strategy's name can't be changed, and the strategy's memories are stored under it: a strategy added under a new name starts with no memories.

Returns:

  • (String)


1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1445

class MemoryStrategy < Struct.new(
  :type,
  :name,
  :description,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of memory the strategy extracts.

Returns:

  • (String)


1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1445

class MemoryStrategy < Struct.new(
  :type,
  :name,
  :description,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end