MemoryStrategy
A memory strategy: how a space extracts one kind of memory from its events.
Contents
- type
-
The type of memory the strategy extracts.
Type: String
Valid Values:
SEMANTIC | SUMMARY | CUSTOMRequired: Yes
- configuration
-
Settings for the strategy. When you create a strategy, omit it to use the defaults for the strategy's type.
A
CUSTOMstrategy must setextractionPrompt.Type: MemoryStrategyConfiguration object
Required: No
- description
-
A description of the strategy.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Required: No
- name
-
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.Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[A-Za-z0-9][A-Za-z0-9_.-]*Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: