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
+4
View File
@@ -115,6 +115,8 @@ export interface KnowledgeSnippet {
fragmentId?: number | null;
spaceCode?: string | null;
sourceType?: 'DOCUMENT' | 'DATA_TOOL' | string;
sourceAuthority?: string | null;
sourceKind?: 'FORMAL_POLICY' | 'OPERATING_MANUAL' | 'APPROVED_SOP' | 'EXPERIENCE' | 'CASE' | string | null;
domain?: 'PERSONAL' | 'PROJECT_SERVICE' | 'ENTERPRISE' | string | null;
status?: string | null;
occurredAt?: string | null;
@@ -171,6 +173,8 @@ export interface KnowledgeMediaSelectedFile {
export interface KnowledgeCitation {
spaceCode?: string | null;
sourceType: 'DOCUMENT' | 'DATA_TOOL' | string;
sourceAuthority?: string | null;
sourceKind?: 'FORMAL_POLICY' | 'OPERATING_MANUAL' | 'APPROVED_SOP' | 'EXPERIENCE' | 'CASE' | string | null;
docId?: string | null;
title: string;
snippet: string;