概览
dsh-plugin-semantic-memory
Semantic long-term memory for DeepSeek Harness: embedding-based retrieval over a persistent cross-session memory store, with model-facing tools, proactive per-question recall, automatic conversation summarization, and auto-selected embedding provider (apiKey present → API, otherwise local).
README / ZH
插件文档
目录摘要
Semantic long-term memory for DeepSeek Harness: embedding-based retrieval over a persistent cross-session memory store, with model-facing tools, proactive per-question recall, automatic conversation summarization, and auto-selected embedding provider (apiKey present → API, otherwise local).
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- **召回是尽力而为且异步的** —— 用户消息监听在后台嵌入;冷启动(模型仍在下载)或 API 较慢时,首次召回可能晚一步到达,由强度兜底注入补位。召回缓存按会话隔离,60 秒过期 - **提示词注入是同步的** —— 注入段落只渲染内存中的数据;记忆库在首次工具调用时懒加载,全新进程的第一次组装可能没有注入 - **没有独立的 embedding 持久化缓存** —— 向量直接存在每条目内,无需单独索引文件,但也永远不会重新嵌入(条目保留各自向量) - **暴力检索** —— 每次查询对所有条目做 O(n) 余弦计算;个人规模(数千条)足够,不适合百万级
