ShortTermMemory.search()

Search short-term memory by tags.

Usage

Source

ShortTermMemory.search(
    *,
    tags=None,
)

Parameters

tags: list[str] | None = None
Filter to entries that have all of these tags.

Returns

list[MemoryEntry]
Matching non-expired entries.