mervyn-teo/dsh-plugin-rag ↗★ 0
dsh-plugin-rag
DeepSeek Harness (DSH) plugin: a self-contained semantic memory (RAG) over all your chat sessions. Indexes messages live via session/event, stores embeddings in one local JSON file, and exposes a rag_search tool.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mervyn-teo/dsh-plugin-rag说明文档
阅读完整 README ↗Configuration reference
| Key | Default | Contract |
|---|---|---|
enabled | true | Whether indexing and the rag_search tool are active. |
provider | soclaas-bge-m3 | soclaas-bge-m3 · openai-3-small · openai-3-large · ollama-nomic · custom |
model | bge-m3 | Model string sent to the endpoint (overrides the preset's model). |
endpoint | https://soclaas-api.comp.nus.edu.sg/v1 | OpenAI-compatible embeddings base URL. |
apiKey | "" | API key; empty reads apiKeyEnv. |
apiKeyEnv | SOCLAAS_API_KEY | Environment variable for the key. |
topK | 5 | Default result count (1–50). |
dataDir | "" | Index directory; empty means ~/.dsh/rag. |
includeToolResults | true | Index tool results. |
includeReasoning | false | Index reasoning blocks. |
maxChunkChars | 4000 | Max characters per chunk (256–16000). |