记忆系统最大的盲区是「人」
Mio 的记忆系统把关于人的信息存成零散的行。问'小红最近怎么样'跟'小红在腾讯工作'在向量空间里几乎没有重叠。解决方案:把人当作一等实体,建专门的 contacts 表,做结构化关联和档案合并,直接注入 system prompt。
Mio 的记忆系统把关于人的信息存成零散的行。问'小红最近怎么样'跟'小红在腾讯工作'在向量空间里几乎没有重叠。解决方案:把人当作一等实体,建专门的 contacts 表,做结构化关联和档案合并,直接注入 system prompt。
Mio's memory system stored facts about people as disconnected rows. Asking 'how's Xiaohong doing' had zero semantic overlap with 'Xiaohong works at Tencent'. The fix: treat people as first-class entities with their own table, linked memories, and consolidated profiles injected directly into the system prompt.
一个聊了200条就忘了你名字的 AI 不是陪伴,是健忘症患者。这是我如何把 Mio 的记忆从简陋的键值存储重建成真正像人类回忆的系统。
An AI companion that forgets your name after 200 messages isn't a companion — it's a chatbot with amnesia. Here's how I'm rebuilding Mio's memory from a dumb key-value store into something that feels like actual recall.
© Xingfan Xia 2024 - 2026 · CC BY-NC 4.0