From 4bc62773a982cef1d226de555260f36c1b9636b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Sat, 21 Mar 2026 20:41:04 +0800 Subject: [PATCH] Add files via upload --- web/static/i18n/en-US.json | 4 ++++ web/static/i18n/zh-CN.json | 4 ++++ web/templates/index.html | 25 ++++++++++++++++++++----- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/web/static/i18n/en-US.json b/web/static/i18n/en-US.json index e7cd64cd..50b0ac7a 100644 --- a/web/static/i18n/en-US.json +++ b/web/static/i18n/en-US.json @@ -489,10 +489,14 @@ "title": "System settings", "nav": { "basic": "Basic", + "knowledge": "Knowledge base", "robots": "Bots", "terminal": "Terminal", "security": "Security" }, + "knowledge": { + "title": "Knowledge base" + }, "robots": { "title": "Bot settings", "description": "Configure WeCom, DingTalk and Lark bots so you can chat with CyberStrikeAI on your phone without opening the web UI.", diff --git a/web/static/i18n/zh-CN.json b/web/static/i18n/zh-CN.json index f4a89312..f8f52c88 100644 --- a/web/static/i18n/zh-CN.json +++ b/web/static/i18n/zh-CN.json @@ -489,10 +489,14 @@ "title": "系统设置", "nav": { "basic": "基本设置", + "knowledge": "知识库", "robots": "机器人设置", "terminal": "终端", "security": "安全设置" }, + "knowledge": { + "title": "知识库设置" + }, "robots": { "title": "机器人设置", "description": "配置企业微信、钉钉、飞书等机器人,在手机端直接与 CyberStrikeAI 对话,无需在服务器上打开网页。", diff --git a/web/templates/index.html b/web/templates/index.html index 380d0ac5..774ecd95 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -1179,6 +1179,9 @@
基本设置
+
+ 知识库 +
机器人设置
@@ -1250,7 +1253,17 @@ - +
+ +
+ + + +
+
+

知识库设置

+
+

知识库配置

@@ -1266,7 +1279,7 @@ 相对于配置文件所在目录的路径
- +
嵌入模型配置
@@ -1290,7 +1303,7 @@
- +
检索配置
@@ -1309,7 +1322,7 @@ 向量检索的权重(0-1),1.0表示纯向量检索,0.0表示纯关键词检索
- +
索引配置
@@ -1347,7 +1360,9 @@ 重试间隔毫秒数(默认 1000),每次重试会递增延迟 - + + +