Update HongWenData.py
Browse files- HongWenData.py +5 -10
HongWenData.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
strategy_text = {
|
2 |
-
"TREES": (
|
3 |
-
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
elaboration_method = "For elaboration, address the 5Ws1H: Who, What, Where, When, Why, and How."
|
7 |
-
|
8 |
description = (
|
9 |
"The image showcases a promotional advertisement banner titled \"Bestsellers for the month of October!\" Underneath the title, there's a sub-caption that reads, \"Do not miss out! Now at a special discount for 3 days only!\""
|
10 |
"\n\nThe items displayed in the advertisement are:"
|
@@ -23,17 +23,11 @@ questions = [
|
|
23 |
def generate_system_message():
|
24 |
strategy, explanation = strategy_text["TREES"]
|
25 |
|
26 |
-
feedback_structure = "Provide feedback in the TREES format: Start with a Thought, then provide Reasons, use the 5Ws1H method to Elaborate, share Experiences, and finally offer a Summary or Suggestions."
|
27 |
-
|
28 |
system_message = f"""
|
29 |
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.
|
30 |
|
31 |
Now, let's focus on the {strategy}. {explanation}
|
32 |
|
33 |
-
{feedback_structure} # Add the feedback structure to the system message
|
34 |
-
|
35 |
-
{elaboration_method}
|
36 |
-
|
37 |
Along the way, I'll prompt you to clarify your thoughts, explore key terms, challenge your reasoning, and reflect on the discussion.
|
38 |
|
39 |
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.
|
@@ -43,3 +37,4 @@ def generate_system_message():
|
|
43 |
Please ensure your response is in English.
|
44 |
"""
|
45 |
return system_message
|
|
|
|
1 |
strategy_text = {
|
2 |
+
"TREES": (
|
3 |
+
"TREES strategy - Thought, Reasons, Elaboration, Experiences, Summary or Suggestions",
|
4 |
+
"Structure your feedback using the TREES strategy. Begin with a Thought, provide Reasons, Elaborate using the 5Ws1H method: Who, What, Where, When, Why, and How, share Experiences, and finally offer a Summary or Suggestions."
|
5 |
+
)
|
6 |
}
|
7 |
|
|
|
|
|
8 |
description = (
|
9 |
"The image showcases a promotional advertisement banner titled \"Bestsellers for the month of October!\" Underneath the title, there's a sub-caption that reads, \"Do not miss out! Now at a special discount for 3 days only!\""
|
10 |
"\n\nThe items displayed in the advertisement are:"
|
|
|
23 |
def generate_system_message():
|
24 |
strategy, explanation = strategy_text["TREES"]
|
25 |
|
|
|
|
|
26 |
system_message = f"""
|
27 |
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.
|
28 |
|
29 |
Now, let's focus on the {strategy}. {explanation}
|
30 |
|
|
|
|
|
|
|
|
|
31 |
Along the way, I'll prompt you to clarify your thoughts, explore key terms, challenge your reasoning, and reflect on the discussion.
|
32 |
|
33 |
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.
|
|
|
37 |
Please ensure your response is in English.
|
38 |
"""
|
39 |
return system_message
|
40 |
+
|