| |
- builtins.object
-
- Cortex
class Cortex(builtins.object) |
|
Cortex(db_host: str = 'localhost', db_port: int = 5432, db_name: str = 'episemic', db_user: str = 'postgres', db_password: str = 'postgres')
|
|
Methods defined here:
- __init__(self, db_host: str = 'localhost', db_port: int = 5432, db_name: str = 'episemic', db_user: str = 'postgres', db_password: str = 'postgres')
- Initialize self. See help(type(self)) for accurate signature.
- async get_memory_graph(self, memory_id: str, depth: int = 2) -> dict
- health_check(self) -> bool
- async increment_access_count(self, memory_id: str)
- async mark_deleted(self, memory_id: str)
- async retrieve_memory(self, memory_id: str) -> episemic.models.Memory | None
- async search_by_tags(self, tags: list[str], limit: int = 10) -> list[episemic.models.Memory]
- async store_memory(self, memory: episemic.models.Memory) -> bool
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |