Commit 6efe419
add pm and pref eval scripts (#385)
* feat: check nodes existence
* feat: use different template for different language input
* feat: use different template for different language input
* fix: eval script
* feat: memos-api eval scripts
* feat: mem reader
* feat: 实现äºprefeval memos-api evaluation scripts
* refactor:format code
* feat: add PersonaMem eval scripts
* docs(evaluation): update PersonaMem eval readme
* feat:memos-api ingest batch message
* feat: refactor search
* feat: refactor search
* update: add api for memory
* feat: add memory api return memory and memory type
* refactor(server):重构服务器路由模块以优化内存管理
* format: ruff format code
* feat(server): 增加LLM最大令牌数
* test
* fix: user query embedding for search
* count memory_size by user
* fix(server):修复记忆读取逻辑中的列表展开问题
* feat(nebular):优化图数据库查询性能
* refactor(memory):
- 移除了对 `_refresh_memory_size` 方法的调用- 保留原有逻辑以便后续恢复或重构
* feat: remove user idx_memory_user_name
* feat(graph):优化Nebula图数据库查询性能
* feat: rollback remove_oldest_memory
* feat:nebula gql add index
* feat: align code
* feat: update memos_api
* feat: update memos_api
* feat: 更新默认选项
* feat:memory client
* feat:refactor lme
* feat: memu & supermemory client
* feat: locomo memu
* feat: locomo supermemory
* New 'add' and 'process' modes.
* feat: lme supermemory & memu
* feat: default args
* api and local
* api and local
* memobase fix
* memos fix
* default args
* fix memos-api search data
* prefeval pipeline
* fix lme memos-api
* personamem pipeline
* personamem pipeline
* lme scrips
* align dev
* format code
* refactor: remove old files
* format code
* pm and prefeval pipeline
* format code
* format code
* pm and prefeval pipeline
* pm and prefeval pipeline
* pm and prefeval pipeline
* format code
* format code
* pref pipeline
* add search response mode
* add search response mode
* update readme and example
* update mem0 api
* pm mem0
* fix MEMOBASE api
* update pm and prefeval pipepline for frames
* update pm and prefeval readme
* format code
* fix memobase api
* fix memobase api
* format code
* format code
* fix format
* fix format
* fix format
---------
Co-authored-by: 2Rant <[email protected]>
Co-authored-by: fridayL <[email protected]>1 parent b5ea7e6 commit 6efe419
File tree
21 files changed
+2397
-455
lines changed- evaluation
- scripts
- PrefEval
- locomo
- longmemeval
- personamem
- utils
21 files changed
+2397
-455
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| 12 | + | |
15 | 13 | | |
16 | | - | |
17 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | | - | |
20 | | - | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
48 | | - | |
| 55 | + | |
| 56 | + | |
49 | 57 | | |
50 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
51 | 65 | | |
52 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
53 | 70 | | |
54 | 71 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
255 | 251 | | |
256 | 252 | | |
257 | 253 | | |
| 254 | + | |
258 | 255 | | |
259 | 256 | | |
260 | | - | |
| 257 | + | |
261 | 258 | | |
262 | 259 | | |
263 | 260 | | |
| |||
282 | 279 | | |
283 | 280 | | |
284 | 281 | | |
285 | | - | |
| 282 | + | |
286 | 283 | | |
287 | 284 | | |
288 | 285 | | |
| |||
300 | 297 | | |
301 | 298 | | |
302 | 299 | | |
303 | | - | |
| 300 | + | |
304 | 301 | | |
305 | 302 | | |
306 | | - | |
| 303 | + | |
307 | 304 | | |
308 | 305 | | |
309 | 306 | | |
| |||
313 | 310 | | |
314 | 311 | | |
315 | 312 | | |
316 | | - | |
317 | | - | |
318 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
319 | 316 | | |
320 | 317 | | |
321 | 318 | | |
322 | 319 | | |
323 | | - | |
| 320 | + | |
324 | 321 | | |
325 | 322 | | |
326 | | - | |
| 323 | + | |
327 | 324 | | |
328 | 325 | | |
329 | 326 | | |
| |||
332 | 329 | | |
333 | 330 | | |
334 | 331 | | |
335 | | - | |
| 332 | + | |
336 | 333 | | |
337 | 334 | | |
338 | 335 | | |
| |||
382 | 379 | | |
383 | 380 | | |
384 | 381 | | |
| 382 | + | |
385 | 383 | | |
386 | 384 | | |
387 | 385 | | |
388 | 386 | | |
389 | 387 | | |
390 | 388 | | |
391 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
392 | 395 | | |
393 | 396 | | |
394 | 397 | | |
| |||
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
400 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
0 commit comments