Store a value with associated metadata.
Unique key for the memory
The value to store (must be JSON-serializable)
Associated metadata
Retrieve a value by key.
The key to look up
The value or null if not found
Search memories using full-text search.
Search query string
Maximum number of results
Remove memories older than the specified date.
Cutoff date for pruning
Number of entries pruned
Interface for memory backend implementations.