Improved fixing prompt
Browse files- config/templates.py +2 -2
config/templates.py
CHANGED
|
@@ -256,11 +256,11 @@ template_fix_exercise = ChatPromptTemplate(
|
|
| 256 |
(
|
| 257 |
"system",
|
| 258 |
"You are a helpful assistant that fixes issues in a single multiple choice exercise "
|
| 259 |
-
"based on diagnosis notes. Return
|
| 260 |
),
|
| 261 |
(
|
| 262 |
"user",
|
| 263 |
-
"Original exercise:\n{exercise_text}\n\nDiagnosis:\n{diagnosis}\n\n"
|
| 264 |
"Rewrite the exercise so that all issues in the diagnosis are resolved. "
|
| 265 |
"Use the same structure (prompt, choice_id_1..4, correct_answer_id, explanation)."
|
| 266 |
),
|
|
|
|
| 256 |
(
|
| 257 |
"system",
|
| 258 |
"You are a helpful assistant that fixes issues in a single multiple choice exercise "
|
| 259 |
+
"based on diagnosis notes. Return an improved exercise that has the same amount of answer options as the original, and the same correct answer. For example, if the correct answer is 'Deze stelling is niet correct', then this must remain the correct answer."
|
| 260 |
),
|
| 261 |
(
|
| 262 |
"user",
|
| 263 |
+
"Original exercise:\n{exercise_text}\n\nDiagnosis:\n{diagnosis}\n\n" # this is the scorecard summary, ideally I guess this would be the complete diagnoses of all issues
|
| 264 |
"Rewrite the exercise so that all issues in the diagnosis are resolved. "
|
| 265 |
"Use the same structure (prompt, choice_id_1..4, correct_answer_id, explanation)."
|
| 266 |
),
|