返回插件目录

173787247 /

173787247/dsh-wsl-vecmem

已验证

Tiny local vector memory via Ollama embeddings and ~/.dsh/vecmem.

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
README来源: master@20453e18

dsh-wsl-vecmem

语言: 中文(本页) · 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 插件说明)。

License

MIT

—/ 5

暂无评分

社区评论

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