跳到正文
dsh-market 浏览插件 GitHub EN

173787247/dsh-wsl-vecmem

本地向量小记:Ollama embedding + ~/.dsh/vecmem(workspace 命名空间;可选 IM 回合摘要写入)。

Star 数 ★ 1 分类 WSL 与 Windows 互操作 收录于 2026-09-24

安装

在 DeepSeek Harness 里通过 dsh-market 安装

dsh plugin --profile web add dshmarket

或使用命令行

dsh plugin --profile web add github:173787247/dsh-wsl-vecmem

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络。请先审阅源码,并尽量锁定 commit(github:owner/repo#sha)。

README

语言: 中文(本页) · English

本地向量小记:用 Ollama embedding + ~/.dsh/vecmem/store.json 存短文本,供语义检索。

补 Obsidian / 笔记库,不是 vault 替代品。依赖本机 Ollama(可与 dsh-wsl-ollama 同机)。

最短上手

ollama pull nomic-embed-text
dsh plugin --profile web add github:173787247/dsh-wsl-vecmem

工具

工具 作用
vecmem_status store 路径、embed 模型、条数
vecmem_add 写入一条文本并嵌入
vecmem_search 按语义相似度检索

配置

config:
  enabled: true
  storePath: ""            # 空 = ~/.dsh/vecmem/store.json
  ollamaBase: "http://127.0.0.1:11434"
  embedModel: "nomic-embed-text"
  timeoutMs: 60000
  maxItems: 5000

Ollama 在 Windows 时,把 ollamaBase 改成可从 WSL 访问的地址(见 ollama 插件说明)。

兼容性

字段 值
插件 dsh-wsl-vecmem 0.2.0
最低 dsh ≥ 0.1.2(Web UI 一次性 ?token=,Windows 中继 :3081)
最新验证 以 dsh-wsl-kit 兼容性 为准(当前 0.2.0-rc.2)— 套件唯一真源
套件档位 可选(默认不在 install.sh / KIT_SET=daily)

License

MIT

内容来自项目 README(GitHub)↗

评论

评论存放在 GitHub Discussions。用 GitHub 账号登录后可发表评论或点表情。