This commit is contained in:
Your Name
2026-10-08 18:03:11 +08:00
parent 4dac39c4c2
commit 19ea2dadeb
26 changed files with 1131 additions and 28 deletions
@@ -0,0 +1,8 @@
-- Apply before deploying the ancient-books reference integration.
-- References are saved with each report so later index changes cannot relabel old output.
ALTER TABLE `zyt_diagnosis_ai_report`
ADD COLUMN `ancient_book_sources_json` text NULL COMMENT '生成时实际传给模型的古籍篇章与原文行号JSON' AFTER `message_id`;
ALTER TABLE `zyt_patient_ai_report`
ADD COLUMN `ancient_book_sources_json` text NULL COMMENT '生成时实际传给模型的古籍篇章与原文行号JSON' AFTER `source_diagnosis_ids_json`;