AlowEnsoul/dsh-rag-kb--packages-kb-rag-kb ↗★ 2
@deepseek-ai/dsh-rag-kb
Local RAG knowledge base host plugin: Ollama embeddings, JSON persistence, a /kb JSON RPC route for the browser UI, and kb_search/kb_index/kb_status tools 适合需本地知识库检索的用户;依赖本地Ollama嵌入服务。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗@deepseek-ai/dsh-rag-kb
Local RAG knowledge base host plugin.
- Persists named knowledge bases to
dsh-kb-store.jsonin the workspace root. - Computes chunk embeddings through a local Ollama
/api/embedendpoint (configurable model/URL/chunk size). - Serves a single
/kbJSON RPC route ({ method, ...args }) for the browser UI. - Registers three model-facing tools:
kb_search,kb_index,kb_status.
Services
- Consumes
webServer,fs,subprocess,sandboxPolicy,tools.
Model Experience
Request context and condition
What the model sees
Three tools: kb_search, kb_index, kb_status (see the generated tool catalog).
Token effect
Conditional: tool results appear only when the model calls these tools.
KV Cache effect
Does not invalidate the reusable prompt prefix; tool results are request-local.
Known Limitations and Deferred Work
- Embedding batches use a single local Ollama endpoint; no queueing, retry, or concurrency limits beyond a per-request
--max-time. - Changing the embedding model after indexing mixes vector spaces in one knowledge base.