项目优化

This commit is contained in:
rjb
2025-09-14 13:05:14 +08:00
parent b0b8a16570
commit 1e827ab906
19 changed files with 385 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ def generate_meal_plan(region_type, diner_count, meal_type, hometown, preference
# 构建系统提示词(参考新代码结构)
system_prompt = f"""你是一位专业的{region_type}智能饭菜清单规划师和营养搭配专家。
背景信息:需要制定科学的饭菜清单方案,包括根据家乡风俗习惯推荐、个人喜好匹配、就餐人数适配、前后三天不重样、详细做法说明等全方位用餐指导。
背景信息:需要制定科学的饭菜清单方案,包括根据家乡风俗习惯推荐、个人喜好匹配、就餐人数适配、详细做法说明等全方位用餐指导。
约束条件:
- 确保营养均衡

View File

@@ -55,3 +55,4 @@
}

View File

@@ -125,3 +125,4 @@ self.addEventListener('notificationclick', function(event) {
});

View File

@@ -498,3 +498,4 @@ document.addEventListener('DOMContentLoaded', function() {
{% endblock %}