feat: 收口知识库分享链路

- 新增 shareKey 单参数 URL 分享页与失效页

- 新增知识库分享后端鉴权、审计与迁移脚本

- 在访问令牌中增加知识库分享授权入口
This commit is contained in:
2026-04-13 14:44:31 +08:00
parent 8cfe5400fe
commit 31a755a8bc
57 changed files with 5158 additions and 143 deletions

View File

@@ -12,6 +12,12 @@
"save": "Save Configuration"
},
"engineHint": "The keyword search engine is controlled by platform-level configuration and is no longer configured per knowledge base.",
"retrievalModeTitle": "Retrieval Mode Guide",
"retrievalModeDescriptions": {
"hybrid": "Combines semantic vector recall with keyword matching for balanced default retrieval.",
"vector": "Focuses on semantic similarity and works better when query wording differs from the source text.",
"keyword": "Focuses on literal term matching and is suitable for precise lookups such as terms, IDs, and names."
},
"message": {
"saveSuccess": "Configuration saved successfully",
"saveFailed": "Configuration saved failed"

View File

@@ -14,5 +14,6 @@
"failure": "Failure"
},
"permissions": "AuthInterface",
"knowledgeSharePermission": "Knowledge Share",
"addApiKeyNotice": "This operation will generate an API key. Please confirm whether to proceed"
}