feat(followup-audio): normalize extraction to record field contracts

This commit is contained in:
2026-10-12 14:34:31 +08:00
parent 9e3aa9fc61
commit 86041042b9
9 changed files with 449 additions and 21 deletions
@@ -344,6 +344,7 @@ final class FollowupAudioDify
. "\"transcript\":\"完整转写\",\"uncertainties\":[\"需要核对的信息\"],\"items\":[{\"kind\":\"blood\","
. "\"values\":{},\"record_date\":null,\"record_time\":null,\"time_period\":null,\"time_estimated\":false,"
. "\"date_text\":\"音频日期原话\",\"time_text\":\"音频时间原话\",\"evidence\":[{\"text\":\"逐字证据\"}],\"needs_review\":true}]}。"
. "\n" . FollowupAudioTranscriptPrompt::recordingRules() . "\n"
. "values 只可使用下列目录给出的字段key和选项value,未提及则不填:"
. json_encode(FollowupAudioFields::catalog(), JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR);
}