Minor Changes

This commit is contained in:
Vidit-Ostwal
2025-03-28 22:08:15 +05:30
parent 625748e462
commit 08a6a82071
5 changed files with 270 additions and 22 deletions

View File

@@ -43,3 +43,11 @@ class UserMemory(Memory):
score_threshold=score_threshold,
)
return results
def reset(self) -> None:
try:
self.storage.reset()
except Exception as e:
raise Exception(
f"An error occurred while resetting the user memory: {e}"
)