mirror of
https://github.com/blackboxprogramming/lucidia.git
synced 2026-03-17 07:57:19 -05:00
Add lucidia_memory/store.py with memory store stub
This commit is contained in:
committed by
GitHub
parent
ed7ab34de7
commit
26c58dce9f
14
lucidia_llm/lucidia_memory/store.py
Normal file
14
lucidia_llm/lucidia_memory/store.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""Memory store for Lucidia: handles storing and retrieving embeddings."""
|
||||
|
||||
|
||||
class MemoryStore:
|
||||
def __init__(self, storage_path):
|
||||
self.storage_path = storage_path
|
||||
|
||||
def add(self, key, embedding):
|
||||
"""Add an embedding to the store."""
|
||||
raise NotImplementedError("Memory add method not implemented")
|
||||
|
||||
def query(self, embedding, top_k=5):
|
||||
"""Query the store with an embedding."""
|
||||
raise NotImplementedError("Memory query method not implemented")
|
||||
Reference in New Issue
Block a user