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"