mindspeace-dsh-local-rag: Local Hybrid RAG Plugin for DeepSeek Harness

mindspeace-dsh-local-rag is a local hybrid RAG plugin designed for DeepSeek Harness, licensed under the MIT License. It registers the `search_local_memory` tool, allowing the model to autonomously decide to retrieve local materials when context is insufficient, avoiding the injection of irrelevant context or reliance on remote APIs in every round. The plugin combines vector similarity with BM25+ lexical retrieval and supports a purely lexical fallback when vectors are unavailable. It manages two types of corpora: user-uploaded multi-format files (such as PDF and DOCX) and session compressed summaries, all of which support viewing, editing, and version rollback. The plugin features built-in local model lifecycle management, supporting the download, verification, and persistent startup of approximately 407MB ONNX models, with internet access limited to the model download phase. Installation requires...

Read More