ai_xiaopei
9 days ago 4cd5499d60a851a59723067e74a4a92f7254b8e9
refs
author ai_xiaopei <xiaopei@aisim.cn>
Sunday, July 26, 2026 23:16 +0800
committer ai_xiaopei <xiaopei@aisim.cn>
Sunday, July 26, 2026 23:16 +0800
commit4cd5499d60a851a59723067e74a4a92f7254b8e9
tree 2cbe20fa6f46e4a4a7d3b2705274ad0d791f0808 tree | zip | gz
parent 1ba86b102ecc01de3191c3861592d9d4d22dfd81 view | diff
feat: 新增classify和reorg命令,修复help格式

- 新增classify命令:使用LLM对知识库文档进行分类
- 新增reorg命令:根据分类结果重组知识库目录
- 修复所有命令的help格式,统一为单行描述
- 修复FTS5索引列名映射问题
- 优化搜索评分:实体词降权,症状词提权
- 修复scanner跳过待审阅目录的逻辑
7 files modified
5 files added
905 ■■■■■ changed files
bin/kb-cli diff | view | raw | blame | history
cmd/classify.go 60 ●●●● diff | view | raw | blame | history
cmd/draft.go 19 ●●●● diff | view | raw | blame | history
cmd/reorg.go 71 ●●●●● diff | view | raw | blame | history
internal/classify/llm.go 301 ●●●●● diff | view | raw | blame | history
internal/classify/reorg.go 173 ●●●●● diff | view | raw | blame | history
internal/index/fts.go 4 ●●● diff | view | raw | blame | history
internal/llm/client.go 31 ●●●●● diff | view | raw | blame | history
internal/search/scorer.go 33 ●●●●● diff | view | raw | blame | history
internal/vault/scanner.go 4 ●●●● diff | view | raw | blame | history
scripts/update-frontmatter.py 109 ●●●●● diff | view | raw | blame | history
scripts/update-wikilinks.py 100 ●●●●● diff | view | raw | blame | history