From 30b6be6724e435016a1554b610430f68e0db9246 Mon Sep 17 00:00:00 2001 From: ai_xiaopei <xiaopei@aisim.cn> Date: Sun, 26 Jul 2026 08:25:14 +0800 Subject: [PATCH] docs: update README with new features --- bin/kb | 0 README.md | 11 +++++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 2ae844e..1b5f5f7 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ - ✅ **FTS5 全文搜索**:基于 SQLite FTS5 的快速搜索 - ✅ **图谱评分算法**:考虑标签、实体、wikilinks 权重 - ✅ **多种输出格式**:表格、JSON +- ✅ **内容返回**:`--with-content` 返回完整文件内容 +- ✅ **关联链接**:`--with-links` 返回 wikilink 关联文档 ## 安装 @@ -40,6 +42,15 @@ # 带症状词 kb search 充装失败 --symptom 报错,无法启动 +# 返回完整文件内容 +kb search 充装规格 --with-content + +# 返回关联文档链接 +kb search 充装规格 --with-links + +# 同时返回内容和链接 +kb search 充装规格 --with-content --with-links + # JSON 输出 kb search 充装 --json diff --git a/bin/kb b/bin/kb index 4c97ca9..a3ab3c4 100755 --- a/bin/kb +++ b/bin/kb Binary files differ -- Gitblit v1.9.1