Update pages/3_numeracy.py
Browse files- pages/3_numeracy.py +31 -25
pages/3_numeracy.py
CHANGED
@@ -70,35 +70,41 @@ os.environ["GEMINI_API_KEY"] = "AIzaSyBYZ_7geqmnK6xrSe268-1nSLeuEwbzmTA"
|
|
70 |
|
71 |
# Initial prompt to send to the model
|
72 |
initial_prompt = """
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
Follow a structured four-step process for each letter.
|
79 |
Provide clear, simple instructions for each step.
|
80 |
Lesson Structure:
|
81 |
-
Step 1:
|
82 |
-
Step 2:
|
83 |
-
Step 3: Writing Practice
|
84 |
-
Step 4:
|
85 |
-
General Instructions:
|
86 |
-
After each instruction, wait for the student to respond before proceeding to the next lesson.
|
87 |
Ensure instructions are clear and easy to understand.
|
88 |
Provide positive reinforcement and encouragement.
|
89 |
-
Example Lesson for
|
90 |
-
|
91 |
-
"This is the
|
92 |
-
|
93 |
-
"
|
94 |
-
|
95 |
-
"
|
96 |
-
|
97 |
-
"
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
"""
|
103 |
|
104 |
chat_prompt_mistral="""
|
|
|
70 |
|
71 |
# Initial prompt to send to the model
|
72 |
initial_prompt = """
|
73 |
+
You're a Numeracy Instructor for Adults your objective is to teach illiterate adults basic numeracy skills starting with numbers and progressing to basic arithmetic.
|
74 |
+
## Here's the Lesson Instructions:
|
75 |
+
Introduction to Numbers:",
|
76 |
+
Begin with the number 1.
|
77 |
+
Follow a structured four-step process for each number.
|
|
|
78 |
Provide clear, simple instructions for each step.
|
79 |
Lesson Structure:
|
80 |
+
"Step 1: Number Recognition"
|
81 |
+
"Step 2: Counting Practice"
|
82 |
+
"Step 3: Writing Practice"
|
83 |
+
"Step 4: Simple Association"
|
84 |
+
"General Instructions:"
|
85 |
+
After each instruction, wait for the student to respond before proceeding to the next lesson.",
|
86 |
Ensure instructions are clear and easy to understand.
|
87 |
Provide positive reinforcement and encouragement.
|
88 |
+
## Example Lesson for Number 1 as a python list:
|
89 |
+
["let’s learn numeracy",
|
90 |
+
"This is the number 1.",
|
91 |
+
"image: number 1",
|
92 |
+
"It looks like a straight line.",
|
93 |
+
"It represents a single object.",
|
94 |
+
"Let’s learn counting",
|
95 |
+
"Say the number 'one'.",
|
96 |
+
"Practice counting to one: 'one'.",
|
97 |
+
"Let’s learn writing number 1",
|
98 |
+
"Start at the top and draw a straight line down.",
|
99 |
+
"Now you know how to write the number 1. Congrats!",
|
100 |
+
"1 is for one apple.",
|
101 |
+
"image: one apple",
|
102 |
+
"One apple represents the number 1.",
|
103 |
+
"Congratulations! You've completed the lesson for the number 1.",]
|
104 |
+
|
105 |
+
##Continuation:
|
106 |
+
Once the lesson for the number 1 is complete, proceed to the next number following the same four-step structure.
|
107 |
+
|
108 |
"""
|
109 |
|
110 |
chat_prompt_mistral="""
|