From 9a12c39d3f6738b24117fee4f210849824fb937a Mon Sep 17 00:00:00 2001 From: = Enea_Gore Date: Thu, 23 Jan 2025 08:41:37 +0100 Subject: [PATCH] helpful prompts --- modules/text/module_text_llm/module_text_llm/__main__.py | 3 ++- .../few_shot_chain_of_thought_approach/prompt_thinking.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/text/module_text_llm/module_text_llm/__main__.py b/modules/text/module_text_llm/module_text_llm/__main__.py index f130decc..d85d9a4f 100644 --- a/modules/text/module_text_llm/module_text_llm/__main__.py +++ b/modules/text/module_text_llm/module_text_llm/__main__.py @@ -54,7 +54,8 @@ async def suggest_feedback(exercise: Exercise, submission: Submission, is_graded module_config.approach = FewShotChainOfThoughtConfig() return await generate_suggestions(exercise, submission, module_config.approach, module_config.debug, is_graded) - + module_config.approach = FewShotChainOfThoughtConfig() + return await generate_suggestions(exercise, submission, module_config.approach, module_config.debug, is_graded) diff --git a/modules/text/module_text_llm/module_text_llm/few_shot_chain_of_thought_approach/prompt_thinking.py b/modules/text/module_text_llm/module_text_llm/few_shot_chain_of_thought_approach/prompt_thinking.py index d20a0102..9bd6a787 100644 --- a/modules/text/module_text_llm/module_text_llm/few_shot_chain_of_thought_approach/prompt_thinking.py +++ b/modules/text/module_text_llm/module_text_llm/few_shot_chain_of_thought_approach/prompt_thinking.py @@ -149,6 +149,8 @@ }} # End of Examples Remember to be extra caution and careful not to reveal the solution. Your feedback should be constructive and helpful to guide and encourage the student to improve, but without telling them what to write. +You are allowed to use the examples above as inspiration, but make sure to adapt them to the student's submission. Furthermore, you may deviate on the feedback content in order to be more assisting to the student. +You may also explain things which the student seem to have misconceptions about. However you should not give away the solution. # Your Assessment Now its your turn. Here is student the submission (with sentence numbers : ): \"\"\"