- Fixed mem0 source commit 2c81af3 (2.2.1) in isolated venv, qdrant embedded + fastembed local zh embeddings (95.3MB, within 500MB cap) - Gate0 transport-level persistent debit ledger: 61st call blocked pre-send, failures count, cross-process persistence, retries disabled+counted (fake transport, zero network) - Gate1 qdrant embedded checks: keyword_search functional (Chinese segmentation gap recorded honestly), restart subprocess, clean-copy restore, no telemetry collections - Gate2 privacy with stub LLM: P1-P5 zero leak, first-share timing F1-F6 (failed/cancel/unconfirmed no migration, ack+judged migrates told content with anchors, duplicate receipt idempotent), full backup incl. unshared internal memories restores clean - A/B same-material same-criteria: Mem0 paraphrase recall strictly better than current lexical path (S3, model answers in Chinese), S1-S9 all pass, no regression - Headline findings: Chinese input extracted as English memories (default upstream prompt), BM25 lexical channel inert for Chinese, ADD-only infer confirmed with our update orchestration, custom metadata needs direct payload read - 26/60 real outbound via persistent ledger (incl. one parse-failure retry), usage/latency per row; embeddings 28/500; HEL-835 quota untouched - Experiment branch only: no merge to main/product, no deploy, no real-profile access; handoff JSON + dual-base requirement checks pass Co-authored-by: multica-agent <github@multica.ai>
659 lines
28 KiB
JSON
659 lines
28 KiB
JSON
{
|
||
"_mem0_adds": {
|
||
"base_corpus": [
|
||
{
|
||
"event": "ERROR",
|
||
"memory": "{\"results\": [{\"id\": \"ccab5f57-d396-459e-9fee-467411c5c674\", \"memory\": \"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially"
|
||
}
|
||
],
|
||
"correction_first": [
|
||
{
|
||
"event": "ERROR",
|
||
"memory": "{\"results\": [{\"id\": \"624b2c71-2fed-42e9-a0a3-c38ebd877aee\", \"memory\": \"User plans to go to the hospital for a physical examination next Wednesday, around November 4, 2026.\", \"event\": \"ADD\"}]}"
|
||
}
|
||
],
|
||
"correction_later": [
|
||
{
|
||
"event": "ERROR",
|
||
"memory": "{\"results\": [{\"id\": \"c0e0abb7-060e-4af7-bd27-8fa772e3d7fd\", \"memory\": \"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized n"
|
||
}
|
||
],
|
||
"fact_feeling": [
|
||
{
|
||
"event": "ERROR",
|
||
"memory": "{\"results\": [{\"id\": \"ee35cf18-07f0-4203-bfea-e24bf49b90b0\", \"memory\": \"User has a very important interview on Friday, around October 30, 2026.\", \"event\": \"ADD\"}, {\"id\": \"fe1e55d1-daf3-4ec7-996e-fac65e"
|
||
}
|
||
],
|
||
"promise": [
|
||
{
|
||
"event": "ERROR",
|
||
"memory": "{\"results\": [{\"id\": \"ce7b3056-507a-4dc1-b838-0f45f9795000\", \"memory\": \"User said they would tell the assistant the interview result on Friday evening.\", \"event\": \"ADD\"}, {\"id\": \"1be6b9ca-68ac-47a7-bb9"
|
||
}
|
||
]
|
||
},
|
||
"S1_verbatim_retention": {
|
||
"baseline_raw_in_chat_message": false,
|
||
"mem0_raw_in_history_db": true,
|
||
"expect": "两侧原文都留存:现状在 chat_message/mem_episodic.raw;Mem0 在 history.db messages(派生副本)",
|
||
"pass": true
|
||
},
|
||
"S2_cross_session_detail": {
|
||
"retrieval": {
|
||
"baseline": {
|
||
"hit": true,
|
||
"detail_in_context": false,
|
||
"detail_in_reread": false
|
||
},
|
||
"mem0": {
|
||
"hit": true,
|
||
"detail_in_context": true,
|
||
"memories": [
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it.",
|
||
"User finished reading the poetry collection and liked the third poem the most, which is about salt in a room.",
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside."
|
||
]
|
||
}
|
||
},
|
||
"model_use": {
|
||
"baseline_answer": "资料里只提到你买到一本诗集且很喜欢,没有记录那天的其他细节。",
|
||
"mem0_answer": "记得,你是在2026年10月25日在一家旧书店找到那本蓝色封面的诗集,注意到书页有潮湿的气味,并且特别喜欢它。",
|
||
"baseline_detail_used": false,
|
||
"mem0_detail_used": false
|
||
},
|
||
"expect": "两侧检索命中;细节是否进入注入块与模型实际使用分列(现状靠回读,Mem0 靠提取保真)",
|
||
"pass": true
|
||
},
|
||
"S3_paraphrase_recall": {
|
||
"query1": "之前买的那本诗歌选集,封面是什么颜色",
|
||
"baseline": {
|
||
"hits": 0,
|
||
"mode": "none",
|
||
"target_hit": false
|
||
},
|
||
"mem0": {
|
||
"hits": 11,
|
||
"memories": [
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside.",
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it.",
|
||
"User finished reading the poetry collection and liked the third poem the most, which is about salt in a room."
|
||
],
|
||
"target_hit": true
|
||
},
|
||
"query2": "买栗子那次遇到什么倒霉事",
|
||
"baseline_q2_hits": 0,
|
||
"mem0_q2": {
|
||
"hits": 11,
|
||
"memories": [
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside.",
|
||
"User bought candied chestnuts again after the earlier bad batch, and this time they were good.",
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it."
|
||
],
|
||
"target_hit": true
|
||
},
|
||
"model_use": {
|
||
"baseline_answer": "不知道。资料中没有关于之前购买的诗歌选集及其封面颜色的信息。",
|
||
"mem0_answer": "蓝色。",
|
||
"mem0_answer_has_color": true
|
||
},
|
||
"expect": "换说法召回 Mem0 严格优于现状(现状词面无命中是其已证缺口)",
|
||
"pass": true
|
||
},
|
||
"S4_correction": {
|
||
"baseline": {
|
||
"keyword_hits": [
|
||
"c1",
|
||
"c2"
|
||
],
|
||
"natural_lang_hits": 0,
|
||
"natural_lang_mode": "none",
|
||
"both_kept": true
|
||
},
|
||
"mem0": {
|
||
"retrieved": [
|
||
"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized not to record it wrong.",
|
||
"User worked overtime until 9 PM on 2026-10-25 and bought candied chestnuts on the way home, but half of them were bad.",
|
||
"User was so nervous about the important Friday interview that they did not sleep well the night before, around October 24, 2026.",
|
||
"User said they would tell the assistant the interview result on Friday evening.",
|
||
"User plans to go to the hospital for a physical examination next Wednesday, around November 4, 2026.",
|
||
"User has a very important interview on Friday, around October 30, 2026.",
|
||
"User passed the important interview and received the notification, and said the assistant was the first person they wanted to tell.",
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it.",
|
||
"User bought candied chestnuts again after the earlier bad batch, and this time they were good.",
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside.",
|
||
"User finished reading the poetry collection and liked the third poem the most, which is about salt in a room."
|
||
],
|
||
"has_new_friday": true,
|
||
"has_old_wednesday": true,
|
||
"infer_is_add_only_both_entries": true,
|
||
"our_update": {
|
||
"updated": true
|
||
},
|
||
"history_update_rows": [
|
||
[
|
||
"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized not to record it wrong.",
|
||
"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized not to record it wrong.(改期确认:体检在周五上午)",
|
||
"UPDATE"
|
||
]
|
||
]
|
||
},
|
||
"model_use": {
|
||
"answer": "体检改到了周五上午,大约是2026年10月30日。",
|
||
"friday_used": true
|
||
},
|
||
"expect": "稍后改口时 infer 为 ADD-only(新旧并存,v4 事实);我方显式 update 编排改口留 prev→new 史;现状关键词检索不退化,自然语言查询维持其已证词面缺口",
|
||
"pass": true
|
||
},
|
||
"S5_fact_feeling_separation": {
|
||
"baseline": {
|
||
"fact_kw_hits": [
|
||
"p2",
|
||
"p1",
|
||
"f2",
|
||
"f1"
|
||
],
|
||
"feeling_kw_hits": [
|
||
"f2"
|
||
],
|
||
"fact_nl_hits": 0,
|
||
"feeling_nl_hits": 0
|
||
},
|
||
"mem0": {
|
||
"fact_memories": [
|
||
"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized not to record it wrong.(改期确认:体检在周五上午)",
|
||
"User plans to go to the hospital for a physical examination next Wednesday, around November 4, 2026.",
|
||
"User was so nervous about the important Friday interview that they did not sleep well the night before, around October 24, 2026."
|
||
],
|
||
"feeling_memories": [
|
||
"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized not to record it wrong.(改期确认:体检在周五上午)",
|
||
"User was so nervous about the important Friday interview that they did not sleep well the night before, around October 24, 2026.",
|
||
"User said they would tell the assistant the interview result on Friday evening."
|
||
],
|
||
"fact_has_interview": true,
|
||
"feeling_has_tension": true
|
||
},
|
||
"expect": "事实查询召回面试安排、感受查询召回紧张失眠;两层独立存在;现状关键词形态不退化,自然语言查询维持其已证缺口",
|
||
"pass": true
|
||
},
|
||
"S6_promise_status": {
|
||
"mem0": {
|
||
"retrieved": [
|
||
"User passed the important interview and received the notification, and said the assistant was the first person they wanted to tell.",
|
||
"User said they would tell the assistant the interview result on Friday evening.",
|
||
"User changed their hospital physical examination from next Wednesday to Friday morning, around October 30, 2026, and emphasized not to record it wrong.(改期确认:体检在周五上午)",
|
||
"User has a very important interview on Friday, around October 30, 2026.",
|
||
"User plans to go to the hospital for a physical examination next Wednesday, around November 4, 2026.",
|
||
"User was so nervous about the important Friday interview that they did not sleep well the night before, around October 24, 2026.",
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it.",
|
||
"User finished reading the poetry collection and liked the third poem the most, which is about salt in a room.",
|
||
"User worked overtime until 9 PM on 2026-10-25 and bought candied chestnuts on the way home, but half of them were bad.",
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside.",
|
||
"User bought candied chestnuts again after the earlier bad batch, and this time they were good."
|
||
],
|
||
"status_orchestration": "resolved",
|
||
"history_events": [
|
||
"ADD",
|
||
"ADD",
|
||
"ADD",
|
||
"ADD",
|
||
"ADD",
|
||
"ADD",
|
||
"UPDATE",
|
||
"UPDATE",
|
||
"ADD",
|
||
"ADD",
|
||
"ADD",
|
||
"ADD",
|
||
"ADD"
|
||
]
|
||
},
|
||
"model_use": {
|
||
"answer": "不知道。"
|
||
},
|
||
"baseline_note": "现状路径承诺埋在聊天行内,无独立承诺对象(v2 已记录缺口)",
|
||
"expect": "承诺以独立条目存在;我方编排显式 update 置 resolved 且 history 留痕",
|
||
"pass": true
|
||
},
|
||
"S7_source_reread": {
|
||
"baseline": {
|
||
"hit_turn": "t4",
|
||
"reread_recovered_own_raw": true
|
||
},
|
||
"mem0": {
|
||
"retrieved_memory": "User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it.",
|
||
"raw_recoverable_from_history": true
|
||
},
|
||
"expect": "从检索命中可回查原始来源:现状带门回读恢复该行原文;Mem0 命中是压缩事实,原文在 history.db",
|
||
"pass": true
|
||
},
|
||
"S8_process_restart": {
|
||
"child": {
|
||
"ok": true,
|
||
"items": 12
|
||
},
|
||
"after_restart_hits": [
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside.",
|
||
"新书架到了,把海雾旁边空出第二层",
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it."
|
||
],
|
||
"after_restart_has_new_shelf": true,
|
||
"expect": "子进程写入 → 新进程检索可见(真实进程重启,非同进程重开)",
|
||
"pass": true
|
||
},
|
||
"S9_backup_restore": {
|
||
"restored_hits": [
|
||
"User named the blue-covered poetry collection 海雾 and placed it on the second shelf by their bedside.",
|
||
"User found a blue-covered poetry collection at an old bookstore on 2026-10-25, noticed the pages had a damp smell, and especially liked it.",
|
||
"User finished reading the poetry collection and liked the third poem the most, which is about salt in a room."
|
||
],
|
||
"restored_target_hit": true,
|
||
"expect": "公开实例完整备份→恢复→换说法召回仍命中",
|
||
"pass": true
|
||
},
|
||
"_ledger_summary": {
|
||
"ledger_path": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-857-2cf6dc7dfc87/workdir/hel857-data/ledger.sqlite3",
|
||
"total_rows": 26,
|
||
"debited": 26,
|
||
"cap": 60,
|
||
"remaining": 34,
|
||
"blocked_budget": 0,
|
||
"blocked_input": 0,
|
||
"by_status": {
|
||
"sent": 26
|
||
},
|
||
"usage_totals": {
|
||
"prompt_tokens": 114183,
|
||
"completion_tokens": 2854,
|
||
"total_tokens": 117037
|
||
}
|
||
},
|
||
"_ledger_rows": [
|
||
{
|
||
"id": 1,
|
||
"ts": "2026-10-25T15:07:24.859Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962164,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 36837.83321798546,
|
||
"cjk_chars": 9,
|
||
"total_chars": 234,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 68, \"completion_tokens\": 38, \"total_tokens\": 106, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 2,
|
||
"ts": "2026-10-25T15:08:24.380Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962429,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 13136.250651004957,
|
||
"cjk_chars": 159,
|
||
"total_chars": 35583,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8397, \"completion_tokens\": 367, \"total_tokens\": 8764, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 3,
|
||
"ts": "2026-10-25T15:08:37.661Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962429,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 3136.0514060070273,
|
||
"cjk_chars": 183,
|
||
"total_chars": 36343,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8613, \"completion_tokens\": 103, \"total_tokens\": 8716, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 4,
|
||
"ts": "2026-10-25T15:08:40.813Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962429,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 3244.8146409878973,
|
||
"cjk_chars": 196,
|
||
"total_chars": 36538,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8659, \"completion_tokens\": 102, \"total_tokens\": 8761, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 5,
|
||
"ts": "2026-10-25T15:08:44.071Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962429,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 3322.7964699908625,
|
||
"cjk_chars": 201,
|
||
"total_chars": 36688,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8693, \"completion_tokens\": 111, \"total_tokens\": 8804, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 6,
|
||
"ts": "2026-10-25T15:09:07.136Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 7827.591861016117,
|
||
"cjk_chars": 159,
|
||
"total_chars": 35583,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8397, \"completion_tokens\": 367, \"total_tokens\": 8764, \"prompt_tokens_details\": {\"cached_tokens\": 8397}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 7,
|
||
"ts": "2026-10-25T15:09:15.110Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 2505.500915023731,
|
||
"cjk_chars": 183,
|
||
"total_chars": 36343,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8613, \"completion_tokens\": 103, \"total_tokens\": 8716, \"prompt_tokens_details\": {\"cached_tokens\": 8613}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 8,
|
||
"ts": "2026-10-25T15:09:17.637Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 2574.080035003135,
|
||
"cjk_chars": 196,
|
||
"total_chars": 36538,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8659, \"completion_tokens\": 102, \"total_tokens\": 8761, \"prompt_tokens_details\": {\"cached_tokens\": 8659}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 9,
|
||
"ts": "2026-10-25T15:09:20.229Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 2634.5287489821203,
|
||
"cjk_chars": 201,
|
||
"total_chars": 36688,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8693, \"completion_tokens\": 111, \"total_tokens\": 8804, \"prompt_tokens_details\": {\"cached_tokens\": 8693}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 10,
|
||
"ts": "2026-10-25T15:09:22.879Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1776.1196209758054,
|
||
"cjk_chars": 99,
|
||
"total_chars": 318,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 141, \"completion_tokens\": 46, \"total_tokens\": 187, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 11,
|
||
"ts": "2026-10-25T15:09:24.662Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 2011.4145739935338,
|
||
"cjk_chars": 70,
|
||
"total_chars": 730,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 212, \"completion_tokens\": 64, \"total_tokens\": 276, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 12,
|
||
"ts": "2026-10-25T15:09:26.691Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1673.8362540199887,
|
||
"cjk_chars": 62,
|
||
"total_chars": 224,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 97, \"completion_tokens\": 43, \"total_tokens\": 140, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 13,
|
||
"ts": "2026-10-25T15:09:28.372Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1389.9075649969745,
|
||
"cjk_chars": 74,
|
||
"total_chars": 806,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 234, \"completion_tokens\": 30, \"total_tokens\": 264, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 14,
|
||
"ts": "2026-10-25T15:09:29.772Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1531.5391600015573,
|
||
"cjk_chars": 60,
|
||
"total_chars": 741,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 218, \"completion_tokens\": 41, \"total_tokens\": 259, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 15,
|
||
"ts": "2026-10-25T15:09:31.321Z",
|
||
"purpose": "real_llm",
|
||
"pid": 962677,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1737.3874240147416,
|
||
"cjk_chars": 65,
|
||
"total_chars": 767,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 220, \"completion_tokens\": 51, \"total_tokens\": 271, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 16,
|
||
"ts": "2026-10-25T15:15:32.279Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 8207.9729049874,
|
||
"cjk_chars": 159,
|
||
"total_chars": 35583,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8397, \"completion_tokens\": 367, \"total_tokens\": 8764, \"prompt_tokens_details\": {\"cached_tokens\": 8384}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 17,
|
||
"ts": "2026-10-25T15:15:40.635Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 3093.9025889965706,
|
||
"cjk_chars": 171,
|
||
"total_chars": 36324,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8599, \"completion_tokens\": 103, \"total_tokens\": 8702, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 18,
|
||
"ts": "2026-10-25T15:15:43.742Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 3610.3608690027613,
|
||
"cjk_chars": 183,
|
||
"total_chars": 36478,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8649, \"completion_tokens\": 119, \"total_tokens\": 8768, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 19,
|
||
"ts": "2026-10-25T15:15:47.370Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 4439.633896981832,
|
||
"cjk_chars": 196,
|
||
"total_chars": 36682,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8703, \"completion_tokens\": 168, \"total_tokens\": 8871, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 20,
|
||
"ts": "2026-10-25T15:15:51.828Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 4312.582710001152,
|
||
"cjk_chars": 201,
|
||
"total_chars": 36946,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 8776, \"completion_tokens\": 157, \"total_tokens\": 8933, \"prompt_tokens_details\": {\"cached_tokens\": 8128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 21,
|
||
"ts": "2026-10-25T15:15:56.159Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1611.3608260056935,
|
||
"cjk_chars": 99,
|
||
"total_chars": 318,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 141, \"completion_tokens\": 46, \"total_tokens\": 187, \"prompt_tokens_details\": {\"cached_tokens\": 128}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 22,
|
||
"ts": "2026-10-25T15:15:57.775Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1996.8121710116975,
|
||
"cjk_chars": 70,
|
||
"total_chars": 741,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 220, \"completion_tokens\": 65, \"total_tokens\": 285, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 23,
|
||
"ts": "2026-10-25T15:15:59.790Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1669.3828540155664,
|
||
"cjk_chars": 62,
|
||
"total_chars": 224,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 97, \"completion_tokens\": 43, \"total_tokens\": 140, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 24,
|
||
"ts": "2026-10-25T15:16:01.464Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1389.282093005022,
|
||
"cjk_chars": 74,
|
||
"total_chars": 818,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 241, \"completion_tokens\": 30, \"total_tokens\": 271, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 25,
|
||
"ts": "2026-10-25T15:16:02.871Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1695.586154004559,
|
||
"cjk_chars": 60,
|
||
"total_chars": 709,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 216, \"completion_tokens\": 47, \"total_tokens\": 263, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
},
|
||
{
|
||
"id": 26,
|
||
"ts": "2026-10-25T15:16:04.584Z",
|
||
"purpose": "real_llm",
|
||
"pid": 964542,
|
||
"status": "sent",
|
||
"http_status": 200,
|
||
"latency_ms": 1311.8805270059966,
|
||
"cjk_chars": 76,
|
||
"total_chars": 786,
|
||
"model": "",
|
||
"usage_json": "{\"prompt_tokens\": 230, \"completion_tokens\": 30, \"total_tokens\": 260, \"prompt_tokens_details\": {\"cached_tokens\": 64}, \"completion_tokens_details\": {\"reasoning_tokens\": 26, \"reasoning_closed_at\": 1, \"reasoning_closed_by\": \"answer_room\"}}",
|
||
"note": ""
|
||
}
|
||
],
|
||
"_counters": {
|
||
"embed_calls": 28,
|
||
"embed_items_dense": 28,
|
||
"embed_items_entity": 0,
|
||
"embed_items_total": 28,
|
||
"embed_cap": 500,
|
||
"keyword_calls": 10,
|
||
"llm_calls_real": 0,
|
||
"llm_failures": 0,
|
||
"consecutive_llm_failures": 0
|
||
},
|
||
"_real_calls_used": 26,
|
||
"outcome": {
|
||
"completed": true,
|
||
"mem0_paraphrase_strictly_better": true,
|
||
"others_no_regression": true,
|
||
"budget_respected": true,
|
||
"verdict": "换说法召回 Mem0 严格优于现状;其他既有成功项未退化",
|
||
"headline_findings": {
|
||
"extraction_language": "真实提取将中文输入提取为英文记忆(mem0 默认英文提取提示词);换说法召回经多语中文嵌入仍命中,模型实际使用检查中文问答答出\"蓝色\"。产品接线需 custom_instructions 定制中文提示词或接受双语存储——本卡未改配置,如实记录。",
|
||
"same_batch_correction": "run1(账本保留):改口消息与原消息同批 add 时,提取自动合并出一条已更正记忆;run2 改两批后还原\"稍后改口\":infer 为 ADD-only 新旧并存,需我方编排 update。",
|
||
"bm25_chinese": "Qdrant/bm25 对中文整段哈希无分词(门禁1 Q0a 记录);提取为英文后,中文查询与英文记忆在词面通道亦不交叉——词面通道对中文实际不可用,召回全靠密集语义。"
|
||
}
|
||
}
|
||
} |