feat: Tauri SQLite 事件持久化 + 讲述点追问补全(缺失检测→模板追问→沉默即数据)
This commit is contained in:
@@ -26,6 +26,12 @@ function buildState(events: StoryEvent[]): string {
|
||||
if (e.kind === 'choice') {
|
||||
return `[${e.pointId}] 选择「${e.optionLabel}」(维度: ${e.dimensions.join('/') || '字段采集'})`;
|
||||
}
|
||||
if (e.kind === 'followup') {
|
||||
return `[${e.pointId}] 追问(${e.followUpDimension})回答: ${e.transcript}`;
|
||||
}
|
||||
if (e.kind === 'followup_skipped') {
|
||||
return `[${e.pointId}] 追问(${e.followUpDimension})回答: 记不清了(跳过)`;
|
||||
}
|
||||
const t = e.transcript === null ? '(沉默)' : `(讲述: ${e.transcript})`;
|
||||
return `[${e.pointId}] 讲述${t} 情绪签名: ${e.emotionSignature ?? '未知'}`;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user