Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
0706f8e
chore: bump version to v1.1.1 (#346)
fridayL Sep 24, 2025
285a5c7
fix: api client get_message models
Oct 11, 2025
f7257e8
fix: api client get_message models (#359)
CaralHsi Oct 11, 2025
c491296
chore: bump version to v1.1.2
tangg555 Oct 11, 2025
913539b
chore: bump version to v1.1.2 (#360)
CaralHsi Oct 11, 2025
0c5be2f
fix: nebula efficiency
CaralHsi Oct 17, 2025
78746c0
fix: nebula efficiency (#369)
CaralHsi Oct 17, 2025
9c43395
add polardb.py
wustzdy Oct 18, 2025
188d4a2
add polardb.py
caocuilong Oct 18, 2025
b8b22b4
add polar factory
wustzdy Oct 18, 2025
a95f323
delete
caocuilong Oct 18, 2025
64e842d
update get_memory_count
wustzdy Oct 18, 2025
5b3fd09
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 18, 2025
ac3da33
update get_memory_count
wustzdy Oct 18, 2025
1d5581a
update node_not_exist
wustzdy Oct 18, 2025
57e5b4b
update remove_oldest_memory
wustzdy Oct 18, 2025
6e6febc
fix
caocuilong Oct 18, 2025
9aa5f67
update get_node
wustzdy Oct 18, 2025
5146de8
update get_node
wustzdy Oct 18, 2025
47862b4
update update_node
wustzdy Oct 18, 2025
2ce2c06
update delete_node
wustzdy Oct 18, 2025
5e48c54
add edge
caocuilong Oct 18, 2025
c050d8f
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 18, 2025
bc826a1
add create_extension,create_graph,create_edge
wustzdy Oct 18, 2025
31c5d70
add add_edge
wustzdy Oct 18, 2025
4e830fd
edge_exist
caocuilong Oct 19, 2025
7f95ec4
edge_exist
caocuilong Oct 19, 2025
63437c9
edge_exist
caocuilong Oct 19, 2025
580fb31
update edge_exists
wustzdy Oct 19, 2025
2746be1
update polardb.py
wustzdy Oct 19, 2025
f6e3187
update get_children_with_embeddings
wustzdy Oct 19, 2025
382dc18
update get_children_with_embeddings
wustzdy Oct 19, 2025
13c43a5
update get_subgraph
wustzdy Oct 19, 2025
5cf7772
update get_grouped_counts
wustzdy Oct 19, 2025
7f53eaf
update get_all_memory_items
wustzdy Oct 19, 2025
aed76a7
update export_graph
wustzdy Oct 19, 2025
58600a2
remove
wustzdy Oct 19, 2025
8579961
insert Memory
caocuilong Oct 19, 2025
b84577a
fix add_node
wustzdy Oct 19, 2025
59d5502
fix polardb.py
wustzdy Oct 19, 2025
6bfbe72
fix
caocuilong Oct 19, 2025
c152304
fix get_subgraph
wustzdy Oct 19, 2025
2149233
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 19, 2025
5a6b29d
fix
caocuilong Oct 19, 2025
7a8e0cb
get_grouped_counts
caocuilong Oct 19, 2025
771e771
update get_by_metadata
wustzdy Oct 19, 2025
0d3f3b9
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 19, 2025
9cc3d27
get_grouped_counts
caocuilong Oct 19, 2025
18a0c4d
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 19, 2025
ad2b542
update get_grouped_counts
wustzdy Oct 19, 2025
1275d79
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 19, 2025
825ba5b
update get_grouped_counts
wustzdy Oct 19, 2025
06f9bfc
get_grouped_counts
caocuilong Oct 19, 2025
57dbca9
update get_nodes
wustzdy Oct 19, 2025
d7cccd0
update search_by_embedding filter user_name
wustzdy Oct 20, 2025
25ad681
update search_by_embedding filter user_name
wustzdy Oct 20, 2025
16537a7
add filter user_name for update_node
wustzdy Oct 20, 2025
33bd15c
get_structure_optimization_candidates
caocuilong Oct 20, 2025
691c676
add filter user_name for update_node
wustzdy Oct 20, 2025
6e0dc79
fix
wustzdy Oct 20, 2025
332bf8d
fix
caocuilong Oct 20, 2025
77d6bc6
fix
caocuilong Oct 20, 2025
0104b6d
feat: 增加polardb的启动配置
lijicode Oct 20, 2025
503ec3c
fix
caocuilong Oct 20, 2025
e0bf484
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 20, 2025
4245ee0
fix
caocuilong Oct 20, 2025
9651240
fix get_structure_optimization_candidates
wustzdy Oct 20, 2025
260f2d0
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 20, 2025
fed35de
fix get_all_memory_items
wustzdy Oct 20, 2025
d7a7ada
fix get_all_memory_items
wustzdy Oct 20, 2025
ec43e3c
remove embedding for get_nodes
wustzdy Oct 20, 2025
b2a893f
fix get_structure_optimization_candidates
wustzdy Oct 20, 2025
4b849f3
add _parse_node_new
wustzdy Oct 20, 2025
7c79df6
update get_all_memory_items
wustzdy Oct 20, 2025
834b0ec
update get_all_memory_items
wustzdy Oct 20, 2025
ee365ad
Merge remote-tracking branch 'origin/test' into test_zdy_1001
caocuilong Oct 20, 2025
ee9fb71
update get_all_memory_items for include_embedding
wustzdy Oct 20, 2025
862aa8d
feat: server router add polardb config
lijicode Oct 20, 2025
dced597
feat: server router add polardb config
lijicode Oct 20, 2025
c2f7ff3
update get_all_memory_items for include_embedding False
wustzdy Oct 20, 2025
6d3d446
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 20, 2025
515b735
Feat: sync test to dev (#375)
fridayL Oct 20, 2025
563a8a1
update get_all_memory_items for include_embedding False
wustzdy Oct 20, 2025
2d62433
fix
caocuilong Oct 20, 2025
7f9b4ab
fix get_all_memory_items
caocuilong Oct 20, 2025
3a8c98c
update get_all_memory_items for include_embedding False
wustzdy Oct 20, 2025
5fe53f1
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 20, 2025
26590a9
fix get_all_memory_items
caocuilong Oct 20, 2025
fd4df0e
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 20, 2025
9ecc94b
update get_all_memory_items for include_embedding False
wustzdy Oct 20, 2025
cdc3bd8
Merge branch 'sync_main' into dev_new_update
fridayL Oct 21, 2025
932e410
update get_grouped_counts
wustzdy Oct 21, 2025
6222430
update get_grouped_counts
wustzdy Oct 21, 2025
94a557a
add_node and graph_id
wustzdy Oct 21, 2025
e3e97d2
fix
caocuilong Oct 21, 2025
1cc11d9
fix get_all_memory_items false
wustzdy Oct 21, 2025
3525481
fix
caocuilong Oct 21, 2025
50a75bb
fix get_all_memory_items true
wustzdy Oct 21, 2025
e76b8cd
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 21, 2025
d949f9d
fix
caocuilong Oct 21, 2025
9849b94
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 21, 2025
0bd074a
fix
caocuilong Oct 21, 2025
e1087c1
fix
caocuilong Oct 21, 2025
c2eb13b
fix export_graph
caocuilong Oct 21, 2025
fee4a73
fix export_graph
caocuilong Oct 21, 2025
7c59fbc
fix get_by_metadata
caocuilong Oct 21, 2025
7957db4
update get_neighbors_by_tag
wustzdy Oct 21, 2025
a5322fe
Eval scripts (#377)
Nyakult Oct 21, 2025
d3cf342
update get_neighbors_by_tag
wustzdy Oct 21, 2025
73c7f0d
update get_neighbors_by_tag
wustzdy Oct 21, 2025
56351e5
fix
caocuilong Oct 21, 2025
b363c47
fix
caocuilong Oct 21, 2025
5a448d8
add import_graph
wustzdy Oct 21, 2025
0e05327
fix
caocuilong Oct 21, 2025
88a2718
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 21, 2025
b96874f
add get_edges
wustzdy Oct 21, 2025
03af765
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 21, 2025
1f8154a
add clear
wustzdy Oct 21, 2025
5436b59
get_neighbors_by_tag
wustzdy Oct 22, 2025
c7b5f7c
get_neighbors_by_tag
wustzdy Oct 22, 2025
32a6298
update get_by_metadata
wustzdy Oct 22, 2025
f7ab323
search_by_emdedding remove embedding
caocuilong Oct 22, 2025
ab50c35
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 22, 2025
fe1a9fd
fix:parseJson.py
caocuilong Oct 22, 2025
69cbcb0
fix:get_my_metadata
caocuilong Oct 22, 2025
e91d190
fix
wustzdy Oct 22, 2025
bd190c6
fix get_by_metadata result
wustzdy Oct 22, 2025
d9f863e
fix: sqlite list users error (#384)
fridayL Oct 23, 2025
779db23
update polardb.py
wustzdy Oct 23, 2025
b5ea7e6
feat: introduce async memory add for TreeTextMemory using MemSchedule…
CaralHsi Oct 23, 2025
3159dc2
fix _coerce_metadata
wustzdy Oct 23, 2025
c668123
feat: add rerank time
lijicode Oct 24, 2025
69745ab
feat: add rerank time
lijicode Oct 24, 2025
6efe419
add pm and pref eval scripts (#385)
Nyakult Oct 24, 2025
9c15f5b
fix:node_not_exist
caocuilong Oct 24, 2025
45533c4
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 24, 2025
157deff
import node
caocuilong Oct 24, 2025
c8e1cea
import node
caocuilong Oct 24, 2025
c3a2367
feat: fix merge_config_with_default
lijicode Oct 24, 2025
00c9b4a
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
lijicode Oct 24, 2025
8f10b2d
import node
caocuilong Oct 24, 2025
46dabd2
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 24, 2025
b8f29c1
fix
caocuilong Oct 24, 2025
0b58d47
fix
caocuilong Oct 24, 2025
651e8df
Meger update about scheduler and new api to Dev (#386)
tangg555 Oct 25, 2025
0b2b6ed
Feat/merge inst cplt to dev (#388)
Wang-Daoji Oct 25, 2025
bfeb4dc
feat: fix polardb
lijicode Oct 26, 2025
ed20e79
feat: fix scheduler method name
lijicode Oct 26, 2025
b91c203
fix get_by_metadata for "query": "How long ago was Caroline's 18th bi…
wustzdy Oct 26, 2025
794c9fd
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
wustzdy Oct 26, 2025
c1f2c83
fix get_by_metadata for "query": "How long ago was Caroline's 18th bi…
wustzdy Oct 26, 2025
365c480
fix get_node format_param_value
wustzdy Oct 27, 2025
3165a8d
Merge remote-tracking branch 'refs/remotes/origin/dev' into test_zdy_…
wustzdy Oct 27, 2025
f6e96d5
Feat: add reranker strategies and update configs (#390)
fridayL Oct 27, 2025
e069928
modify code in evaluation (#392)
Wang-Daoji Oct 27, 2025
5cfd425
Merge remote-tracking branch 'refs/remotes/origin/dev' into test_zdy_…
wustzdy Oct 27, 2025
1ebc660
feat: fix CONFIG
lijicode Oct 27, 2025
8c6f7f4
fix
caocuilong Oct 27, 2025
6dd35b7
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 27, 2025
67bd2c8
feat: fix import
lijicode Oct 27, 2025
20c63da
feat: delete test file
lijicode Oct 27, 2025
41040e2
feat: fix polardb
lijicode Oct 27, 2025
4d15cd9
feat: fix recall
lijicode Oct 27, 2025
f005939
Comment out unused configuration handling code
wustzdy Oct 27, 2025
5cf3fa6
fix
caocuilong Oct 27, 2025
2bec50c
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 27, 2025
1e09846
feat: fix polardb
lijicode Oct 27, 2025
9c8cc61
import polardb
caocuilong Oct 27, 2025
7f69ab6
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 27, 2025
58b4e1d
feat: fix polardb
lijicode Oct 27, 2025
e0c77ac
fix
caocuilong Oct 27, 2025
3a9d542
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 27, 2025
7ab927f
feat: fix polardb
lijicode Oct 27, 2025
8608c07
fix
caocuilong Oct 27, 2025
86560d2
Merge remote-tracking branch 'origin/test_zdy_1001' into test_zdy_1001
caocuilong Oct 27, 2025
26f2b5d
fix
caocuilong Oct 27, 2025
84adda6
fix bug in pref_mem return (#399)
Wang-Daoji Oct 27, 2025
d566590
feat: fix polardb
lijicode Oct 27, 2025
50b0f85
Merge branch 'dev' into test_zdy_1001
CaralHsi Oct 27, 2025
af929c9
feat: delete polardb
lijicode Oct 27, 2025
5fef6aa
feat: fix utils
lijicode Oct 27, 2025
5a70742
feat: fix polardb
lijicode Oct 27, 2025
83cc7a3
feat: format polardb
lijicode Oct 27, 2025
4c7f680
feat: format utils
lijicode Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ evaluation/.env
!evaluation/configs-example/*.json
evaluation/configs/*
**tree_textual_memory_locomo**
**script.py**
.env
evaluation/scripts/personamem

Expand Down
8 changes: 7 additions & 1 deletion docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@
"type": "string",
"title": "Session Id",
"description": "Session ID for the MOS. This is used to distinguish between different dialogue",
"default": "0ce84b9c-0615-4b9d-83dd-fba50537d5d3"
"default": "41bb5e18-252d-4948-918c-07d82aa47086"
},
"chat_model": {
"$ref": "#/components/schemas/LLMConfigFactory",
Expand Down Expand Up @@ -939,6 +939,12 @@
"description": "Enable parametric memory for the MemChat",
"default": false
},
"enable_preference_memory": {
"type": "boolean",
"title": "Enable Preference Memory",
"description": "Enable preference memory for the MemChat",
"default": false
},
"enable_mem_scheduler": {
"type": "boolean",
"title": "Enable Mem Scheduler",
Expand Down
21 changes: 18 additions & 3 deletions evaluation/.env-example
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
# memory process model
MODEL="gpt-4o-mini"
OPENAI_API_KEY="sk-***REDACTED***"
OPENAI_BASE_URL="http://***.***.***.***:3000/v1"

MEM0_API_KEY="m0-***REDACTED***"

ZEP_API_KEY="z_***REDACTED***"

# response model
CHAT_MODEL="gpt-4o-mini"
CHAT_MODEL_BASE_URL="http://***.***.***.***:3000/v1"
CHAT_MODEL_API_KEY="sk-***REDACTED***"

# memos
MEMOS_KEY="Token mpg-xxxxx"
MEMOS_URL="http://127.0.0.1:8001"
MEMOS_ONLINE_URL="https://memos.memtensor.cn/api/openmem/v1"

# other memory agents
MEM0_API_KEY="m0-xxx"
ZEP_API_KEY="z_xxx"
MEMU_API_KEY="mu_xxx"
SUPERMEMORY_API_KEY="sm_xxx"
MEMOBASE_API_KEY="xxx"
MEMOBASE_PROJECT_URL="http://***.***.***.***:8019"

# eval settings
PRE_SPLIT_CHUNK=false

# Configuration Only For Scheduler
# RabbitMQ Configuration
MEMSCHEDULER_RABBITMQ_HOST_NAME=rabbitmq-cn-***.cn-***.amqp-32.net.mq.amqp.aliyuncs.com
Expand Down
35 changes: 35 additions & 0 deletions evaluation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ This repository provides tools and scripts for evaluating the LoCoMo dataset usi

2. Copy the `configs-example/` directory to a new directory named `configs/`, and modify the configuration files inside it as needed. This directory contains model and API-specific settings.

## Setup MemOS
```bash
#start server
uvicorn memos.api.server_api:app --host 0.0.0.0 --port 8001 --workers 8

# modify .env file
MEMOS_URL="http://127.0.0.1:8001"
```
## Evaluation Scripts

### LoCoMo Evaluation
Expand All @@ -34,3 +41,31 @@ This repository provides tools and scripts for evaluating the LoCoMo dataset usi
```

✍️ For evaluating OpenAI's native memory feature with the LoCoMo dataset, please refer to the detailed guide: [OpenAI Memory on LoCoMo - Evaluation Guide](./scripts/locomo/openai_memory_locomo_eval_guide.md).

### LongMemEval Evaluation
First prepare the dataset `longmemeval_s` from https://huggingface.co/datasets/xiaowu0162/longmemeval-cleaned
, and save it as `data/longmemeval/longmemeval_s.json`

```bash
# Edit the configuration in ./scripts/run_lme_eval.sh
# Specify the model and memory backend you want to use (e.g., mem0, zep, etc.)
./scripts/run_lme_eval.sh
```

### PrefEval Evaluation
To evaluate the **Prefeval** dataset using one of the supported memory frameworks — `memos`, `mem0`, or `zep` — run the following [script](./scripts/run_prefeval_eval.sh):

```bash
# Edit the configuration in ./scripts/run_prefeval_eval.sh
# Specify the model and memory backend you want to use (e.g., mem0, zep, etc.)
./scripts/run_prefeval_eval.sh
```

### PersonaMem Evaluation
get `questions_32k.csv` and `shared_contexts_32k.jsonl` from https://huggingface.co/datasets/bowen-upenn/PersonaMem and save them at `data/personamem/`
```bash
# Edit the configuration in ./scripts/run_pm_eval.sh
# Specify the model and memory backend you want to use (e.g., mem0, zep, etc.)
# If you want to use MIRIX, edit the the configuration in ./scripts/personamem/config.yaml
./scripts/run_pm_eval.sh
```
13,870 changes: 13,870 additions & 0 deletions evaluation/scripts/PrefEval/irrelevant_conv.py

Large diffs are not rendered by default.

Loading