feat(aihr): harden finance RAG retrieval and evidence gates

This commit is contained in:
key
2026-08-03 22:34:18 +08:00
parent 99e8c509d5
commit 721839c847
22 changed files with 1306 additions and 153 deletions
+7 -1
View File
@@ -1326,7 +1326,13 @@ const citationDomainLabel = (snippet: KnowledgeSearchResponse['snippets'][number
if (snippet.domain === 'PROJECT_SERVICE') return '项目记录';
if (snippet.domain === 'PERSONAL') return '我的资料';
if (snippet.sourceType === 'DATA_TOOL') return '数据工具';
return '企业 SOP';
return ({
FORMAL_POLICY: '正式制度',
OPERATING_MANUAL: '操作手册',
APPROVED_SOP: '已批准 SOP',
EXPERIENCE: '经验材料',
CASE: '案例'
}[snippet.sourceKind || ''] || '企业知识');
};
const serviceMemoryStatusLabel = (status?: string | null) => ({