Memory System
Sentinel uses adapters to handle long-term memory.
antilogix.interfaces.BaseMemoryStore
Bases: ABC
The blueprint for memory (Neo4j, Mem0, Postgres).
Source code in antilogix\interfaces.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | |
retrieve(key)
abstractmethod
async
Get data back. Returns a Dictionary or None if nothing is found.
Source code in antilogix\interfaces.py
34 35 36 37 38 39 | |
save(key, value)
abstractmethod
async
Save data. 'Dict[str, Any]' means a dictionary where keys are strings and values can be anything (text, numbers, lists).
Source code in antilogix\interfaces.py
26 27 28 29 30 31 32 | |