1
This commit is contained in:
122
backend/seed/nutrition_qa_kb.json
Normal file
122
backend/seed/nutrition_qa_kb.json
Normal file
@@ -0,0 +1,122 @@
|
||||
[
|
||||
{
|
||||
"question": "减脂期每天蛋白质摄入多少?",
|
||||
"answer": "通常建议 1.6-2.2g/kg 体重;训练较多时可接近上限。",
|
||||
"tags": ["减脂", "蛋白质"],
|
||||
"source": "中国居民膳食指南与运动营养实践"
|
||||
},
|
||||
{
|
||||
"question": "减脂为什么还要吃碳水?",
|
||||
"answer": "适量碳水可维持训练表现和代谢,过低碳水可能影响恢复与饱腹感。",
|
||||
"tags": ["减脂", "碳水"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "生酮饮食碳水要控制到多少?",
|
||||
"answer": "常见做法是每日净碳水控制在 20-50g,但需要结合个体耐受和专业建议。",
|
||||
"tags": ["生酮", "低碳"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "生酮期间为什么要补电解质?",
|
||||
"answer": "低碳初期水分与电解质流失增加,适度补充钠钾镁可减轻不适。",
|
||||
"tags": ["生酮", "电解质"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "增肌期热量应该怎么安排?",
|
||||
"answer": "建议在维持热量基础上增加约 5%-15%,并确保优质蛋白和训练刺激。",
|
||||
"tags": ["增肌", "热量"],
|
||||
"source": "运动营养实践"
|
||||
},
|
||||
{
|
||||
"question": "增肌期蛋白质摄入建议",
|
||||
"answer": "每日 1.6-2.2g/kg 体重较常见,可分散到 3-5 餐摄入。",
|
||||
"tags": ["增肌", "蛋白质"],
|
||||
"source": "运动营养实践"
|
||||
},
|
||||
{
|
||||
"question": "办公室人群如何控制饮食",
|
||||
"answer": "优先高蛋白高纤维便当,减少含糖饮料与高油零食,固定进餐时间。",
|
||||
"tags": ["职业", "办公室"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "程序员久坐饮食建议",
|
||||
"answer": "主食粗细搭配,搭配蛋白和蔬菜,下午加餐可选酸奶或坚果。",
|
||||
"tags": ["职业", "开发"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "体脂率高于 30% 应先做什么",
|
||||
"answer": "先建立热量缺口与规律运动,优先提升蛋白和蔬菜比例,再逐步加大训练量。",
|
||||
"tags": ["体脂率", "减脂"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "如何判断每天热量是否超标",
|
||||
"answer": "结合体重趋势、围度和饮食记录评估,连续 2-4 周上升通常意味着摄入偏高。",
|
||||
"tags": ["热量", "记录"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "晚餐吃轻食会饿怎么办",
|
||||
"answer": "提高蛋白质和纤维比例,适当增加低 GI 主食,避免只吃蔬菜。",
|
||||
"tags": ["晚餐", "饱腹"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "一天喝多少水比较合理",
|
||||
"answer": "常见建议约 30-35ml/kg 体重,运动出汗时需额外补充。",
|
||||
"tags": ["饮水", "基础"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "轻食是不是只能吃沙拉",
|
||||
"answer": "不是。轻食强调低负担和营养均衡,可包含热餐、汤品、全谷物和优质蛋白。",
|
||||
"tags": ["轻食", "误区"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "减脂期间可以吃水果吗",
|
||||
"answer": "可以。注意控制总量和整体热量,优先低糖高纤水果并安排在白天。",
|
||||
"tags": ["减脂", "水果"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "运动后多长时间吃饭较好",
|
||||
"answer": "通常在训练后 30-90 分钟补充蛋白和碳水有助于恢复。",
|
||||
"tags": ["训练", "恢复"],
|
||||
"source": "运动营养实践"
|
||||
},
|
||||
{
|
||||
"question": "早餐不吃会影响减脂吗",
|
||||
"answer": "关键是全天能量和营养结构;不吃早餐可能导致后续暴食,应根据作息选择。",
|
||||
"tags": ["早餐", "减脂"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "体重平台期怎么破",
|
||||
"answer": "复查记录准确度,微调热量或活动量,保证睡眠与训练强度,再观察 2 周。",
|
||||
"tags": ["平台期", "减脂"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "高蛋白饮食会不会伤肾",
|
||||
"answer": "健康人群在合理范围内通常问题不大,但已有肾脏疾病者需遵医嘱。",
|
||||
"tags": ["蛋白质", "安全"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "如何设置一周饮食计划",
|
||||
"answer": "先按目标设定热量和宏量营养,再按早餐/午餐/晚餐分配,预留 10% 灵活空间。",
|
||||
"tags": ["计划", "实操"],
|
||||
"source": "本地营养知识整理"
|
||||
},
|
||||
{
|
||||
"question": "轻断食适合所有人吗",
|
||||
"answer": "并不适合所有人,孕妇、青少年、慢病人群需谨慎并咨询专业人士。",
|
||||
"tags": ["轻断食", "安全"],
|
||||
"source": "本地营养知识整理"
|
||||
}
|
||||
]
|
||||
242
backend/seed/recipes_seed.json
Normal file
242
backend/seed/recipes_seed.json
Normal file
@@ -0,0 +1,242 @@
|
||||
[
|
||||
{
|
||||
"name": "香煎鸡胸藜麦碗",
|
||||
"category": "增肌轻食",
|
||||
"description": "鸡胸肉、藜麦、生菜、番茄、玉米粒",
|
||||
"calories": 460,
|
||||
"protein": 42,
|
||||
"fat": 12,
|
||||
"carbs": 45,
|
||||
"fiber": 8,
|
||||
"tags": ["高蛋白", "低脂", "训练后"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "烟熏三文鱼牛油果沙拉",
|
||||
"category": "生酮轻食",
|
||||
"description": "三文鱼、牛油果、混合生菜、坚果",
|
||||
"calories": 510,
|
||||
"protein": 30,
|
||||
"fat": 34,
|
||||
"carbs": 18,
|
||||
"fiber": 7,
|
||||
"tags": ["生酮", "优质脂肪"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "鸡蛋金枪鱼全麦卷",
|
||||
"category": "减脂轻食",
|
||||
"description": "全麦饼、金枪鱼、水煮蛋、酸奶酱",
|
||||
"calories": 390,
|
||||
"protein": 33,
|
||||
"fat": 11,
|
||||
"carbs": 36,
|
||||
"fiber": 6,
|
||||
"tags": ["减脂", "高蛋白"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "牛肉彩椒糙米饭",
|
||||
"category": "增肌轻食",
|
||||
"description": "瘦牛肉、糙米、彩椒、西兰花",
|
||||
"calories": 560,
|
||||
"protein": 39,
|
||||
"fat": 16,
|
||||
"carbs": 62,
|
||||
"fiber": 9,
|
||||
"tags": ["增肌", "高碳水"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "虾仁西兰花意面",
|
||||
"category": "均衡轻食",
|
||||
"description": "全麦意面、虾仁、西兰花、蒜香橄榄油",
|
||||
"calories": 480,
|
||||
"protein": 34,
|
||||
"fat": 14,
|
||||
"carbs": 54,
|
||||
"fiber": 8,
|
||||
"tags": ["均衡", "高纤维"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "低脂鸡肉凯撒沙拉",
|
||||
"category": "减脂轻食",
|
||||
"description": "鸡胸肉、生菜、圣女果、低脂凯撒酱",
|
||||
"calories": 360,
|
||||
"protein": 37,
|
||||
"fat": 10,
|
||||
"carbs": 20,
|
||||
"fiber": 5,
|
||||
"tags": ["低卡", "减脂"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "豆腐牛油果暖沙拉",
|
||||
"category": "素食轻食",
|
||||
"description": "豆腐、牛油果、蘑菇、菠菜",
|
||||
"calories": 410,
|
||||
"protein": 21,
|
||||
"fat": 24,
|
||||
"carbs": 25,
|
||||
"fiber": 9,
|
||||
"tags": ["素食", "生酮友好"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "鸡肉鹰嘴豆能量碗",
|
||||
"category": "均衡轻食",
|
||||
"description": "鸡胸肉、鹰嘴豆、紫甘蓝、胡萝卜",
|
||||
"calories": 520,
|
||||
"protein": 36,
|
||||
"fat": 13,
|
||||
"carbs": 63,
|
||||
"fiber": 11,
|
||||
"tags": ["高纤维", "饱腹"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "芦笋牛排轻食拼盘",
|
||||
"category": "增肌轻食",
|
||||
"description": "牛排、芦笋、南瓜泥、番茄",
|
||||
"calories": 590,
|
||||
"protein": 44,
|
||||
"fat": 24,
|
||||
"carbs": 38,
|
||||
"fiber": 6,
|
||||
"tags": ["高蛋白", "力量训练"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "魔芋鸡丝低碳碗",
|
||||
"category": "生酮轻食",
|
||||
"description": "魔芋丝、鸡胸肉、黄瓜、芝麻酱",
|
||||
"calories": 320,
|
||||
"protein": 29,
|
||||
"fat": 15,
|
||||
"carbs": 12,
|
||||
"fiber": 4,
|
||||
"tags": ["低碳", "生酮", "减脂"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "三文鱼羽衣甘蓝碗",
|
||||
"category": "均衡轻食",
|
||||
"description": "三文鱼、羽衣甘蓝、红薯、藜麦",
|
||||
"calories": 540,
|
||||
"protein": 35,
|
||||
"fat": 22,
|
||||
"carbs": 49,
|
||||
"fiber": 10,
|
||||
"tags": ["抗氧化", "Omega-3"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "鸡腿肉菌菇焖饭",
|
||||
"category": "日常轻食",
|
||||
"description": "去皮鸡腿肉、糙米、香菇、玉米",
|
||||
"calories": 500,
|
||||
"protein": 32,
|
||||
"fat": 14,
|
||||
"carbs": 57,
|
||||
"fiber": 7,
|
||||
"tags": ["家常", "均衡"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "火鸡胸蔬菜三明治",
|
||||
"category": "减脂轻食",
|
||||
"description": "全麦吐司、火鸡胸、生菜、番茄",
|
||||
"calories": 340,
|
||||
"protein": 28,
|
||||
"fat": 9,
|
||||
"carbs": 34,
|
||||
"fiber": 5,
|
||||
"tags": ["便携", "办公室"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "鸡蛋菠菜奶酪欧姆雷",
|
||||
"category": "生酮轻食",
|
||||
"description": "鸡蛋、菠菜、低碳奶酪、蘑菇",
|
||||
"calories": 370,
|
||||
"protein": 25,
|
||||
"fat": 26,
|
||||
"carbs": 8,
|
||||
"fiber": 3,
|
||||
"tags": ["早餐", "低碳"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "酸奶浆果燕麦杯",
|
||||
"category": "日常轻食",
|
||||
"description": "希腊酸奶、燕麦、蓝莓、奇亚籽",
|
||||
"calories": 300,
|
||||
"protein": 19,
|
||||
"fat": 7,
|
||||
"carbs": 42,
|
||||
"fiber": 7,
|
||||
"tags": ["早餐", "高纤维"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "鸡胸南瓜蔬菜汤",
|
||||
"category": "减脂轻食",
|
||||
"description": "鸡胸肉、南瓜、西芹、胡萝卜",
|
||||
"calories": 280,
|
||||
"protein": 26,
|
||||
"fat": 6,
|
||||
"carbs": 30,
|
||||
"fiber": 6,
|
||||
"tags": ["低卡", "晚餐"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "鳕鱼豆腐味噌碗",
|
||||
"category": "均衡轻食",
|
||||
"description": "鳕鱼、嫩豆腐、糙米、海带",
|
||||
"calories": 430,
|
||||
"protein": 33,
|
||||
"fat": 11,
|
||||
"carbs": 44,
|
||||
"fiber": 5,
|
||||
"tags": ["清淡", "高蛋白"],
|
||||
"difficulty": "medium"
|
||||
},
|
||||
{
|
||||
"name": "黑椒鸡排花椰菜饭",
|
||||
"category": "生酮轻食",
|
||||
"description": "鸡排、花椰菜米、彩椒、坚果碎",
|
||||
"calories": 400,
|
||||
"protein": 35,
|
||||
"fat": 21,
|
||||
"carbs": 16,
|
||||
"fiber": 6,
|
||||
"tags": ["低碳", "减脂"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "牛油果鸡蛋藜麦沙拉",
|
||||
"category": "均衡轻食",
|
||||
"description": "牛油果、水煮蛋、藜麦、生菜",
|
||||
"calories": 450,
|
||||
"protein": 22,
|
||||
"fat": 24,
|
||||
"carbs": 36,
|
||||
"fiber": 9,
|
||||
"tags": ["均衡", "饱腹"],
|
||||
"difficulty": "easy"
|
||||
},
|
||||
{
|
||||
"name": "鸡胸肉荞麦冷面",
|
||||
"category": "日常轻食",
|
||||
"description": "荞麦面、鸡胸丝、黄瓜、溏心蛋",
|
||||
"calories": 470,
|
||||
"protein": 31,
|
||||
"fat": 12,
|
||||
"carbs": 58,
|
||||
"fiber": 6,
|
||||
"tags": ["夏季", "办公室"],
|
||||
"difficulty": "medium"
|
||||
}
|
||||
]
|
||||
67
backend/seed/spam_samples_seed.json
Normal file
67
backend/seed/spam_samples_seed.json
Normal file
@@ -0,0 +1,67 @@
|
||||
[
|
||||
{"text": "尊敬的用户,您已获赠100元话费,点击链接立即到账", "label": "spam"},
|
||||
{"text": "本周五下午两点进行季度复盘,请准时参加", "label": "ham"},
|
||||
{"text": "最后3个名额,免费领取手机一台,回复1立即领取", "label": "spam"},
|
||||
{"text": "您好,合同已发送到邮箱,请查收并反馈修改意见", "label": "ham"},
|
||||
{"text": "你的快递因地址异常被退回,点击网址重新填写", "label": "spam"},
|
||||
{"text": "明天出差高铁票已订好,车次信息已同步到群里", "label": "ham"},
|
||||
{"text": "恭喜你成为平台幸运粉丝,马上领现金红包", "label": "spam"},
|
||||
{"text": "研发环境今晚22点维护,预计30分钟恢复", "label": "ham"},
|
||||
{"text": "内部渠道兼职,日结500,添加微信了解详情", "label": "spam"},
|
||||
{"text": "周报模板已更新,请使用新模板提交", "label": "ham"},
|
||||
{"text": "低价出售苹果手机,全新未拆封,先到先得", "label": "spam"},
|
||||
{"text": "客户反馈文档在共享盘,路径已发你私聊", "label": "ham"},
|
||||
{"text": "紧急通知:你的银行卡存在风险,请立即验证", "label": "spam"},
|
||||
{"text": "今天的日报我已补充到项目看板", "label": "ham"},
|
||||
{"text": "官方补贴发放中,输入验证码即可领取", "label": "spam"},
|
||||
{"text": "下午四点产品评审,麻烦准备交互稿", "label": "ham"},
|
||||
{"text": "无需面试,高薪在家办公,扫码进群", "label": "spam"},
|
||||
{"text": "发票已开具完成,纸质件今天寄出", "label": "ham"},
|
||||
{"text": "您的贷款已通过,点击查看额度", "label": "spam"},
|
||||
{"text": "会议纪要我整理好了,已上传飞书文档", "label": "ham"},
|
||||
{"text": "双十一秒杀提前抢,点此领隐藏优惠券", "label": "spam"},
|
||||
{"text": "新同事今天入职,请大家中午一起欢迎", "label": "ham"},
|
||||
{"text": "你有一笔退款待确认,马上处理避免失效", "label": "spam"},
|
||||
{"text": "设计稿第二版我已经按你建议调整完了", "label": "ham"},
|
||||
{"text": "点击领取年度会员,原价699现价9.9", "label": "spam"},
|
||||
{"text": "明天早会由我来同步上线计划", "label": "ham"},
|
||||
{"text": "官方通知:账号异常将被冻结,请立即解封", "label": "spam"},
|
||||
{"text": "请把测试环境数据库备份到指定目录", "label": "ham"},
|
||||
{"text": "刷单项目火热招募,宝妈学生都能做", "label": "spam"},
|
||||
{"text": "你发的需求我已经拆分成开发任务", "label": "ham"},
|
||||
{"text": "中奖通知:你获得平板电脑一台,限时领取", "label": "spam"},
|
||||
{"text": "客户明天下午三点会远程验收新功能", "label": "ham"},
|
||||
{"text": "陌生链接请勿泄露验证码,谨防被骗", "label": "ham"},
|
||||
{"text": "马上关注公众号领取无门槛现金券", "label": "spam"},
|
||||
{"text": "今天的构建失败是依赖冲突,我在修复", "label": "ham"},
|
||||
{"text": "免费领取课程资料,扫码后自动发放", "label": "spam"},
|
||||
{"text": "请确认一下下周排期是否需要调整", "label": "ham"},
|
||||
{"text": "特惠机票内部价,回复姓名立刻锁座", "label": "spam"},
|
||||
{"text": "我已经把版本回滚流程补充到Wiki", "label": "ham"},
|
||||
{"text": "贷款秒批到账,额度最高20万", "label": "spam"},
|
||||
{"text": "合同法务意见已返回,请你二次确认", "label": "ham"},
|
||||
{"text": "限时返现活动,点击进入马上到账", "label": "spam"},
|
||||
{"text": "这个bug我复现到了,定位在缓存层", "label": "ham"},
|
||||
{"text": "你有新的违章信息,点开链接立即处理", "label": "spam"},
|
||||
{"text": "早上好,今天先做性能压测再发版", "label": "ham"},
|
||||
{"text": "邀请码最后1小时有效,错过不再补发", "label": "spam"},
|
||||
{"text": "中午12点在会议室A开需求评审会", "label": "ham"},
|
||||
{"text": "苹果14只要1999,货到付款保真", "label": "spam"},
|
||||
{"text": "供应商报价单已更新到共享文件夹", "label": "ham"},
|
||||
{"text": "想赚外快吗?加我秒赚零花钱", "label": "spam"},
|
||||
{"text": "今天下午我去客户现场,晚些回公司", "label": "ham"},
|
||||
{"text": "官方补贴计划启动,名额有限速来登记", "label": "spam"},
|
||||
{"text": "测试报告已发你邮箱,包含复现步骤", "label": "ham"},
|
||||
{"text": "欠费停机提醒,立即充值恢复使用", "label": "spam"},
|
||||
{"text": "这个接口我加了幂等,避免重复提交", "label": "ham"},
|
||||
{"text": "点击抽取盲盒大奖,百分百中奖", "label": "spam"},
|
||||
{"text": "版本发布说明我已经整理成公告", "label": "ham"},
|
||||
{"text": "独家内部消息,股票必涨,速进群", "label": "spam"},
|
||||
{"text": "周一上午需要和财务对齐预算数据", "label": "ham"},
|
||||
{"text": "紧急!你的社保账户异常,立即核验", "label": "spam"},
|
||||
{"text": "我下午会把接口文档补全到OpenAPI", "label": "ham"},
|
||||
{"text": "游戏皮肤免费领,输入手机号立刻到账", "label": "spam"},
|
||||
{"text": "晚上的培训链接我刚刚发到部门群", "label": "ham"},
|
||||
{"text": "预约体检补贴开通,点击立即申请", "label": "spam"},
|
||||
{"text": "新需求优先级调高了,请先排进本周", "label": "ham"}
|
||||
]
|
||||
Reference in New Issue
Block a user