xiaoshi7915/dsh-kb-manager1

dsh-kb-manager

Local knowledge base lifecycle manager plugin for DeepSeek Harness (dsh): import, chunk, index, hybrid search, snapshots, .kbpack portability.

包名
dsh-kb-manager
版本
0.1.0
最近更新
2026年8月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaoshi7915/dsh-kb-manager

配置 / Configuration

字段默认值说明
storage_path~/.dsh/kb-manager/存储根目录,~ 展开为用户主目录
default_embedding_modelhash-embed-v1默认 embedding 模型(离线兜底);可填 OpenAI 兼容模型名
embedding_api_base''OpenAI 兼容 endpoint,留空用内置 HashEmbedder
embedding_api_key''embedding API key
chunk_size512分块大小(字符数)
chunk_overlap50分块重叠长度
chunk_strategyrecursivefixed / recursive / semantic
top_k5检索默认返回条数
enable_reranktrue是否启用 rerank
rerank_endpoint''远程 rerank endpoint,留空用内置规则式 reranker
index_typehnswhnsw / flat
auto_sync_dir''目录监听路径,留空关闭
auto_sync_kb_id''同步目标知识库
auto_sync_interval300补扫间隔(秒)
max_file_size_mb100单文件大小上限(MB)
read_onlyfalse只读模式开关