DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

chtchenhaitao /

chtchenhaitao/dsh-shiguan-memory

仅 Topic 仓库

Local C++ probabilistic long-term memory for DeepSeek Harness: forgetting-curve compression, semantic clustering, memory-trajectory panel. npm: dsh-shiguan-memory

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@3eaff51e

dsh-shiguan-memory (史官记忆引擎)

Local C++ probabilistic long-term memory for DeepSeek Harness: forgetting-curve compression, semantic clustering, and a memory-trajectory panel. Replaces chat-history stuffing with a queryable memory store.

  • bundle/ — DSH plugin package (host plugin + 「记忆轨迹」 web panel)
  • engine/ — C++ engine source (bge-small-zh-v1.5 ONNX embeddings on DirectML/CPU, SQLite index, JSONL stdio server)

Install

dsh plugin --profile <profile> add dsh-shiguan-memory

Build the engine

# 1) fetch ONNX Runtime (pip wheel) and the embedding model:
#    - onnxruntime / onnxruntime-directml wheels (pip download, tsinghua mirror works)
#    - https://hf-mirror.com/Xenova/bge-small-zh-v1.5/resolve/main/onnx/model_quantized.onnx
#    - https://hf-mirror.com/Xenova/bge-small-zh-v1.5/resolve/main/tokenizer.json
#    - https://cdn.jsdelivr.net/gh/nlohmann/json@v3.11.3/single_include/nlohmann/json.hpp
#    - https://www.sqlite.org/2024/sqlite-amalgamation-3460100.zip
# 2) place artifacts per build.ps1, then:
powershell -File engine/build.ps1

License

MIT

—/ 5

暂无评分

需要先验证清单

Commit 3eaff51e22ab

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于