MemoryRecordSummary
Contains summary information about a memory record.
Contents
- content
-
The content of the memory record.
Type: MemoryContent object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- createdAt
-
The timestamp when the memory record was created.
Type: Timestamp
Required: Yes
- memoryRecordId
-
The unique identifier of the memory record.
Type: String
Length Constraints: Minimum length of 40. Maximum length of 50.
Pattern:
mem-[a-zA-Z0-9-_]*Required: Yes
- memoryStrategyId
-
The identifier of the memory strategy associated with this record.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
[a-zA-Z0-9][a-zA-Z0-9-_]*Required: Yes
- namespaces
-
The namespaces associated with this memory record.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 1 item.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
[a-zA-Z0-9/*][a-zA-Z0-9-_/*]*(?::[a-zA-Z0-9-_/*]+)*[a-zA-Z0-9-_/*]*Required: Yes
- metadata
-
A map of metadata key-value pairs associated with a memory record.
Type: String to MemoryRecordMetadataValue object map
Map Entries: Maximum number of 20 items.
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Key Pattern:
[a-zA-Z0-9\s._:/=+@-]*Required: No
- score
-
The relevance score of the memory record when returned as part of a search result. Higher values indicate greater relevance to the search query.
Type: Double
Required: No
- timestamp
-
The timestamp based on which the memory record was ingested. This reflects the time of the source content that the record was derived from, which can differ from
createdAt, the time the record itself was written.Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: