feat: 收敛知识库检索调度与评分语义

- 固定 rag.engine 与 Milvus 配置,补齐启动期检索基础设施校验

- 支持调用方配置 retrievalMode,并统一知识库检索入口与结果来源展示

- 修正关键词检索 knowledgeId 过滤、混合检索评分归一化与本地 ES 默认配置
This commit is contained in:
2026-04-05 20:23:05 +08:00
parent 2592a1f09d
commit b5dd427920
41 changed files with 1260 additions and 600 deletions

View File

@@ -49,6 +49,12 @@
"publicChatCopySuccess": "Copied",
"publicChatCopyFail": "Copy failed",
"basicInfo": "Basic Info",
"knowledgeRetrievalMode": "Retrieval Mode",
"retrievalModes": {
"hybrid": "Hybrid Retrieval",
"vector": "Vector Retrieval",
"keyword": "Keyword Retrieval"
},
"modal": {
"createDescription": "Set the assistant appearance, identity and base availability.",
"editDescription": "Update the assistant presentation and base availability.",

View File

@@ -159,7 +159,13 @@
"documentPreview": "DocumentPreview",
"total": "Total",
"segments": "Segments",
"similarityScore": "SimilarityScore",
"similarityScore": "Relevance",
"searchFailed": "Search failed. Please try again later.",
"hitSources": {
"vector": "Vector Hit",
"keyword": "Keyword Hit",
"both": "Dual Hit"
},
"alibabaCloud": "AlibabaCloud",
"tencentCloud": "tencentCloud",
"vectorEmbedModelTips": "After successful vector data, it is not allowed to modify the vector model",

View File

@@ -11,6 +11,7 @@
"button": {
"save": "Save Configuration"
},
"engineHint": "The keyword search engine is controlled by platform-level configuration and is no longer configured per knowledge base.",
"message": {
"saveSuccess": "Configuration saved successfully",
"saveFailed": "Configuration saved failed"

View File

@@ -49,6 +49,12 @@
"publicChatCopySuccess": "复制成功",
"publicChatCopyFail": "复制失败",
"basicInfo": "基础信息",
"knowledgeRetrievalMode": "检索方式",
"retrievalModes": {
"hybrid": "混合检索",
"vector": "向量检索",
"keyword": "关键词检索"
},
"modal": {
"createDescription": "设置助手的外观、标识和基础发布状态。",
"editDescription": "更新助手的展示信息与基础状态。",

View File

@@ -159,7 +159,13 @@
"documentPreview": "文档预览",
"total": "共",
"segments": "个分段",
"similarityScore": "相度",
"similarityScore": "相度",
"searchFailed": "检索失败,请稍后重试",
"hitSources": {
"vector": "语义命中",
"keyword": "关键词命中",
"both": "双路命中"
},
"alibabaCloud": "阿里云",
"tencentCloud": "腾讯云",
"vectorEmbedModelTips": "成功向量数据之后不允许修改向量模型",

View File

@@ -11,6 +11,7 @@
"button": {
"save": "保存配置"
},
"engineHint": "关键词检索引擎由平台全局配置决定,知识库侧不再单独配置。",
"message": {
"saveSuccess": "配置保存成功",
"saveFailed": "配置保存失败"