Skip to content

MemoryRecordSummary

Structure Class

MemoryRecordSummary dataclass

Bases: _SerdeShape

Contains summary information about a memory record.

Attributes

content instance-attribute
content: MemoryContent

The content of the memory record.

created_at instance-attribute
created_at: datetime

The timestamp when the memory record was created.

memory_record_id instance-attribute
memory_record_id: str

The unique identifier of the memory record.

memory_strategy_id instance-attribute
memory_strategy_id: str

The identifier of the memory strategy associated with this record.

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

A map of metadata key-value pairs associated with a memory record.

namespaces instance-attribute
namespaces: list[str]

The namespaces associated with this memory record.

score class-attribute instance-attribute
score: float | None = ...

The relevance score of the memory record when returned as part of a search result. Higher values indicate greater relevance to the search query.

timestamp class-attribute instance-attribute
timestamp: datetime | None = ...

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.