LongTermMemory.set()
Store a value in long-term memory.
Usage
LongTermMemory.set(
key,
value,
*,
tags=(),
metadata=None,
)Parameters
key: str-
The key to store under.
value: Any-
The value to store (must be JSON-serializable).
tags: tuple[str, …] = ()-
Optional tags for categorization.
metadata: dict[str, Any] | None = None- Optional metadata dictionary.