diff --git a/server/app/common/service/prescriptionai/PrescriptionAiGenerator.php b/server/app/common/service/prescriptionai/PrescriptionAiGenerator.php index 491bf00c0..7512bd563 100755 --- a/server/app/common/service/prescriptionai/PrescriptionAiGenerator.php +++ b/server/app/common/service/prescriptionai/PrescriptionAiGenerator.php @@ -742,6 +742,7 @@ final class PrescriptionAiGenerator return '方剂学知识问答(不涉及具体患者)。' . ($syndrome['disease'] !== '' ? '病名:' . $syndrome['disease'] . '。' : '') . '证候:' . $syndrome['syndrome'] . '。治法:' . $syndrome['treatment_principle'] . '。' . '请选出《方剂学》《中医内科学》教材中与此证候、治法最对应的一首代表方,按教材所载组成与常用剂量给出,药味不超过20味。' + . '证候含兼证或有多首可选时,取最贴近主证的一首汤剂或散剂方,不选中成药,herbs不得为空。' . '只输出一个JSON对象:{"prescription_name":"方名","herbs":[{"name":"药名","dosage":数值,"unit":"克"}],"times_per_day":数值或null,"usage_days":数值或null,"rationale":"方义,不超过300字"}。' . ($catalogNames !== [] ? '药名优先逐字使用MEDICINE_CATALOG中的对应名称(含炮制品,如“生山药”),清单中没有的药味照常写教材药名,不得因此删减原方药味;'