first commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
from .manager import MemoryManager
|
||||
from .extractor import MemoryExtractor
|
||||
from .integrator import MemoryIntegrator
|
||||
|
||||
|
||||
__all__ = ["MemoryManager", "MemoryExtractor", "MemoryIntegrator"]
|
||||
@@ -0,0 +1,6 @@
|
||||
class MemoryExtractor:
|
||||
def __init__(self, llm_client):
|
||||
self.llm_client = llm_client
|
||||
|
||||
def extract_from_conversation(self, conversation):
|
||||
pass
|
||||
@@ -0,0 +1,3 @@
|
||||
class MemoryIntegrator:
|
||||
def integrate_memories(self, memories):
|
||||
pass
|
||||
@@ -0,0 +1,13 @@
|
||||
class MemoryManager:
|
||||
def __init__(self, workspace_id):
|
||||
self.workspace_id = workspace_id
|
||||
self.memories = []
|
||||
|
||||
def add_memory(self, content, memory_type="short", tags=None):
|
||||
pass
|
||||
|
||||
def retrieve_memories(self, query=None, memory_type=None):
|
||||
pass
|
||||
|
||||
def compress_memories(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user