simonraj commited on
Commit
688cfb5
·
1 Parent(s): 28aefcd

Update RadinMas.py

Browse files
Files changed (1) hide show
  1. RadinMas.py +11 -2
RadinMas.py CHANGED
@@ -29,8 +29,17 @@ questions = [
29
  f"3. What do you think are some benefits of leisure activities? "
30
  ]
31
 
32
- def generate_system_message(question_choice):
33
- strategy, explanation = strategy_text[question_choice]
 
 
 
 
 
 
 
 
 
34
 
35
  system_message = f"""
36
  As your English Oral Coach, my role is to guide you as you prepare to answer the oral questions. I'll be asking thought-provoking questions to help you develop your own answers.
 
29
  f"3. What do you think are some benefits of leisure activities? "
30
  ]
31
 
32
+ def generate_system_message(question_number): # Updated line
33
+ strategy, explanation = "", ""
34
+ if question_number == 1:
35
+ strategy, explanation = strategy_text["PEEL"]
36
+ elif question_number == 2:
37
+ strategy, explanation = strategy_text["Expansion"]
38
+ elif question_number == 3:
39
+ strategy, explanation = strategy_text["OREOS"]
40
+ else:
41
+ raise ValueError(f"Invalid question number: {question_number}")
42
+
43
 
44
  system_message = f"""
45
  As your English Oral Coach, my role is to guide you as you prepare to answer the oral questions. I'll be asking thought-provoking questions to help you develop your own answers.