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嵌入服务。

Package
@deepseek-ai/dsh-rag-kb
Compatibility
Unverified
Harness peer range
workspace:^
Cordis peer range
workspace:^
Version
0.1.0-rc.5
License
MIT
Last updated
Aug 17, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

@deepseek-ai/dsh-rag-kb

Local RAG knowledge base host plugin.

  • Persists named knowledge bases to dsh-kb-store.json in the workspace root.
  • Computes chunk embeddings through a local Ollama /api/embed endpoint (configurable model/URL/chunk size).
  • Serves a single /kb JSON 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.