mem1 0.0.7__py3-none-any.whl → 0.0.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mem1/__init__.py
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Mem1 -
|
|
2
|
+
Mem1 - 用户记忆系统(支持可插拔存储后端)
|
|
3
3
|
"""
|
|
4
4
|
import logging
|
|
5
5
|
|
|
6
|
-
__version__ = "0.0.
|
|
6
|
+
__version__ = "0.0.7"
|
|
7
7
|
|
|
8
8
|
# 屏蔽第三方库的详细日志(必须在导入前设置)
|
|
9
9
|
logging.getLogger("elastic_transport").setLevel(logging.WARNING)
|
|
10
10
|
logging.getLogger("elastic_transport.transport").setLevel(logging.WARNING)
|
|
11
11
|
logging.getLogger("httpx").setLevel(logging.WARNING)
|
|
12
12
|
|
|
13
|
-
from mem1.
|
|
13
|
+
from mem1.memory import Mem1Memory
|
|
14
14
|
from mem1.config import Mem1Config, LLMConfig
|
|
15
|
+
from mem1.storage import StorageBackend, ESStorage
|
|
15
16
|
|
|
16
|
-
__all__ = ["Mem1Memory", "Mem1Config", "LLMConfig"]
|
|
17
|
+
__all__ = ["Mem1Memory", "Mem1Config", "LLMConfig", "StorageBackend", "ESStorage"]
|