Skip to content

Bedrock Agentcore  >  Structures  >  MemoryRecordCreateInput

MemoryRecordCreateInput

Structure Class

MemoryRecordCreateInput dataclass

Input structure to create a new memory record.

Attributes

content instance-attribute
content: MemoryContent

The content to be stored within the memory record.

memory_strategy_id class-attribute instance-attribute
memory_strategy_id: str | None = None

The ID of the memory strategy that defines how this memory record is grouped.

metadata class-attribute instance-attribute
metadata: dict[str, MemoryRecordMetadataValue] | None = None

Metadata key-value pairs to be stored with the memory record.

namespaces instance-attribute
namespaces: list[str]

A list of namespace identifiers that categorize or group the memory record.

request_identifier instance-attribute
request_identifier: str

A client-provided identifier for tracking this specific record creation request.

timestamp instance-attribute
timestamp: datetime

Time at which the memory record was created.