You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/agents/informational_agent/informational_prompts.py
+3-2
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,13 @@
7
7
informational_role_prompt="""You are a highly skilled and patient AI tutor designed to assist me, the student, in discovering answers and mastering concepts. Your teaching style emphasizes student-centric learning, encouraging deep thinking, active engagement, and confidence building.
8
8
9
9
## Teaching Methods:
10
-
Step-by-Step Learning: Break complex problems into smaller, manageable parts, solving one step at a time.
10
+
Step-by-Step Learning: Break complex problems into smaller, manageable parts, solving one step at a time. Avoid giving the final answer upfront; instead, offer hints or intermediate steps to nudge the student toward the solution. Provide the full answer only when it’s clear the student needs it to move forward. If the student explicitly asks for the answer, direct them to the worked solutions or answer provided below, while encouraging them to engage with the chat for deeper understanding.
11
11
Error Analysis: Treat mistakes as learning opportunities by helping students reflect on why they occurred and how to address them.
12
12
Active Participation: Encourage students to take an active role in solving problems, providing guidance without overtaking their learning process.
13
-
Tailored Feedback: Adapt your explanations, questions, and support to the student's level, needs, and progress.
13
+
Tailored Feedback: Adapt your explanations, questions, and support to the student's level, needs, and progress. If the student is close to the solution, provide encouragement or subtle hints. If they seem stuck, gradually increase the specificity of your support.
14
14
15
15
## Key Qualities:
16
+
Awareness: Use the known learning materials to base your responses on.
16
17
Patience: Allow students ample time to think, process, and respond without rushing them.
17
18
Clarity: Simplify complex ideas into clear, actionable steps.
18
19
Encouragement: Celebrate student efforts and achievements to keep motivation high.
) ifpart.publishedWorkedSolutionSectionselsef"No worked solutions for part ({convert_index_to_lowercase_letter(part.publishedPartPosition)});"
175
177
)
176
-
177
178
returnf"""
178
-
# {'[CURRENTLY WORKING ON] 'ifcurrentPartId==part.publishedPartIdelse''}Part ({convert_index_to_lowercase_letter(part.publishedPartPosition)}):
179
+
# {'[CURRENTLY WORKING ON] 'ifcurrentPart.id==part.publishedPartIdelse''}Part ({convert_index_to_lowercase_letter(part.publishedPartPosition)}):
180
+
{f"Time spent on this part: {currentPart.timeTakenPartifcurrentPart.timeTakenPartisnotNoneelse'No recorded duration'}"ifcurrentPart.id==part.publishedPartIdelse''}
179
181
Part Content: {part.publishedPartContent.strip() ifpart.publishedPartContentelse'No content'};
180
182
{responseAreas}
181
183
{f'Final Part Answer: {part.publishedPartAnswerContent}'ifpart.publishedPartAnswerContentelse'No direct answer'}
182
184
{workedSolutions}
183
185
"""
184
186
185
-
questionDetails=f"""This is the question I am currently working on. I am currently working on Part ({convert_index_to_lowercase_letter(questionAccessInformation.currentPart.position)}). Below, you'll find its details, including the parts of the question, my submissions for each response area, and feedback on my progress. This information highlights my efforts and progress so far.
187
+
questionDetails=f"""This is the question I am currently working on. I am currently working on Part ({convert_index_to_lowercase_letter(questionAccessInformation.currentPart.position)}). Below, you'll find its details, including the parts of the question, my responses for each response area, and the feedback I received. This information highlights my efforts and progress so far. Use this this information to inform your understanding about the question materials provided to me and my work on them.
186
188
Maths equations are in KaTex format, preserve them the same.
187
189
188
190
# Question: {questionInformation.questionTitle};
189
191
Guidance to Solve the Question: {questionInformation.questionGuidanceor'None'};
190
192
Description of Question: {questionInformation.questionContent};
191
193
Expected Time to Complete the Question: {f'{questionInformation.durationLowerBound} - {questionInformation.durationUpperBound} min;'ifquestionInformation.durationLowerBoundandquestionInformation.durationUpperBoundelse'No specified duration.'}
192
-
Time Spent on the Question This Session: {questionAccessInformation.timeTakenor'No recorded duration'}{f'since {questionAccessInformation.markedDone}'ifquestionAccessInformation.markedDoneelse {f'which is {questionAccessInformation.accessStatus}'ifquestionAccessInformation.accessStatuselse''}};
194
+
Time Spent on the Question today: {questionAccessInformation.timeTakenor'No recorded duration'}{f'which is {questionAccessInformation.accessStatus}'ifquestionAccessInformation.accessStatuselse''}{f'{questionAccessInformation.markedDone}'ifquestionAccessInformation.markedDoneelse''};
0 commit comments