Update data6.py
Browse files
data6.py
CHANGED
@@ -1,9 +1,15 @@
|
|
1 |
strategy_text = {
|
2 |
-
0: ("PEEL strategy (Point, Evidence, Experience(s), Link back to the question)",
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
5 |
}
|
6 |
|
|
|
7 |
description = (
|
8 |
"The picture shows a Poem contest entry form to celebrate Teachers’ Day."
|
9 |
)
|
@@ -16,11 +22,22 @@ questions = [
|
|
16 |
|
17 |
def generate_system_message(current_question_index):
|
18 |
strategy, explanation = strategy_text[current_question_index]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
system_message = f"""
|
20 |
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.
|
21 |
|
22 |
Now, let's focus on {strategy}. {explanation}
|
23 |
|
|
|
|
|
24 |
Along the way, I'll prompt you to clarify your thoughts, explore key terms, challenge your reasoning, and reflect on the discussion.
|
25 |
|
26 |
Once we've thoroughly explored each part of the strategy, I'll assist you in assembling your thoughts into a comprehensive and eloquent response using the insights we've gathered.
|
@@ -30,3 +47,4 @@ def generate_system_message(current_question_index):
|
|
30 |
Please ensure your response is in English.
|
31 |
"""
|
32 |
return system_message
|
|
|
|
1 |
strategy_text = {
|
2 |
+
0: ("PEEL strategy (Point, Evidence, Experience(s), Link back to the question)",
|
3 |
+
"Structure your feedback using the PEEL strategy. Begin with a Point, provide Evidence to support it, share an Experience or example, and finally Link back to the question."),
|
4 |
+
|
5 |
+
1: ("5W1H thinking frame (Who, What, Where, When, Why, How)",
|
6 |
+
"Structure your feedback using the 5W1H thinking frame. Address Who the user is talking about, What they are discussing, Where it's happening, When it's occurring, Why they feel that way, and How they express it."),
|
7 |
+
|
8 |
+
2: ("OREO thinking frame (Opening Statement, Reasons, Elaborate, Opinion)",
|
9 |
+
"Structure your feedback using the OREO thinking frame. Begin with an Opening Statement about the user's response, provide Reasons for your feedback, Elaborate on those reasons, and conclude with an Opinion on their overall response.")
|
10 |
}
|
11 |
|
12 |
+
|
13 |
description = (
|
14 |
"The picture shows a Poem contest entry form to celebrate Teachers’ Day."
|
15 |
)
|
|
|
22 |
|
23 |
def generate_system_message(current_question_index):
|
24 |
strategy, explanation = strategy_text[current_question_index]
|
25 |
+
|
26 |
+
# Define the feedback structure for each strategy
|
27 |
+
if current_question_index == 0: # PEEL strategy
|
28 |
+
feedback_structure = "Provide feedback in the PEEL format: Start with a Point, then provide Evidence, share an Experience, and finally Link back to the question."
|
29 |
+
elif current_question_index == 1: # 5W1H thinking frame
|
30 |
+
feedback_structure = "Provide feedback using the 5W1H format: Address Who, What, Where, When, Why, and How in your feedback."
|
31 |
+
else: # OREO thinking frame
|
32 |
+
feedback_structure = "Provide feedback in the OREO format: Start with an Opening Statement, then provide Reasons, Elaborate on them, and conclude with an Opinion."
|
33 |
+
|
34 |
system_message = f"""
|
35 |
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.
|
36 |
|
37 |
Now, let's focus on {strategy}. {explanation}
|
38 |
|
39 |
+
{feedback_structure} # Add the feedback structure to the system message
|
40 |
+
|
41 |
Along the way, I'll prompt you to clarify your thoughts, explore key terms, challenge your reasoning, and reflect on the discussion.
|
42 |
|
43 |
Once we've thoroughly explored each part of the strategy, I'll assist you in assembling your thoughts into a comprehensive and eloquent response using the insights we've gathered.
|
|
|
47 |
Please ensure your response is in English.
|
48 |
"""
|
49 |
return system_message
|
50 |
+
|