MemoryOS 0.0.1__py3-none-any.whl → 0.1.13__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.

Potentially problematic release.


This version of MemoryOS might be problematic. Click here for more details.

Files changed (124) hide show
  1. memoryos-0.1.13.dist-info/METADATA +288 -0
  2. memoryos-0.1.13.dist-info/RECORD +122 -0
  3. memos/__init__.py +20 -1
  4. memos/api/start_api.py +420 -0
  5. memos/chunkers/__init__.py +4 -0
  6. memos/chunkers/base.py +24 -0
  7. memos/chunkers/factory.py +22 -0
  8. memos/chunkers/sentence_chunker.py +35 -0
  9. memos/configs/__init__.py +0 -0
  10. memos/configs/base.py +82 -0
  11. memos/configs/chunker.py +45 -0
  12. memos/configs/embedder.py +53 -0
  13. memos/configs/graph_db.py +45 -0
  14. memos/configs/internet_retriever.py +81 -0
  15. memos/configs/llm.py +71 -0
  16. memos/configs/mem_chat.py +81 -0
  17. memos/configs/mem_cube.py +89 -0
  18. memos/configs/mem_os.py +74 -0
  19. memos/configs/mem_reader.py +53 -0
  20. memos/configs/mem_scheduler.py +78 -0
  21. memos/configs/memory.py +195 -0
  22. memos/configs/parser.py +38 -0
  23. memos/configs/utils.py +8 -0
  24. memos/configs/vec_db.py +64 -0
  25. memos/deprecation.py +262 -0
  26. memos/embedders/__init__.py +0 -0
  27. memos/embedders/base.py +15 -0
  28. memos/embedders/factory.py +23 -0
  29. memos/embedders/ollama.py +74 -0
  30. memos/embedders/sentence_transformer.py +40 -0
  31. memos/exceptions.py +30 -0
  32. memos/graph_dbs/__init__.py +0 -0
  33. memos/graph_dbs/base.py +215 -0
  34. memos/graph_dbs/factory.py +21 -0
  35. memos/graph_dbs/neo4j.py +827 -0
  36. memos/hello_world.py +97 -0
  37. memos/llms/__init__.py +0 -0
  38. memos/llms/base.py +16 -0
  39. memos/llms/factory.py +25 -0
  40. memos/llms/hf.py +231 -0
  41. memos/llms/ollama.py +82 -0
  42. memos/llms/openai.py +34 -0
  43. memos/llms/utils.py +14 -0
  44. memos/log.py +78 -0
  45. memos/mem_chat/__init__.py +0 -0
  46. memos/mem_chat/base.py +30 -0
  47. memos/mem_chat/factory.py +21 -0
  48. memos/mem_chat/simple.py +200 -0
  49. memos/mem_cube/__init__.py +0 -0
  50. memos/mem_cube/base.py +29 -0
  51. memos/mem_cube/general.py +146 -0
  52. memos/mem_cube/utils.py +24 -0
  53. memos/mem_os/client.py +5 -0
  54. memos/mem_os/core.py +819 -0
  55. memos/mem_os/main.py +503 -0
  56. memos/mem_os/product.py +89 -0
  57. memos/mem_reader/__init__.py +0 -0
  58. memos/mem_reader/base.py +27 -0
  59. memos/mem_reader/factory.py +21 -0
  60. memos/mem_reader/memory.py +298 -0
  61. memos/mem_reader/simple_struct.py +241 -0
  62. memos/mem_scheduler/__init__.py +0 -0
  63. memos/mem_scheduler/base_scheduler.py +164 -0
  64. memos/mem_scheduler/general_scheduler.py +305 -0
  65. memos/mem_scheduler/modules/__init__.py +0 -0
  66. memos/mem_scheduler/modules/base.py +74 -0
  67. memos/mem_scheduler/modules/dispatcher.py +103 -0
  68. memos/mem_scheduler/modules/monitor.py +82 -0
  69. memos/mem_scheduler/modules/redis_service.py +146 -0
  70. memos/mem_scheduler/modules/retriever.py +41 -0
  71. memos/mem_scheduler/modules/schemas.py +146 -0
  72. memos/mem_scheduler/scheduler_factory.py +21 -0
  73. memos/mem_scheduler/utils.py +26 -0
  74. memos/mem_user/user_manager.py +488 -0
  75. memos/memories/__init__.py +0 -0
  76. memos/memories/activation/__init__.py +0 -0
  77. memos/memories/activation/base.py +42 -0
  78. memos/memories/activation/item.py +25 -0
  79. memos/memories/activation/kv.py +232 -0
  80. memos/memories/base.py +19 -0
  81. memos/memories/factory.py +34 -0
  82. memos/memories/parametric/__init__.py +0 -0
  83. memos/memories/parametric/base.py +19 -0
  84. memos/memories/parametric/item.py +11 -0
  85. memos/memories/parametric/lora.py +41 -0
  86. memos/memories/textual/__init__.py +0 -0
  87. memos/memories/textual/base.py +89 -0
  88. memos/memories/textual/general.py +286 -0
  89. memos/memories/textual/item.py +167 -0
  90. memos/memories/textual/naive.py +185 -0
  91. memos/memories/textual/tree.py +321 -0
  92. memos/memories/textual/tree_text_memory/__init__.py +0 -0
  93. memos/memories/textual/tree_text_memory/organize/__init__.py +0 -0
  94. memos/memories/textual/tree_text_memory/organize/manager.py +305 -0
  95. memos/memories/textual/tree_text_memory/retrieve/__init__.py +0 -0
  96. memos/memories/textual/tree_text_memory/retrieve/internet_retriever.py +263 -0
  97. memos/memories/textual/tree_text_memory/retrieve/internet_retriever_factory.py +89 -0
  98. memos/memories/textual/tree_text_memory/retrieve/reasoner.py +61 -0
  99. memos/memories/textual/tree_text_memory/retrieve/recall.py +158 -0
  100. memos/memories/textual/tree_text_memory/retrieve/reranker.py +111 -0
  101. memos/memories/textual/tree_text_memory/retrieve/retrieval_mid_structs.py +13 -0
  102. memos/memories/textual/tree_text_memory/retrieve/searcher.py +208 -0
  103. memos/memories/textual/tree_text_memory/retrieve/task_goal_parser.py +68 -0
  104. memos/memories/textual/tree_text_memory/retrieve/utils.py +48 -0
  105. memos/memories/textual/tree_text_memory/retrieve/xinyusearch.py +335 -0
  106. memos/parsers/__init__.py +0 -0
  107. memos/parsers/base.py +15 -0
  108. memos/parsers/factory.py +19 -0
  109. memos/parsers/markitdown.py +22 -0
  110. memos/settings.py +8 -0
  111. memos/templates/__init__.py +0 -0
  112. memos/templates/mem_reader_prompts.py +98 -0
  113. memos/templates/mem_scheduler_prompts.py +65 -0
  114. memos/templates/mos_prompts.py +63 -0
  115. memos/types.py +55 -0
  116. memos/vec_dbs/__init__.py +0 -0
  117. memos/vec_dbs/base.py +105 -0
  118. memos/vec_dbs/factory.py +21 -0
  119. memos/vec_dbs/item.py +43 -0
  120. memos/vec_dbs/qdrant.py +292 -0
  121. memoryos-0.0.1.dist-info/METADATA +0 -53
  122. memoryos-0.0.1.dist-info/RECORD +0 -5
  123. {memoryos-0.0.1.dist-info → memoryos-0.1.13.dist-info}/LICENSE +0 -0
  124. {memoryos-0.0.1.dist-info → memoryos-0.1.13.dist-info}/WHEEL +0 -0
@@ -0,0 +1,288 @@
1
+ Metadata-Version: 2.3
2
+ Name: MemoryOS
3
+ Version: 0.1.13
4
+ Summary: Intelligence Begins with Memory
5
+ License: Apache-2.0
6
+ Keywords: memory,llm,language model,memoryOS,agent
7
+ Author: MemTensor
8
+ Author-email: lizy@memtensor.cn
9
+ Requires-Python: >=3.10,<4.0
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Dist: accelerate (>=1.7.0,<2.0.0)
17
+ Requires-Dist: chonkie (>=1.0.7,<2.0.0)
18
+ Requires-Dist: fastapi[all] (>=0.115.12,<0.116.0)
19
+ Requires-Dist: markitdown[docx,pdf,pptx,xls,xlsx] (>=0.1.1,<0.2.0)
20
+ Requires-Dist: neo4j (>=5.28.1,<6.0.0)
21
+ Requires-Dist: ollama (>=0.4.8,<0.5.0)
22
+ Requires-Dist: openai (>=1.77.0,<2.0.0)
23
+ Requires-Dist: qdrant-client (>=1.14.2,<2.0.0)
24
+ Requires-Dist: redis (>=6.2.0,<7.0.0)
25
+ Requires-Dist: sentence-transformers (>=4.1.0,<5.0.0)
26
+ Requires-Dist: sqlalchemy (>=2.0.41,<3.0.0)
27
+ Requires-Dist: tenacity (>=9.1.2,<10.0.0)
28
+ Requires-Dist: transformers (>=4.51.3,<5.0.0)
29
+ Project-URL: Repository, https://github.com/MemTensor/MemOS
30
+ Description-Content-Type: text/markdown
31
+
32
+ <div align="center">
33
+ <a href="https://memos.openmem.net/">
34
+ <img src="docs/assets/banner_new.gif" alt="MemOS Banner">
35
+ </a>
36
+
37
+
38
+
39
+ <h1 align="center">
40
+ <img src="docs/assets/memos_logo.png" alt="MemOS Logo" width="50"/> MemOS 1.0: 星河 (Stellar) <img src="https://img.shields.io/badge/status-Preview-blue" alt="Preview Badge"/>
41
+ </h1>
42
+
43
+ <p>
44
+ <a href="https://www.memtensor.com.cn/">
45
+ <img alt="Static Badge" src="https://img.shields.io/badge/Maintained_by-MemTensor-blue">
46
+ </a>
47
+ <a href="https://pypi.org/project/MemoryOS">
48
+ <img src="https://img.shields.io/pypi/v/MemoryOS?label=pypi%20package" alt="PyPI Version">
49
+ </a>
50
+ <a href="https://pypi.org/project/MemoryOS">
51
+ <img src="https://img.shields.io/pypi/pyversions/MemoryOS.svg" alt="Supported Python versions">
52
+ </a>
53
+ <a href="https://memos.openmem.net/docs/home">
54
+ <img src="https://img.shields.io/badge/Documentation-view-blue.svg" alt="Documentation">
55
+ </a>
56
+ <a href="https://arxiv.org/abs/2507.03724">
57
+ <img src="https://img.shields.io/badge/arXiv-2507.03724-b31b1b.svg" alt="ArXiv Paper">
58
+ </a>
59
+ <a href="https://github.com/MemTensor/MemOS/discussions">
60
+ <img src="https://img.shields.io/badge/GitHub-Discussions-181717.svg?logo=github" alt="GitHub Discussions">
61
+ </a>
62
+ <a href="https://discord.gg/Txbx3gebZR">
63
+ <img src="https://img.shields.io/badge/Discord-join%20chat-7289DA.svg?logo=discord" alt="Discord">
64
+ </a>
65
+ <a href="docs/assets/qr_code.png">
66
+ <img src="https://img.shields.io/badge/WeChat-Group-07C160.svg?logo=wechat" alt="WeChat Group">
67
+ </a>
68
+ <a href="https://opensource.org/license/apache-2-0/">
69
+ <img src="https://img.shields.io/badge/License-Apache_2.0-green.svg?logo=apache" alt="License">
70
+ </a>
71
+ </p>
72
+ </div>
73
+
74
+ ---
75
+
76
+ <a href="https://memos.openmem.net/">
77
+ <img src="docs/assets/sota_score.jpg" alt="SOTA SCORE">
78
+ </a>
79
+
80
+
81
+ **MemOS** is an operating system for Large Language Models (LLMs) that enhances them with long-term memory capabilities. It allows LLMs to store, retrieve, and manage information, enabling more context-aware, consistent, and personalized interactions.
82
+
83
+ - **Website**: <a href="https://memos.openmem.net/" target="_blank">https://memos.openmem.net/</a>
84
+ - **Documentation**: <a href="https://memos.openmem.net/docs/home" target="_blank">https://memos.openmem.net/docs/home</a>
85
+ - **API Reference**: <a href="https://memos.openmem.net/docs/api/info" target="_blank">https://memos.openmem.net/docs/api/info</a>
86
+ - **Source Code**: <a href="https://github.com/MemTensor/MemOS" target="_blank">https://github.com/MemTensor/MemOS</a>
87
+
88
+ ## 📈 Performance Benchmark
89
+
90
+ MemOS demonstrates significant improvements over baseline memory solutions in multiple reasoning tasks.
91
+
92
+ | Model | Avg. Score | Multi-Hop | Open Domain | Single-Hop | Temporal Reasoning |
93
+ |-------------|------------|-----------|-------------|------------|---------------------|
94
+ | **OpenAI** | 0.5275 | 0.6028 | 0.3299 | 0.6183 | 0.2825 |
95
+ | **MemOS** | **0.7331** | **0.6430** | **0.5521** | **0.7844** | **0.7321** |
96
+ | **Improvement** | **+38.98%** | **+6.67%** | **+67.35%** | **+26.86%** | **+159.15%** |
97
+
98
+ > 💡 **Temporal reasoning accuracy improved by 159% compared to the OpenAI baseline.**
99
+
100
+
101
+
102
+ ### Details of End-to-End Evaluation on LOCOMO
103
+
104
+ > [!NOTE]
105
+ > Comparison of LLM Judge Scores across five major tasks in the LOCOMO benchmark. Each bar shows the mean evaluation score judged by LLMs for a given method-task pair, with standard deviation as error bars. MemOS-0630 consistently outperforms baseline methods (LangMem, Zep, OpenAI, Mem0) across all task types, especially in multi-hop and temporal reasoning scenarios.
106
+
107
+ <a href="https://memos.openmem.net/">
108
+ <img src="docs/assets/score_all_end2end.jpg" alt="END2END SCORE">
109
+ </a>
110
+
111
+
112
+
113
+
114
+ ## ✨ Key Features
115
+
116
+ - **🧠 Memory-Augmented Generation (MAG)**: Provides a unified API for memory operations, integrating with LLMs to enhance chat and reasoning with contextual memory retrieval.
117
+ - **📦 Modular Memory Architecture (MemCube)**: A flexible and modular architecture that allows for easy integration and management of different memory types.
118
+ - **💾 Multiple Memory Types**:
119
+ - **Textual Memory**: For storing and retrieving unstructured or structured text knowledge.
120
+ - **Activation Memory**: Caches key-value pairs (`KVCacheMemory`) to accelerate LLM inference and context reuse.
121
+ - **Parametric Memory**: Stores model adaptation parameters (e.g., LoRA weights).
122
+ - **🔌 Extensible**: Easily extend and customize memory modules, data sources, and LLM integrations.
123
+
124
+ ## 🚀 Getting Started
125
+
126
+ Here's a quick example of how to create a **`MemCube`**, load it from a directory, access its memories, and save it.
127
+
128
+ ```python
129
+ from memos.mem_cube.general import GeneralMemCube
130
+
131
+ # Initialize a MemCube from a local directory
132
+ mem_cube = GeneralMemCube.init_from_dir("examples/data/mem_cube_2")
133
+
134
+ # Access and print all memories
135
+ print("--- Textual Memories ---")
136
+ for item in mem_cube.text_mem.get_all():
137
+ print(item)
138
+
139
+ print("\n--- Activation Memories ---")
140
+ for item in mem_cube.act_mem.get_all():
141
+ print(item)
142
+
143
+ # Save the MemCube to a new directory
144
+ mem_cube.dump("tmp/mem_cube")
145
+ ```
146
+
147
+ What about **`MOS`** (Memory Operating System)? It's a higher-level orchestration layer that manages multiple MemCubes and provides a unified API for memory operations. Here's a quick example of how to use MOS:
148
+
149
+ ```python
150
+ from memos.configs.mem_os import MOSConfig
151
+ from memos.mem_os.main import MOS
152
+
153
+
154
+ # init MOS
155
+ mos_config = MOSConfig.from_json_file("examples/data/config/simple_memos_config.json")
156
+ memory = MOS(mos_config)
157
+
158
+ # create user
159
+ user_id = "b41a34d5-5cae-4b46-8c49-d03794d206f5"
160
+ memory.create_user(user_id=user_id)
161
+
162
+ # register cube for user
163
+ memory.register_mem_cube("examples/data/mem_cube_2", user_id=user_id)
164
+
165
+ # add memory for user
166
+ memory.add(
167
+ messages=[
168
+ {"role": "user", "content": "I like playing football."},
169
+ {"role": "assistant", "content": "I like playing football too."},
170
+ ],
171
+ user_id=user_id,
172
+ )
173
+
174
+ # Later, when you want to retrieve memory for user
175
+ retrieved_memories = memory.search(query="What do you like?", user_id=user_id)
176
+ # output text_memories: I like playing football, act_memories, para_memories
177
+ print(f"text_memories: {retrieved_memories['text_mem']}")
178
+ ```
179
+
180
+ For more detailed examples, please check out the [`examples`](./examples) directory.
181
+
182
+ ## 📦 Installation
183
+
184
+ > [!WARNING]
185
+ > MemOS is compatible with Linux, Windows, and macOS.
186
+ >
187
+ > However, if you're using macOS, please note that there may be dependency issues that are difficult to resolve.
188
+ >
189
+ > For example, compatibility with macOS 13 Ventura is currently challenging.
190
+
191
+ ### Install via pip
192
+
193
+ ```bash
194
+ pip install MemoryOS
195
+ ```
196
+
197
+ ### Development Install
198
+
199
+ To contribute to MemOS, clone the repository and install it in editable mode:
200
+
201
+ ```bash
202
+ git clone https://github.com/MemTensor/MemOS.git
203
+ cd MemOS
204
+ make install
205
+ ```
206
+
207
+ ### Optional Dependencies
208
+
209
+ #### Ollama Support
210
+
211
+ To use MemOS with [Ollama](https://ollama.com/), first install the Ollama CLI:
212
+ ```bash
213
+ curl -fsSL https://ollama.com/install.sh | sh
214
+ ```
215
+
216
+ #### Transformers Support
217
+
218
+ To use functionalities based on the `transformers` library, ensure you have [PyTorch](https://pytorch.org/get-started/locally/) installed (CUDA version recommended for GPU acceleration).
219
+
220
+ ## 💬 Community & Support
221
+
222
+ Join our community to ask questions, share your projects, and connect with other developers.
223
+
224
+ - **GitHub Issues**: Report bugs or request features in our <a href="https://github.com/MemTensor/MemOS/issues" target="_blank">GitHub Issues</a>.
225
+ - **GitHub Pull Requests**: Contribute code improvements via <a href="https://github.com/MemTensor/MemOS/pulls" target="_blank">Pull Requests</a>.
226
+ - **GitHub Discussions**: Participate in our <a href="https://github.com/MemTensor/MemOS/discussions" target="_blank">GitHub Discussions</a> to ask questions or share ideas.
227
+ - **Discord**: Join our <a href="https://discord.gg/Txbx3gebZR" target="_blank">Discord Server</a>.
228
+ - **WeChat**: Scan the QR code to join our WeChat group.
229
+
230
+ <img src="docs/assets/qr_code.png" alt="QR Code" width="600">
231
+
232
+ ## 📜 Citation
233
+
234
+ > [!NOTE]
235
+ > We publicly released the Short Version on **May 28, 2025**, making it the earliest work to propose the concept of a Memory Operating System for LLMs.
236
+
237
+ If you use MemOS in your research, we would appreciate citations to our papers.
238
+
239
+ ```bibtex
240
+
241
+ @article{li2025memos_long,
242
+ title={MemOS: A Memory OS for AI System},
243
+ author={Li, Zhiyu and Song, Shichao and Xi, Chenyang and Wang, Hanyu and Tang, Chen and Niu, Simin and Chen, Ding and Yang, Jiawei and Li, Chunyu and Yu, Qingchen and Zhao, Jihao and Wang, Yezhaohui and Liu, Peng and Lin, Zehao and Wang, Pengyuan and Huo, Jiahao and Chen, Tianyi and Chen, Kai and Li, Kehang and Tao, Zhen and Ren, Junpeng and Lai, Huayi and Wu, Hao and Tang, Bo and Wang, Zhenren and Fan, Zhaoxin and Zhang, Ningyu and Zhang, Linfeng and Yan, Junchi and Yang, Mingchuan and Xu, Tong and Xu, Wei and Chen, Huajun and Wang, Haofeng and Yang, Hongkang and Zhang, Wentao and Xu, Zhi-Qin John and Chen, Siheng and Xiong, Feiyu},
244
+ journal={arXiv preprint arXiv:2507.03724},
245
+ year={2025},
246
+ url={https://arxiv.org/abs/2507.03724}
247
+ }
248
+
249
+ @article{li2025memos_short,
250
+ title={MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models},
251
+ author={Li, Zhiyu and Song, Shichao and Wang, Hanyu and Niu, Simin and Chen, Ding and Yang, Jiawei and Xi, Chenyang and Lai, Huayi and Zhao, Jihao and Wang, Yezhaohui and others},
252
+ journal={arXiv preprint arXiv:2505.22101},
253
+ year={2025},
254
+ url={https://arxiv.org/abs/2505.22101}
255
+ }
256
+
257
+ @article{yang2024memory3,
258
+ author = {Yang, Hongkang and Zehao, Lin and Wenjin, Wang and Wu, Hao and Zhiyu, Li and Tang, Bo and Wenqiang, Wei and Wang, Jinbo and Zeyun, Tang and Song, Shichao and Xi, Chenyang and Yu, Yu and Kai, Chen and Xiong, Feiyu and Tang, Linpeng and Weinan, E},
259
+ title = {Memory$^3$: Language Modeling with Explicit Memory},
260
+ journal = {Journal of Machine Learning},
261
+ year = {2024},
262
+ volume = {3},
263
+ number = {3},
264
+ pages = {300--346},
265
+ issn = {2790-2048},
266
+ doi = {https://doi.org/10.4208/jml.240708},
267
+ url = {https://global-sci.com/article/91443/memory3-language-modeling-with-explicit-memory}
268
+ }
269
+ ```
270
+
271
+ ## 🙌 Contributing
272
+
273
+ We welcome contributions from the community! Please read our [contribution guidelines](https://memos.openmem.net/docs/contribution/overview) to get started.
274
+
275
+ ## 📄 License
276
+
277
+ MemOS is licensed under the [Apache 2.0 License](./LICENSE).
278
+
279
+ ## 📰 News
280
+
281
+ Stay up to date with the latest MemOS announcements, releases, and community highlights.
282
+
283
+ - **2025-07-07** – 🎉 *MemOS 1.0 (Stellar) Preview Release*: A SOTA Memory OS for LLMs is now open-sourced.
284
+ - **2025-07-04** – 🎉 *MemOS Paper Released*: [MemOS: A Memory OS for AI System](https://arxiv.org/abs/2507.03724) was published on arXiv.
285
+ - **2025-05-28** – 🎉 *Short Paper Uploaded*: [MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models](https://arxiv.org/abs/2505.22101) was published on arXiv.
286
+ - **2024-07-04** – 🎉 *Memory3 Model Released at WAIC 2024*: The new memory-layered architecture model was unveiled at the 2024 World Artificial Intelligence Conference.
287
+ - **2024-07-01** – 🎉 *Memory3 Paper Released*: [Memory3: Language Modeling with Explicit Memory](https://arxiv.org/abs/2407.01178) introduces the new approach to structured memory in LLMs.
288
+
@@ -0,0 +1,122 @@
1
+ memos/__init__.py,sha256=c6S03YvsixngtCDQY7KeMPbLwPXHedu2T0EymeXAejY,576
2
+ memos/api/start_api.py,sha256=vDKS3D8AEwlDAkpWxHiblzVqcQ3cvGSnnpP4Jhjm3GE,14656
3
+ memos/chunkers/__init__.py,sha256=7lZOTN3e9Yp5XBsDX5wnWJ3tY126cRU9GmfevzJXAtU,67
4
+ memos/chunkers/base.py,sha256=z0rG5vM7FGremQdSZ_3jlTGbsDtlkWAYWdtSAGqpaR4,655
5
+ memos/chunkers/factory.py,sha256=ixpYz41GG3SZW-1ynLvfbhOZ0aGnFi2wUIYT4_Uxh30,693
6
+ memos/chunkers/sentence_chunker.py,sha256=U0MpeaxONiz3daYXVwH7QiPvivhr2OeKGXdKMG2YJT0,1191
7
+ memos/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ memos/configs/base.py,sha256=bOOhEU6HGFTq5jne_TXn8Br72rvAfJHYvYllFUPs12A,2588
9
+ memos/configs/chunker.py,sha256=Ulci0MyhS_FkuV95l7Pr9Vei179aEFEUigwVmtmSDfI,1593
10
+ memos/configs/embedder.py,sha256=a7EbWB3tnqeK_pdK6-CneoKIwSqQg6sJrXuHX3J1PnI,1769
11
+ memos/configs/graph_db.py,sha256=h5wz2lJSdB1IVaidzWHXDfvL4_IAjrjYrmypu1QCCq4,1432
12
+ memos/configs/internet_retriever.py,sha256=7x1Sp--skifHQqWvcPFiEOkda6HCCocw6HSO5H127jk,3046
13
+ memos/configs/llm.py,sha256=rfIyuxx2xefBD5NpZaeEy3M0gEgEEhvTp1RmRG-zodw,2378
14
+ memos/configs/mem_chat.py,sha256=TjEQHRG1HpLwCBo3hrn5aVK23rykNtV6Be5p4YIg7F4,2571
15
+ memos/configs/mem_cube.py,sha256=AvffqpFC2WmzshouxLJbabuzt0PKLWSauQMnagP_EM0,3088
16
+ memos/configs/mem_os.py,sha256=bUuyi6boIjjvYzrlFoCSqchbWF37IcA5BQi03feq7bg,2476
17
+ memos/configs/mem_reader.py,sha256=y1z4aABKgg-QzROApy3gAPyYX9M5CLi3vT_xKye8Ohs,1864
18
+ memos/configs/mem_scheduler.py,sha256=bTsBfl9GoXbjkiPDCenH8K2QY4RfAJNk-XN1UBl2W4Q,2959
19
+ memos/configs/memory.py,sha256=-f9NpWNbZ11AMHrKngmqygXpb90mXKXIv8WxcQap6Nk,6842
20
+ memos/configs/parser.py,sha256=dy-QoevJbCnkJePKgpzR4oziOzYnS4jB6XH-YrpeMns,1145
21
+ memos/configs/utils.py,sha256=X9NQ6-xURsZROAdS3WT96phVfHcOHgDPOo2Yq68QoKM,242
22
+ memos/configs/vec_db.py,sha256=Gjhhda94pyTDjyJGe2Z6rVEqH4FtViiwq1-7QWhjarM,2335
23
+ memos/deprecation.py,sha256=k2i4bBKqIwu20guwJmPPjOm7reOy19GzLwrTMrIqjPk,7408
24
+ memos/embedders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ memos/embedders/base.py,sha256=zOYERcaqBVCyMVndcR6vhFC_O2itEuTM058odDfhTx8,449
26
+ memos/embedders/factory.py,sha256=DkHl0z2GjLtxe0ASl7o9SDLtQg-hEgdmopuf6HdsudA,845
27
+ memos/embedders/ollama.py,sha256=8lHeMCqxej44ZgeDsPGL-5almxRBWsYYYflu5LeAf7w,2361
28
+ memos/embedders/sentence_transformer.py,sha256=lePjsdtNaf69HbOEsbG31Nj1BWgi0nCdkPtIYleLYWM,1377
29
+ memos/exceptions.py,sha256=UnBoZUYdwb1KoQPE-pXSLT4yOjkwxse9fx0rb_MhEzo,531
30
+ memos/graph_dbs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
+ memos/graph_dbs/base.py,sha256=dTCdoYNS6FZQukpmpqhh8c_NwZ9Myql41g1Im8aDR6E,6873
32
+ memos/graph_dbs/factory.py,sha256=9fS8w0GowWNMSupEyXyTRnivX-RJxTkxPy-tNHs15OM,732
33
+ memos/graph_dbs/neo4j.py,sha256=95x1SJVaXbqryykvUqQXqHMBTtZ4za1iew_8T1hlGq4,31268
34
+ memos/hello_world.py,sha256=RV1vXfK1_U_xAvSusqc-4A8wk3yr8WEQ9q88dmBxvnI,3057
35
+ memos/llms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
+ memos/llms/base.py,sha256=E7qlIWUi_bxRwbKw0vGG7NjHksz45D_-gcrHKT3Ak1k,438
37
+ memos/llms/factory.py,sha256=1JP2ZwUKN4ywaNgdZcRM6wSjahnEXqyuFiGzoxLCadY,792
38
+ memos/llms/hf.py,sha256=rxcR8nAvhezsIQNeOeow-xn-z2h9j1poJO2jPNcJAg8,9008
39
+ memos/llms/ollama.py,sha256=_nZYe0OauPWWcFFYVPSNtvyDGblrL49-EznApa-Mr5I,2565
40
+ memos/llms/openai.py,sha256=QoksbFh0ptsRFDOJzUyTl-Qovd3LzVYid9JqGSBH39U,1145
41
+ memos/llms/utils.py,sha256=OcbM9iSpFJpio7sTT5wvxVx-JnqjIx7eSgiRk7dt0ZI,292
42
+ memos/log.py,sha256=ocQi2NWlpefgxOJi9EoB0as6tXhLA4dmXuVIgZT52FE,2234
43
+ memos/mem_chat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
+ memos/mem_chat/base.py,sha256=LICB_mwUkdCVKb_r33GEPbrEr-2v3dEnI54cAvhcEew,830
45
+ memos/mem_chat/factory.py,sha256=KKCDG9FrpfY2hD3iJ4GM9x8dN09dyhstP1cOUH_knrY,720
46
+ memos/mem_chat/simple.py,sha256=-DRlE8nKZcGuwEubALK-nUf-wWRbGXkDJXUg8Dxhoyo,7919
47
+ memos/mem_cube/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
+ memos/mem_cube/base.py,sha256=NoZKz16oO5AAnJ0alcY52Z1c3C1rbGRe8Znz0CCzDnw,864
49
+ memos/mem_cube/general.py,sha256=ad7Qzshf-psBuu24BX_K0NDN0KDuwliAi06TG4wyH1M,5535
50
+ memos/mem_cube/utils.py,sha256=-6KiCCzy1PehbGAZY20BVcelvdiKFSu4CXMXi8qNrGU,777
51
+ memos/mem_os/client.py,sha256=0M-WRTlQr7fDAYtq4B8dsMR0PfmyvD-ySMhKcW3Umd0,43
52
+ memos/mem_os/core.py,sha256=csZQqZfbdACapcA85Ahh8vBfi0VPFGM_6yilfmln008,34836
53
+ memos/mem_os/main.py,sha256=sGMleiO1_CG8-v3ctIMFe1hx8Jy_OohFtqqpWgRMhbw,21099
54
+ memos/mem_os/product.py,sha256=SFLFEleZISCeBU19b-uohFsaUNXB9tN-GGypuhDFx1I,3043
55
+ memos/mem_reader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
+ memos/mem_reader/base.py,sha256=SSuaD3J88XbHsME1Qa-EAgZ57xApPHPHppMSeeS3JZ4,957
57
+ memos/mem_reader/factory.py,sha256=emKnId9BhScSkqCZyLSLWntixnU3wAMIOVdsRpHldJA,766
58
+ memos/mem_reader/memory.py,sha256=f3fAjrs8Jf6mBZWTgzkEZle7XjDwTJHxM1L2sOb85Tg,13288
59
+ memos/mem_reader/simple_struct.py,sha256=QQOBX-26cysWH-vudf9FzxGa2O0pkZ8_bQ7zGmGXz4o,9493
60
+ memos/mem_scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
+ memos/mem_scheduler/base_scheduler.py,sha256=bYxLm6nUorJGm8DCiBOJ6DG8eqCK3cCIrm3cEe2be7M,6617
62
+ memos/mem_scheduler/general_scheduler.py,sha256=Tp9Nh8qFVR9TklmmISSoBoeHoWTqM0P977gmb-HS6rM,12895
63
+ memos/mem_scheduler/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
+ memos/mem_scheduler/modules/base.py,sha256=j2IJLiDGfen-JyJZSsVQ45s4kvdvPTvJEaqXeEN8Png,2824
65
+ memos/mem_scheduler/modules/dispatcher.py,sha256=JFeqbSBRMfjkOP4ovL9DmB-MzRbOdaVo_GcuxL_0yuY,3902
66
+ memos/mem_scheduler/modules/monitor.py,sha256=mZIJIPhRxd9aH02MFP9gGZ7RqbhZlSQGtfXTJCKYmKU,2683
67
+ memos/mem_scheduler/modules/redis_service.py,sha256=sEgglO1fTpdEE39tl0e2GAA8Y0gXxNo3kqu5lDuyVx4,5479
68
+ memos/mem_scheduler/modules/retriever.py,sha256=NJEFpX2ap4mSQZ9GYBvBr9QMD4QpgLEYaT1DkR1nyKA,1351
69
+ memos/mem_scheduler/modules/schemas.py,sha256=J7Rv4M932Wdm-NoOWQne9txOK7j0V9ScdsRH7klPGTI,5301
70
+ memos/mem_scheduler/scheduler_factory.py,sha256=pw6FKO0EuxFRipMnD22DvcjbM6pdmVfJmRjUvdTaU5E,800
71
+ memos/mem_scheduler/utils.py,sha256=xa2BotLf7iAQ4bVJEujPvRjuzWItOA2gP2H3BkBM5XY,582
72
+ memos/mem_user/user_manager.py,sha256=9XIt4Q2HA1fhh9dbjKRAXh-GTdT43WGYSx-IsST7jZM,15654
73
+ memos/memories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
+ memos/memories/activation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
+ memos/memories/activation/base.py,sha256=kiC35AOnuofgYMzLxZyVULsfOoVq03BGvi6AXtNvF-I,1151
76
+ memos/memories/activation/item.py,sha256=kjM7khcHn-7SJfOmOU9QXwPekRv5Y7xdRQABg_4arGU,757
77
+ memos/memories/activation/kv.py,sha256=nFETbDZk84Tw6j2b123uFck5k3RGlOkYIHYr11Jk6fw,8061
78
+ memos/memories/base.py,sha256=Sr-dEuDc982WwdVREQ2nL8L6rUc0KZPTaBJeYdgx8h8,577
79
+ memos/memories/factory.py,sha256=PZ9OaEAgV2hDwo6UhyCe3OMplOYWefMyYEpXXc-hhGs,1311
80
+ memos/memories/parametric/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
+ memos/memories/parametric/base.py,sha256=RQK2LeaMRr2rVbfoa0M7RJx4r0dGD_uBXt73eizBVhI,667
82
+ memos/memories/parametric/item.py,sha256=9FcY7kf53Uvl5FGXn23o2c0dI_9aUcYjUqTxKOMlbuI,219
83
+ memos/memories/parametric/lora.py,sha256=TqSI2OjmFi-XXCeM-MchSwh1sAhOwL7_JnOwSy9qpis,1397
84
+ memos/memories/textual/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
+ memos/memories/textual/base.py,sha256=3XVeuXZY3ZFzZ6zHIE3l5hx7X2PiH7orxvCwrNZ1l3U,2812
86
+ memos/memories/textual/general.py,sha256=7iektZA-_iR80sOlADW2EFkPT5Utbunu9hdZgT7Ocrk,11072
87
+ memos/memories/textual/item.py,sha256=v6YYDPdPt5uwsJxLlaMwi5m1r7Als2EwgFQhqBvNHRQ,6296
88
+ memos/memories/textual/naive.py,sha256=Z_gfbxI6cQGJ_raOTQic4fnpo493Xq3yEQ8qDV4xplo,6954
89
+ memos/memories/textual/tree.py,sha256=GDG2KS6P9MQaBUmOrHEBUDgxbWCDzELF9XZshyC5zXk,13390
90
+ memos/memories/textual/tree_text_memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
+ memos/memories/textual/tree_text_memory/organize/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
+ memos/memories/textual/tree_text_memory/organize/manager.py,sha256=_nCKzkDk77D_KRSLHwjT1f8Ra9waNVCKs2sBEsmBypk,12341
93
+ memos/memories/textual/tree_text_memory/retrieve/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
+ memos/memories/textual/tree_text_memory/retrieve/internet_retriever.py,sha256=asSzVcSVOiigN4-4NzFc7wzthGDK6P5sODIDF5W9egA,8467
95
+ memos/memories/textual/tree_text_memory/retrieve/internet_retriever_factory.py,sha256=pBlufTc5-mdWcyKR_R0Syev3QPMtV83mydyIw0Saz4o,3192
96
+ memos/memories/textual/tree_text_memory/retrieve/reasoner.py,sha256=5csoGjviFbN9RJ8dm3B6kjvoC8xbPD8UMiGusefHaf0,2228
97
+ memos/memories/textual/tree_text_memory/retrieve/recall.py,sha256=a1P-L3ZER2wh6qTy6p2EhJ-6mSeSisbZgJnHjQv4XkM,5846
98
+ memos/memories/textual/tree_text_memory/retrieve/reranker.py,sha256=U_O0uEKpWHAURhSvkzjYoR2LC8v8vzBjRo8MTeW_6i4,3680
99
+ memos/memories/textual/tree_text_memory/retrieve/retrieval_mid_structs.py,sha256=jZs2S1jtd727gqDKs8clYCOwcqOBnrl_UmFU1FPE0w8,360
100
+ memos/memories/textual/tree_text_memory/retrieve/searcher.py,sha256=2TQsYxWXxZns7jQo1_5rZxbdjqReaQIzGDYJb9eZ4RM,8367
101
+ memos/memories/textual/tree_text_memory/retrieve/task_goal_parser.py,sha256=mAPxg5P3wmAvRVrutpeE3i2yC1R90egUUGdTWyWmq1U,2653
102
+ memos/memories/textual/tree_text_memory/retrieve/utils.py,sha256=JU9_3OTRp1lXHWV6SuRUIO_GjRCPclEu9MrjNZX_kck,1406
103
+ memos/memories/textual/tree_text_memory/retrieve/xinyusearch.py,sha256=0bewmGoHE2n-inHDMlHY2wfpGUzTPSRBm9JkGl63rag,10437
104
+ memos/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
+ memos/parsers/base.py,sha256=AWgWIZzReDiTqiv6z08_9aG2KHVzc4Bdr0Lowz0mWVI,435
106
+ memos/parsers/factory.py,sha256=hPKTR0wVgMQ5Z9ZL-a9FyHWCpz9UcrG2oSEDYBAoB3g,704
107
+ memos/parsers/markitdown.py,sha256=Yh7YAv8PFsz3WgegrwtA_hqaC9W4SOMZP7IRXxcnn_w,615
108
+ memos/settings.py,sha256=HYNBFRW0CS2Kh4GmMRMA-Yrh3ZhJno4S4B6gx6P3T30,178
109
+ memos/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
110
+ memos/templates/mem_reader_prompts.py,sha256=_I9W5AHpmyQKzbuty-NkTBXufDtHzxQmXGvMgxScTa0,5924
111
+ memos/templates/mem_scheduler_prompts.py,sha256=53bcOCC32790tVJ7_s7o0jwu6hg7jUs-z8dyahlLv24,2417
112
+ memos/templates/mos_prompts.py,sha256=QJrMb4FwMOAVb-SFSCGTuqqzvD_YhBTpdVBvpUIftK0,3595
113
+ memos/types.py,sha256=N7XBYxDTdc50KEsS6YxHvYgs23ykGsZ-wNnaJBVdVi4,1791
114
+ memos/vec_dbs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
+ memos/vec_dbs/base.py,sha256=a_-Gsh51C1_8R35mK7DykDxQTicmdgyz4fbEw8d5Mlg,3165
116
+ memos/vec_dbs/factory.py,sha256=Noa4caqzPT9b59i2jzdpAHFCSHiMfDmgRox1POkRRfE,710
117
+ memos/vec_dbs/item.py,sha256=mLrcHF0nWtMCUjScBgaeeSqabQ3vJhKr_6wrU_g25ns,1425
118
+ memos/vec_dbs/qdrant.py,sha256=I_XFmz_7SgFojMTFaqkPvwQEdMBl0MsCKZ43qatwuV0,9858
119
+ memoryos-0.1.13.dist-info/LICENSE,sha256=FU-b6N8tVc7dzUZGyNjUIG1Ihnrh2iuBziq4a1Gl8HU,11358
120
+ memoryos-0.1.13.dist-info/METADATA,sha256=RfJVrfNGHwDlsIlXcR6UG6egWsjYXNtWOIbT0SUhNGc,12766
121
+ memoryos-0.1.13.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
122
+ memoryos-0.1.13.dist-info/RECORD,,
memos/__init__.py CHANGED
@@ -1 +1,20 @@
1
- __version__ = "0.0.1"
1
+ __version__ = "0.1.13"
2
+
3
+ from memos.configs.mem_cube import GeneralMemCubeConfig
4
+ from memos.configs.mem_os import MOSConfig
5
+ from memos.configs.mem_scheduler import SchedulerConfigFactory
6
+ from memos.mem_cube.general import GeneralMemCube
7
+ from memos.mem_os.main import MOS
8
+ from memos.mem_scheduler.general_scheduler import GeneralScheduler
9
+ from memos.mem_scheduler.scheduler_factory import SchedulerFactory
10
+
11
+
12
+ __all__ = [
13
+ "MOS",
14
+ "GeneralMemCube",
15
+ "GeneralMemCubeConfig",
16
+ "GeneralScheduler",
17
+ "MOSConfig",
18
+ "SchedulerConfigFactory",
19
+ "SchedulerFactory",
20
+ ]