Skip to content

Commit 58d434c

Browse files
authored
chore: bump version to v1.1.0 (#340)
## Description <!-- Please include a summary of the changes below; Fill in the issue number that this PR addresses (if applicable); Fill in the related MemOS-Docs repository issue or PR link (if applicable); Mention the person who will review this PR (if you know who it is); Replace (summary), (issue), (docs-issue-or-pr-link), and (reviewer) with the appropriate information. 请在下方填写更改的摘要; 填写此 PR 解决的问题编号(如果适用); 填写相关的 MemOS-Docs 仓库 issue 或 PR 链接(如果适用); 提及将审查此 PR 的人(如果您知道是谁); 替换 (summary)、(issue)、(docs-issue-or-pr-link) 和 (reviewer) 为适当的信息。 --> Summary: Added OpenTelemetry support (#298, #307). Introduced OpenTelemetry to enhance observability and monitoring for the system, helping to trace requests and measure system performance. Chatbot API and reranker filter, fixed Pydantic bug (#294, #303). Added a new chatbot API and incorporated a reranker filter to improve the response quality. Also, fixed issues related to Pydantic validation errors. Updated Nebula to version 5.1.1 (#311). Updated to the latest version of Nebula (5.1.1), addressing any known bugs and ensuring better performance with the new features. Parallelized recall and searcher processes (#337). Improved the performance of recall and search operations by parallelizing them, allowing for faster query handling. Added API client feature (#334). Introduced a new API client to facilitate easier interactions with the system's API, likely for external integrations. Fix: Fixed bugs in retriever, and added new auth info for Neo4j DB (#313). Addressed bugs in the retriever and improved authentication handling for the Neo4j database, ensuring more reliable connections and data retrieval. Docs Issue/PR: (docs-issue-or-pr-link) Reviewer: @(reviewer) ## Checklist: - [x] I have performed a self-review of my own code | 我已自行检查了自己的代码 - [x] I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释 - [ ] I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常 - [ ] I have created related documentation issue/PR in [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) | 我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档 issue/PR(如果适用) - [ ] I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用) - [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人
2 parents 850a600 + 6f1159f commit 58d434c

File tree

118 files changed

+10948
-1497
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+10948
-1497
lines changed

.github/workflows/python-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ on:
1212
- "main"
1313
- "dev"
1414
- "feat/*"
15+
- "test"
1516
pull_request:
1617
branches:
1718
- "main"
1819
- "dev"
1920
- "feat/*"
21+
- "test"
2022

2123
jobs:
2224
build:

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tmp/
88
# evaluation data
99
*.csv
1010
*.jsonl
11+
**settings.json**
1112
evaluation/*tmp/
1213
evaluation/results
1314
evaluation/.env
@@ -19,7 +20,7 @@ evaluation/scripts/personamem
1920

2021
# benchmarks
2122
benchmarks/
22-
23+
2324
# Byte-compiled / optimized / DLL files
2425
__pycache__/
2526
*.py[cod]
@@ -47,6 +48,7 @@ share/python-wheels/
4748
.installed.cfg
4849
*.egg
4950
MANIFEST
51+
.run
5052

5153
# PyInstaller
5254
# Usually these files are written by a python script from a template
@@ -210,3 +212,5 @@ cython_debug/
210212

211213
# Outputs and Evaluation Results
212214
outputs
215+
216+
evaluation/data/temporal_locomo

.vscode/settings.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

docker/docker-compose.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ services:
1616
environment:
1717
- PYTHONPATH=/app/src
1818
- HF_ENDPOINT=https://hf-mirror.com
19+
- QDRANT_HOST=qdrant-docker
20+
- QDRANT_PORT=6333
21+
- NEO4J_URI=bolt://neo4j-docker:7687
1922
volumes:
2023
- ../src:/app/src
2124
- .:/app/docker
@@ -29,7 +32,7 @@ services:
2932
- "7474:7474" # HTTP
3033
- "7687:7687" # Bolt
3134
healthcheck:
32-
test: wget http://localhost:7687 || exit 1
35+
test: wget http://localhost:7474 || exit 1
3336
interval: 1s
3437
timeout: 10s
3538
retries: 20
@@ -44,7 +47,7 @@ services:
4447
- memos_network
4548

4649
qdrant:
47-
image: qdrant/qdrant:v1.15.0
50+
image: qdrant/qdrant:v1.15.3
4851
container_name: qdrant-docker
4952
ports:
5053
- "6333:6333" # REST API

docker/requirements.txt

Lines changed: 160 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,160 @@
1-
annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
2-
anyio==4.9.0 ; python_version >= "3.10" and python_version < "4.0"
3-
attrs==25.3.0 ; python_version >= "3.10" and python_version < "4.0"
4-
authlib==1.6.0 ; python_version >= "3.10" and python_version < "4.0"
5-
beautifulsoup4==4.13.4 ; python_version >= "3.10" and python_version < "4.0"
6-
certifi==2025.7.14 ; python_version >= "3.10" and python_version < "4.0"
7-
cffi==1.17.1 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy"
8-
cfgv==3.4.0 ; python_version >= "3.10" and python_version < "4.0"
9-
charset-normalizer==3.4.2 ; python_version >= "3.10" and python_version < "4.0"
10-
chonkie==1.1.1 ; python_version >= "3.10" and python_version < "4.0"
11-
click==8.2.1 ; python_version >= "3.10" and python_version < "4.0"
12-
cobble==0.1.4 ; python_version >= "3.10" and python_version < "4.0"
13-
colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
14-
coloredlogs==15.0.1 ; python_version >= "3.10" and python_version < "4.0"
15-
cryptography==45.0.5 ; python_version >= "3.10" and python_version < "4.0"
16-
cyclopts==3.22.2 ; python_version >= "3.10" and python_version < "4.0"
17-
defusedxml==0.7.1 ; python_version >= "3.10" and python_version < "4.0"
18-
distlib==0.4.0 ; python_version >= "3.10" and python_version < "4.0"
19-
distro==1.9.0 ; python_version >= "3.10" and python_version < "4.0"
20-
dnspython==2.7.0 ; python_version >= "3.10" and python_version < "4.0"
21-
docstring-parser==0.16 ; python_version >= "3.10" and python_version < "4.0"
22-
docutils==0.21.2 ; python_version >= "3.10" and python_version < "4.0"
23-
email-validator==2.2.0 ; python_version >= "3.10" and python_version < "4.0"
24-
et-xmlfile==2.0.0 ; python_version >= "3.10" and python_version < "4.0"
25-
exceptiongroup==1.3.0 ; python_version >= "3.10" and python_version < "4.0"
26-
fastapi-cli==0.0.8 ; python_version >= "3.10" and python_version < "4.0"
27-
fastapi-cloud-cli==0.1.4 ; python_version >= "3.10" and python_version < "4.0"
28-
fastapi==0.115.14 ; python_version >= "3.10" and python_version < "4.0"
29-
fastmcp==2.10.5 ; python_version >= "3.10" and python_version < "4.0"
30-
filelock==3.18.0 ; python_version >= "3.10" and python_version < "4.0"
31-
flatbuffers==25.2.10 ; python_version >= "3.10" and python_version < "4.0"
32-
fsspec==2025.7.0 ; python_version >= "3.10" and python_version < "4.0"
33-
greenlet==3.2.3 ; python_version >= "3.10" and python_version < "3.14" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32")
34-
h11==0.16.0 ; python_version >= "3.10" and python_version < "4.0"
35-
hf-xet==1.1.5 ; python_version >= "3.10" and python_version < "4.0" and (platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "arm64" or platform_machine == "aarch64")
36-
httpcore==1.0.9 ; python_version >= "3.10" and python_version < "4.0"
37-
httptools==0.6.4 ; python_version >= "3.10" and python_version < "4.0"
38-
httpx-sse==0.4.1 ; python_version >= "3.10" and python_version < "4.0"
39-
httpx==0.28.1 ; python_version >= "3.10" and python_version < "4.0"
40-
huggingface-hub==0.33.4 ; python_version >= "3.10" and python_version < "4.0"
41-
humanfriendly==10.0 ; python_version >= "3.10" and python_version < "4.0"
42-
identify==2.6.12 ; python_version >= "3.10" and python_version < "4.0"
43-
idna==3.10 ; python_version >= "3.10" and python_version < "4.0"
44-
iniconfig==2.1.0 ; python_version >= "3.10" and python_version < "4.0"
45-
itsdangerous==2.2.0 ; python_version >= "3.10" and python_version < "4.0"
46-
jinja2==3.1.6 ; python_version >= "3.10" and python_version < "4.0"
47-
jiter==0.10.0 ; python_version >= "3.10" and python_version < "4.0"
48-
joblib==1.5.1 ; python_version >= "3.10" and python_version < "4.0"
49-
jsonschema-specifications==2025.4.1 ; python_version >= "3.10" and python_version < "4.0"
50-
jsonschema==4.24.1 ; python_version >= "3.10" and python_version < "4.0"
51-
lxml==6.0.0 ; python_version >= "3.10" and python_version < "4.0"
52-
magika==0.6.2 ; python_version >= "3.10" and python_version < "4.0"
53-
mammoth==1.9.1 ; python_version >= "3.10" and python_version < "4.0"
54-
markdown-it-py==3.0.0 ; python_version >= "3.10" and python_version < "4.0"
55-
markdownify==1.1.0 ; python_version >= "3.10" and python_version < "4.0"
56-
markitdown==0.1.2 ; python_version >= "3.10" and python_version < "4.0"
57-
markupsafe==3.0.2 ; python_version >= "3.10" and python_version < "4.0"
58-
mcp==1.12.0 ; python_version >= "3.10" and python_version < "4.0"
59-
mdurl==0.1.2 ; python_version >= "3.10" and python_version < "4.0"
60-
mpmath==1.3.0 ; python_version >= "3.10" and python_version < "4.0"
61-
neo4j==5.28.1 ; python_version >= "3.10" and python_version < "4.0"
62-
nodeenv==1.9.1 ; python_version >= "3.10" and python_version < "4.0"
63-
numpy==2.2.6 ; python_version == "3.10"
64-
numpy==2.3.1 ; python_version >= "3.11" and python_version < "4.0"
65-
ollama==0.4.9 ; python_version >= "3.10" and python_version < "4.0"
66-
onnxruntime==1.22.1 ; python_version >= "3.10" and python_version < "4.0"
67-
openai==1.97.0 ; python_version >= "3.10" and python_version < "4.0"
68-
openapi-pydantic==0.5.1 ; python_version >= "3.10" and python_version < "4.0"
69-
openpyxl==3.1.5 ; python_version >= "3.10" and python_version < "4.0"
70-
orjson==3.11.0 ; python_version >= "3.10" and python_version < "4.0"
71-
packaging==25.0 ; python_version >= "3.10" and python_version < "4.0"
72-
pandas==2.3.1 ; python_version >= "3.10" and python_version < "4.0"
73-
pdfminer-six==20250506 ; python_version >= "3.10" and python_version < "4.0"
74-
pillow==11.3.0 ; python_version >= "3.10" and python_version < "4.0"
75-
platformdirs==4.3.8 ; python_version >= "3.10" and python_version < "4.0"
76-
pluggy==1.6.0 ; python_version >= "3.10" and python_version < "4.0"
77-
pre-commit==4.2.0 ; python_version >= "3.10" and python_version < "4.0"
78-
protobuf==6.31.1 ; python_version >= "3.10" and python_version < "4.0"
79-
pycparser==2.22 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy"
80-
pydantic-core==2.33.2 ; python_version >= "3.10" and python_version < "4.0"
81-
pydantic-extra-types==2.10.5 ; python_version >= "3.10" and python_version < "4.0"
82-
pydantic-settings==2.10.1 ; python_version >= "3.10" and python_version < "4.0"
83-
pydantic==2.11.7 ; python_version >= "3.10" and python_version < "4.0"
84-
pygments==2.19.2 ; python_version >= "3.10" and python_version < "4.0"
85-
pyperclip==1.9.0 ; python_version >= "3.10" and python_version < "4.0"
86-
pyreadline3==3.5.4 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
87-
pytest-asyncio==0.23.8 ; python_version >= "3.10" and python_version < "4.0"
88-
pytest==8.4.1 ; python_version >= "3.10" and python_version < "4.0"
89-
python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "4.0"
90-
python-dotenv==1.1.1 ; python_version >= "3.10" and python_version < "4.0"
91-
python-multipart==0.0.20 ; python_version >= "3.10" and python_version < "4.0"
92-
python-pptx==1.0.2 ; python_version >= "3.10" and python_version < "4.0"
93-
pytz==2025.2 ; python_version >= "3.10" and python_version < "4.0"
94-
pywin32==311 ; python_version >= "3.10" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
95-
pyyaml==6.0.2 ; python_version >= "3.10" and python_version < "4.0"
96-
referencing==0.36.2 ; python_version >= "3.10" and python_version < "4.0"
97-
regex==2024.11.6 ; python_version >= "3.10" and python_version < "4.0"
98-
requests==2.32.4 ; python_version >= "3.10" and python_version < "4.0"
99-
rich-rst==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
100-
rich-toolkit==0.14.8 ; python_version >= "3.10" and python_version < "4.0"
101-
rich==14.0.0 ; python_version >= "3.10" and python_version < "4.0"
102-
rignore==0.6.2 ; python_version >= "3.10" and python_version < "4.0"
103-
rpds-py==0.26.0 ; python_version >= "3.10" and python_version < "4.0"
104-
ruff==0.11.13 ; python_version >= "3.10" and python_version < "4.0"
105-
safetensors==0.5.3 ; python_version >= "3.10" and python_version < "4.0"
106-
schedule==1.2.2 ; python_version >= "3.10" and python_version < "4.0"
107-
scikit-learn==1.7.0 ; python_version >= "3.10" and python_version < "4.0"
108-
scipy==1.15.3 ; python_version == "3.10"
109-
scipy==1.16.0 ; python_version >= "3.11" and python_version < "4.0"
110-
sentry-sdk==2.33.0 ; python_version >= "3.10" and python_version < "4.0"
111-
shellingham==1.5.4 ; python_version >= "3.10" and python_version < "4.0"
112-
six==1.17.0 ; python_version >= "3.10" and python_version < "4.0"
113-
sniffio==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
114-
soupsieve==2.7 ; python_version >= "3.10" and python_version < "4.0"
115-
sqlalchemy==2.0.41 ; python_version >= "3.10" and python_version < "4.0"
116-
sse-starlette==2.4.1 ; python_version >= "3.10" and python_version < "4.0"
117-
starlette==0.46.2 ; python_version >= "3.10" and python_version < "4.0"
118-
sympy==1.14.0 ; python_version >= "3.10" and python_version < "4.0"
119-
tenacity==9.1.2 ; python_version >= "3.10" and python_version < "4.0"
120-
threadpoolctl==3.6.0 ; python_version >= "3.10" and python_version < "4.0"
121-
tokenizers==0.21.2 ; python_version >= "3.10" and python_version < "4.0"
122-
tomli==2.2.1 ; python_version == "3.10"
123-
tqdm==4.67.1 ; python_version >= "3.10" and python_version < "4.0"
124-
transformers==4.53.2 ; python_version >= "3.10" and python_version < "4.0"
125-
typer==0.16.0 ; python_version >= "3.10" and python_version < "4.0"
126-
typing-extensions==4.14.1 ; python_version >= "3.10" and python_version < "4.0"
127-
typing-inspection==0.4.1 ; python_version >= "3.10" and python_version < "4.0"
128-
tzdata==2025.2 ; python_version >= "3.10" and python_version < "4.0"
129-
ujson==5.10.0 ; python_version >= "3.10" and python_version < "4.0"
130-
urllib3==2.5.0 ; python_version >= "3.10" and python_version < "4.0"
131-
uvicorn==0.35.0 ; python_version >= "3.10" and python_version < "4.0"
132-
uvloop==0.21.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy" and sys_platform != "win32" and sys_platform != "cygwin"
133-
virtualenv==20.31.2 ; python_version >= "3.10" and python_version < "4.0"
134-
watchfiles==1.1.0 ; python_version >= "3.10" and python_version < "4.0"
135-
websockets==15.0.1 ; python_version >= "3.10" and python_version < "4.0"
136-
xlrd==2.0.2 ; python_version >= "3.10" and python_version < "4.0"
137-
xlsxwriter==3.2.5 ; python_version >= "3.10" and python_version < "4.0"
1+
# Docker optimized requirements - Core dependencies only
2+
# Excludes Windows-specific and heavy GPU packages for faster builds
3+
4+
annotated-types==0.7.0
5+
anyio==4.9.0
6+
async-timeout==5.0.1
7+
attrs==25.3.0
8+
authlib==1.6.0
9+
beautifulsoup4==4.13.4
10+
certifi==2025.7.14
11+
cffi==1.17.1
12+
charset-normalizer==3.4.2
13+
chonkie==1.1.1
14+
click==8.2.1
15+
cobble==0.1.4
16+
colorama==0.4.6
17+
coloredlogs==15.0.1
18+
cryptography==45.0.5
19+
cyclopts==3.22.2
20+
defusedxml==0.7.1
21+
distro==1.9.0
22+
dnspython==2.7.0
23+
docstring-parser==0.16
24+
docutils==0.21.2
25+
email-validator==2.2.0
26+
et-xmlfile==2.0.0
27+
exceptiongroup==1.3.0
28+
fastapi-cli==0.0.8
29+
fastapi-cloud-cli==0.1.4
30+
fastapi==0.115.14
31+
fastmcp==2.10.5
32+
filelock==3.18.0
33+
flatbuffers==25.2.10
34+
fsspec==2025.7.0
35+
greenlet==3.2.3
36+
grpcio==1.73.1
37+
h11==0.16.0
38+
h2==4.2.0
39+
hf-xet==1.1.5
40+
hpack==4.1.0
41+
httpcore==1.0.9
42+
httptools==0.6.4
43+
httpx-sse==0.4.1
44+
httpx==0.28.1
45+
huggingface-hub==0.33.4
46+
humanfriendly==10.0
47+
hyperframe==6.1.0
48+
idna==3.10
49+
itsdangerous==2.2.0
50+
jinja2==3.1.6
51+
jiter==0.10.0
52+
joblib==1.5.1
53+
jsonschema-specifications==2025.4.1
54+
jsonschema==4.24.1
55+
lxml==6.0.0
56+
magika==0.6.2
57+
mammoth==1.9.1
58+
markdown-it-py==3.0.0
59+
markdownify==1.1.0
60+
markitdown==0.1.2
61+
markupsafe==3.0.2
62+
mcp==1.12.0
63+
mdurl==0.1.2
64+
mpmath==1.3.0
65+
neo4j==5.28.1
66+
networkx==3.5
67+
numpy==2.3.1
68+
# NVIDIA CUDA packages excluded for lighter Docker images
69+
# If GPU support is needed, uncomment relevant packages below:
70+
# nvidia-cublas-cu12==12.6.4.1
71+
# nvidia-cuda-cupti-cu12==12.6.80
72+
# nvidia-cuda-nvrtc-cu12==12.6.77
73+
# nvidia-cuda-runtime-cu12==12.6.77
74+
# nvidia-cudnn-cu12==9.5.1.17
75+
# nvidia-cufft-cu12==11.3.0.4
76+
# nvidia-cufile-cu12==1.11.1.6
77+
# nvidia-curand-cu12==10.3.7.77
78+
# nvidia-cusolver-cu12==11.7.1.2
79+
# nvidia-cusparse-cu12==12.5.4.2
80+
# nvidia-cusparselt-cu12==0.6.3
81+
# nvidia-nccl-cu12==2.26.2
82+
# nvidia-nvjitlink-cu12==12.6.85
83+
# nvidia-nvtx-cu12==12.6.77
84+
ollama==0.4.9
85+
onnxruntime==1.22.1
86+
openai==1.97.0
87+
openapi-pydantic==0.5.1
88+
openpyxl==3.1.5
89+
orjson==3.11.0
90+
packaging==25.0
91+
pandas==2.3.1
92+
pdfminer-six==20250506
93+
pika==1.3.2
94+
pillow==11.3.0
95+
portalocker==2.10.1
96+
protobuf==6.31.1
97+
pycparser==2.22
98+
pydantic-core==2.33.2
99+
pydantic-extra-types==2.10.5
100+
pydantic-settings==2.10.1
101+
pydantic==2.11.7
102+
pygments==2.19.2
103+
pymysql==1.1.1
104+
pyperclip==1.9.0
105+
# Windows-specific packages excluded:
106+
# pyreadline3==3.5.4 # Windows only
107+
# pywin32==311 # Windows only
108+
python-dateutil==2.9.0.post0
109+
python-dotenv==1.1.1
110+
python-multipart==0.0.20
111+
python-pptx==1.0.2
112+
pytz==2025.2
113+
pyyaml==6.0.2
114+
qdrant-client==1.14.3
115+
redis==6.2.0
116+
referencing==0.36.2
117+
regex==2024.11.6
118+
requests==2.32.4
119+
rich-rst==1.3.1
120+
rich-toolkit==0.14.8
121+
rich==14.0.0
122+
rignore==0.6.2
123+
rpds-py==0.26.0
124+
safetensors==0.5.3
125+
schedule==1.2.2
126+
scikit-learn==1.7.0
127+
scipy==1.16.0
128+
sentence-transformers==4.1.0
129+
sentry-sdk==2.33.0
130+
setuptools==80.9.0
131+
shellingham==1.5.4
132+
six==1.17.0
133+
sniffio==1.3.1
134+
soupsieve==2.7
135+
sqlalchemy==2.0.41
136+
sse-starlette==2.4.1
137+
starlette==0.46.2
138+
sympy==1.14.0
139+
tenacity==9.1.2
140+
threadpoolctl==3.6.0
141+
tokenizers==0.21.2
142+
# Torch excluded for lighter Docker images (very large package ~2GB)
143+
# If needed for ML/AI features, uncomment:
144+
# torch==2.7.1
145+
# triton==3.3.1
146+
tqdm==4.67.1
147+
transformers==4.53.2
148+
typer==0.16.0
149+
typing-extensions==4.14.1
150+
typing-inspection==0.4.1
151+
tzdata==2025.2
152+
ujson==5.10.0
153+
urllib3==2.5.0
154+
uvicorn==0.35.0
155+
uvloop==0.21.0
156+
volcengine-python-sdk==4.0.6
157+
watchfiles==1.1.0
158+
websockets==15.0.1
159+
xlrd==2.0.2
160+
xlsxwriter==3.2.5

evaluation/scripts/temporal_locomo/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)