simonraj commited on
Commit
90d5d50
·
1 Parent(s): 48c2b70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def intelligent_tutor(audio_file, provide_hints=False):
74
  # All questions have been answered, provide a summary
75
  summary_prompt = {
76
  "role": "system",
77
- "content": f"Based on the entire conversation, provide a detailed feedback summary highlighting the overall performance, strengths, and areas of improvement. Reference the student's responses and evaluate how well they used the {strategy_text[current_question_index]} strategy to structure their answers. Format the feedback in bullet points."
78
  }
79
  summary_conversation = [summary_prompt, {"role": "user", "content": " ".join(conversation_history)}]
80
 
 
74
  # All questions have been answered, provide a summary
75
  summary_prompt = {
76
  "role": "system",
77
+ "content": f"你是一名中文老师,正在帮助新加坡小六的学生。学生正在回答这个问题:'{questions[current_question_index]}'。请用简单的词汇和句子给出反馈,帮助学生改进。"
78
  }
79
  summary_conversation = [summary_prompt, {"role": "user", "content": " ".join(conversation_history)}]
80