package com.ruoyi.web.modules.diagnosis.support;

/**
 * AI 诊断业务常量。
 */
public final class AiConsultConstants
{
    public static final String SESSION_TITLE_NEW = "新会话";

    public static final String AI_SENDER_NAME = "AI助手";

    public static final String DISCLAIMER =
            "以上内容由 AI 生成，仅供参考，不能替代专业兽医诊断与现场处置。";

    public static final String REPLY_VIDEO = "已收到视频，请补充文字描述症状。";

    public static final String REPLY_VOICE = "已收到语音，请补充文字描述。";

    public static final String REPLY_IMAGE_FALLBACK = "图片识别暂不可用，请补充文字描述症状。";

    public static final int CATEGORY_BREEDING = 1;

    public static final int CATEGORY_DISEASE = 2;

    public static final int CATEGORY_MEDICINE = 3;

    public static final int CATEGORY_EQUIPMENT = 4;

    private AiConsultConstants()
    {
    }

    public static String resolvePromptTemplate(Integer category)
    {
        if (category == null)
        {
            return null;
        }
        switch (category)
        {
            case CATEGORY_BREEDING:
                return "想了解一些养殖技巧，我的情况是：";
            case CATEGORY_DISEASE:
                return "想咨询疾病诊疗问题，症状描述：";
            case CATEGORY_MEDICINE:
                return "想了解用药指导，具体情况：";
            case CATEGORY_EQUIPMENT:
                return "想咨询设备操作问题，设备/现象：";
            default:
                return null;
        }
    }
}
