YuMu247/dsh-kb-rag

YuMu247★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Local-first RAG knowledge tools for DSH: kb_query / kb_ingest / kb_crawl / kb_related, backed by the kb-rag Python pipeline (Ollama bge-m3 + ChromaDB). Zero API cost, on-premises.

README 摘要

@dsh-external/dsh-kb-rag Local-first RAG knowledge tools for DSH — thin tool wrapper around the kb-rag Python pipeline (Ollama bge-m3 + ChromaDB + SiYuan). Four tools, all on-premises, zero API cost, your documents never leave the machine. Tool What it does Backing script kb query Semantic search over your local vector DB (top-k chunks with source + similarity) query.py --json kb ingest Ingest a docs directory into ChromaDB (incremental, manifest hash-idempotent; Shiyu notes auto-stripped of front-matter + machine layer) ingest.py kb crawl Batch-crawl URLs to clean Markdown (Scrapling + markdownify) crawl.py kb related Related-document recommendations: retrieval-style, graph-style knowledge walk, or from a known doc related.py The plugin is a pure forwarder: it locates Python, spawns the kb-rag scripts and parses their output. All knowledge-base logic lives in the Python project, which you can also use standalone. Install Peer dependencies ( @deepseek-ai/dsh-tools , @deepseek-ai/cordis ) are provided by the dsh profile. Prerequisites (one-time, on the host) Optional (Windows daily sync): examples/sync daily.cmd in the kb-rag repo starts Ollama, syncs Shiyu video notes, ingests and …

在 GitHub 查看完整 README →
娱乐/广告chromadbdshdsh-pluginembeddingsknowledge-baselocal-firstollamarag

分类