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
Fixes: More detailed prompt & summary resolved (#22)
* fix: testing summary
* fix debug statement
* fix: summary prompting
* remove prints
* feat: more info on question and set
* feat: more question info prompt
Copy file name to clipboardExpand all lines: src/agents/base_agent/base_prompts.py
+4-2
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,13 @@
68
68
Structured: Organize the summary into sections such as 'Topics Discussed' and 'Top 3 Key Detailed Ideas'.
69
69
Neutral and Accurate: Avoid adding interpretations or opinions; focus only on the content shared.
70
70
When summarizing: If the conversation is technical, highlight significant concepts, solutions, and terminology. If context involves problem-solving, detail the problem and the steps or solutions provided. If the user asks for creative input, briefly describe the ideas presented.
71
-
Last messages: Include the most recent 4 messages to provide context for the summary.
71
+
Last messages: Include the most recent 5 messages to provide context for the summary.
72
72
73
73
Provide the summary in a bulleted format for clarity. Avoid redundant details while preserving the core intent of the discussion."""
74
74
75
-
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion."""
75
+
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion.
76
+
77
+
{summary_guidelines}"""
76
78
77
79
update_summary_prompt=f"""Update the summary by taking into account the new messages above.
Copy file name to clipboardExpand all lines: src/agents/google_learnLM_agent/google_learnLM_prompts.py
+4-2
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,13 @@
68
68
Structured: Organize the summary into sections such as 'Topics Discussed' and 'Top 3 Key Detailed Ideas'.
69
69
Neutral and Accurate: Avoid adding interpretations or opinions; focus only on the content shared.
70
70
When summarizing: If the conversation is technical, highlight significant concepts, solutions, and terminology. If context involves problem-solving, detail the problem and the steps or solutions provided. If the user asks for creative input, briefly describe the ideas presented.
71
-
Last messages: Include the most recent 4 messages to provide context for the summary.
71
+
Last messages: Include the most recent 5 messages to provide context for the summary.
72
72
73
73
Provide the summary in a bulleted format for clarity. Avoid redundant details while preserving the core intent of the discussion."""
74
74
75
-
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion."""
75
+
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion.
76
+
77
+
{summary_guidelines}"""
76
78
77
79
update_summary_prompt=f"""Update the summary by taking into account the new messages above.
Copy file name to clipboardExpand all lines: src/agents/informational_agent/informational_prompts.py
+4-2
Original file line number
Diff line number
Diff line change
@@ -133,11 +133,13 @@
133
133
Structured: Organize the summary into sections such as 'Topics Discussed' and 'Top 3 Key Detailed Ideas'.
134
134
Neutral and Accurate: Avoid adding interpretations or opinions; focus only on the content shared.
135
135
When summarizing: If the conversation is technical, highlight significant concepts, solutions, and terminology. If context involves problem-solving, detail the problem and the steps or solutions provided. If the user asks for creative input, briefly describe the ideas presented.
136
-
Last messages: Include the most recent 4 messages to provide context for the summary.
136
+
Last messages: Include the most recent 5 messages to provide context for the summary.
137
137
138
138
Provide the summary in a bulleted format for clarity. Avoid redundant details while preserving the core intent of the discussion."""
139
139
140
-
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion."""
140
+
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion.
141
+
142
+
{summary_guidelines}"""
141
143
142
144
update_summary_prompt=f"""Update the summary by taking into account the new messages above.
Copy file name to clipboardExpand all lines: src/agents/socratic_agent/socratic_prompts.py
+4-2
Original file line number
Diff line number
Diff line change
@@ -92,11 +92,13 @@
92
92
Structured: Organize the summary into sections such as 'Topics Discussed' and 'Top 3 Key Detailed Ideas'.
93
93
Neutral and Accurate: Avoid adding interpretations or opinions; focus only on the content shared.
94
94
When summarizing: If the conversation is technical, highlight significant concepts, solutions, and terminology. If context involves problem-solving, detail the problem and the steps or solutions provided. If the user asks for creative input, briefly describe the ideas presented.
95
-
Last messages: Include the most recent 4 messages to provide context for the summary.
95
+
Last messages: Include the most recent 5 messages to provide context for the summary.
96
96
97
97
Provide the summary in a bulleted format for clarity. Avoid redundant details while preserving the core intent of the discussion."""
98
98
99
-
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion."""
99
+
summary_prompt=f"""Summarize the conversation between a student and a tutor. Your summary should highlight the major topics discussed during the session, followed by a detailed recollection of the last five significant points or ideas. Ensure the summary flows smoothly to maintain the continuity of the discussion.
100
+
101
+
{summary_guidelines}"""
100
102
101
103
update_summary_prompt=f"""Update the summary by taking into account the new messages above.
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.
188
196
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
189
-
190
-
# Question: {questionInformation.questionTitle};
197
+
{f'# Question Set {questionInformation.setNumber+1}: {questionInformation.setName};'ifquestionInformation.setNameandquestionInformation.setNumberelse''}
Guidance to Solve the Question: {questionInformation.questionGuidanceor'None'};
192
200
Description of Question: {questionInformation.questionContent};
193
201
Expected Time to Complete the Question: {f'{questionInformation.durationLowerBound} - {questionInformation.durationUpperBound} min;'ifquestionInformation.durationLowerBoundandquestionInformation.durationUpperBoundelse'No specified duration.'}
0 commit comments