bailian-kb-dsh 2.5.1 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,41 +170,41 @@ window.__ModuleLoader__.load({
170
170
  document.head.appendChild(tag);
171
171
  }
172
172
  var BailianCard_module_css_default = {
173
+ "input": "_5yl_Ia_input",
174
+ "root": "_5yl_Ia_root",
173
175
  "headRow": "_5yl_Ia_headRow",
174
- "badge": "_5yl_Ia_badge",
175
- "discard": "_5yl_Ia_discard",
176
- "notice": "_5yl_Ia_notice",
177
- "badgeMuted": "_5yl_Ia_badgeMuted",
178
176
  "callout": "_5yl_Ia_callout",
179
177
  "advancedToggle": "_5yl_Ia_advancedToggle",
180
- "autofillNoticeSuccess": "_5yl_Ia_autofillNoticeSuccess",
181
- "advancedSection": "_5yl_Ia_advancedSection",
182
- "head": "_5yl_Ia_head",
183
- "sectionHeading": "_5yl_Ia_sectionHeading",
184
- "getLink": "_5yl_Ia_getLink",
185
- "labelWrap": "_5yl_Ia_labelWrap",
186
- "badges": "_5yl_Ia_badges",
187
- "input": "_5yl_Ia_input",
188
- "failed": "_5yl_Ia_failed",
189
178
  "statusSetup": "_5yl_Ia_statusSetup",
190
- "pending": "_5yl_Ia_pending",
191
- "label": "_5yl_Ia_label",
192
- "badgeSuccess": "_5yl_Ia_badgeSuccess",
193
- "advancedFields": "_5yl_Ia_advancedFields",
194
- "title": "_5yl_Ia_title",
195
- "save": "_5yl_Ia_save",
179
+ "status": "_5yl_Ia_status",
196
180
  "form": "_5yl_Ia_form",
181
+ "badge": "_5yl_Ia_badge",
182
+ "badgeMuted": "_5yl_Ia_badgeMuted",
183
+ "clear": "_5yl_Ia_clear",
197
184
  "card": "_5yl_Ia_card",
198
- "statusReady": "_5yl_Ia_statusReady",
185
+ "advancedFields": "_5yl_Ia_advancedFields",
186
+ "head": "_5yl_Ia_head",
199
187
  "footer": "_5yl_Ia_footer",
200
- "root": "_5yl_Ia_root",
188
+ "save": "_5yl_Ia_save",
189
+ "pending": "_5yl_Ia_pending",
190
+ "badges": "_5yl_Ia_badges",
191
+ "autofillNoticeSuccess": "_5yl_Ia_autofillNoticeSuccess",
192
+ "notice": "_5yl_Ia_notice",
201
193
  "field": "_5yl_Ia_field",
194
+ "discard": "_5yl_Ia_discard",
195
+ "title": "_5yl_Ia_title",
196
+ "section": "_5yl_Ia_section",
197
+ "failed": "_5yl_Ia_failed",
198
+ "sectionHeading": "_5yl_Ia_sectionHeading",
199
+ "label": "_5yl_Ia_label",
200
+ "statusReady": "_5yl_Ia_statusReady",
201
+ "getLink": "_5yl_Ia_getLink",
202
202
  "autofillRow": "_5yl_Ia_autofillRow",
203
+ "advancedSection": "_5yl_Ia_advancedSection",
204
+ "badgeSuccess": "_5yl_Ia_badgeSuccess",
205
+ "labelWrap": "_5yl_Ia_labelWrap",
203
206
  "hint": "_5yl_Ia_hint",
204
- "clear": "_5yl_Ia_clear",
205
- "section": "_5yl_Ia_section",
206
- "intro": "_5yl_Ia_intro",
207
- "status": "_5yl_Ia_status"
207
+ "intro": "_5yl_Ia_intro"
208
208
  };
209
209
  //#endregion
210
210
  //#region src/web/BailianCard.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bailian-kb-dsh",
3
- "version": "2.5.1",
3
+ "version": "2.6.1",
4
4
  "description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the bl CLI management skill.",
5
5
  "keywords": [
6
6
  "alibaba-cloud",
@@ -3,7 +3,7 @@ name: bailian-kb
3
3
  description: >-
4
4
  管理阿里云百炼知识库(建库、上传文档、部署检索服务、Chunk 运维、数据中心文件管理),命令行工具为 bl(bailian-cli)。
5
5
  当用户要创建/更新/删除知识库、上传或导入文档(本地/OSS)、创建/部署/调参检索或问答服务、
6
- 增删改查 Chunk、管理数据中心类目/文件/集合时使用本 skill。
6
+ 增删改查 Chunk、管理数据中心类目/文件/数据集时使用本 skill。
7
7
  检索与问答不走本 skill——用原生工具 kb_search(取证据)/ kb_chat(成品问答);
8
8
  通过 kb_manage 执行 bl knowledge search / chat 仅用于部署后的验证调试(如 --agent-version beta 调试草稿版)。
9
9
  kb_search / kb_chat 的凭据与工作空间由插件自动解析(插件配置页的 workspaceId、
@@ -45,6 +45,7 @@ description: >-
45
45
  | 创建 / 部署 / 调参检索(问答)服务 | `bl knowledge service create/update/deploy/…` | `bl knowledge service --help` |
46
46
  | 修正错误切片、屏蔽某段内容 | `bl knowledge chunk add/list/update/delete` | `bl knowledge chunk --help` |
47
47
  | 数据中心类目 / 文件 / 集合管理 | `bl knowledge category/file/collection …` | `bl knowledge category --help` |
48
+ | CLI 配置、升级 | `bl config show/set`、`bl update` | `bl config --help` |
48
49
  | 部署后验证、调试草稿版服务 | `bl knowledge search/chat --agent-version beta` | `bl knowledge search --help` |
49
50
 
50
51
  ## 核心工作流:建库到可检索
@@ -85,7 +86,7 @@ bl knowledge service list --scene search --status deployed # 5.
85
86
  - `file delete`:不可逆,且引用该文件的知识库文档索引会失效;只想从单个库移除用 `doc delete`。
86
87
  - `chunk delete`:不可逆。
87
88
  - `service deploy`:发布影响线上调用方;`service delete` 后 agent_id 不可再用(软删、幂等)。
88
- - `collection create`:**没有删除 API**,创建集合要慎重。
89
+ - `collection create`:**没有删除 API**,创建数据集要慎重。
89
90
  - 索引配置(embedding 模型、chunk size 等)建库后不可改,只能重建。
90
91
 
91
92
  ## 最佳实践