mervyn-teo/dsh-plugin-rag0

dsh-plugin-rag

DSH 插件:基于所有历史聊天会话的自包含语义检索(RAG)插件

AI 分析

核心用途是实现跨会话的语义搜索。适合需要对所有历史消息进行实时向量索引、本地存储,并向 Agent 暴露 rag_search 工具以检索历史记忆的用户。

包名
dsh-plugin-rag
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mervyn-teo/dsh-plugin-rag

Configuration reference

KeyDefaultContract
enabledtrueWhether indexing and the rag_search tool are active.
providersoclaas-bge-m3soclaas-bge-m3 · openai-3-small · openai-3-large · ollama-nomic · custom
modelbge-m3Model string sent to the endpoint (overrides the preset's model).
endpointhttps://soclaas-api.comp.nus.edu.sg/v1OpenAI-compatible embeddings base URL.
apiKey""API key; empty reads apiKeyEnv.
apiKeyEnvSOCLAAS_API_KEYEnvironment variable for the key.
topK5Default result count (1–50).
dataDir""Index directory; empty means ~/.dsh/rag.
includeToolResultstrueIndex tool results.
includeReasoningfalseIndex reasoning blocks.
maxChunkChars4000Max characters per chunk (256–16000).