feat: add durable ASR-to-patient extraction and guarded review

This commit is contained in:
2026-10-08 15:08:42 +08:00
parent 8bb4bd07ae
commit 13948f5982
34 changed files with 2377 additions and 56 deletions
+3 -1
View File
@@ -31,7 +31,7 @@ export interface FollowupReviewItem {
time_estimated: boolean
time_text: string
date_text: string
evidence: Array<{ text: string; start_ms?: number; end_ms?: number }>
evidence: Array<{ text: string; start_ms?: number; end_ms?: number; segment_id?: string; position_type?: 'segment' }>
needs_review: boolean
selected: boolean
target_id: number | null
@@ -62,6 +62,8 @@ export interface FollowupTaskSummary {
expires_at: number | string
can_retry: boolean
audio_available: boolean
transcript_available?: boolean
pipeline_progress?: { transcribed: number; total: number }
}
export interface FollowupTaskDetail extends FollowupTaskSummary {
summary: string