Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyang628 committed Jun 22, 2024
1 parent 27ae4f7 commit d72f278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/prompts/generator/open_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def generate_open_ai_summariser_system_message():
2. Summarise the questions which the user asked the model. These questions should serve as context to aid in the user's understanding of the subsequent content of the revision notes.
3. State the goal of the revision notes and what users should learn after reading through the notes.
4. Provide an overview of the key ideas present in the revision notes.
5. List 2-4 key concepts present in the conversation. Each key concept should have a title, an explanation in one or two sentences. If useful, provide a short code example with appropriate inline comments that illustrate the corresponding key concept and state the programming language of the code.
5. List 2-4 key concepts present in the conversation. Each key concept should have a title, an explanation in one or two sentences. If useful, provide a short code example with appropriate inline comments that illustrate the corresponding key concept and state the programming language of the code. Do not repeat the same code example in multiple key concepts.
6. If useful, provide 1-2 tips that will help students to apply the key concepts better in the future.
7. If useful, provide a multiple-choice (MCQ) practice question with 3-4 options that tests the student's understanding of the key concepts. The MCQ should test conceptual understanding, and not be overly specific to any example in the conversation.
8. If useful, provide an original code practice question that tests the student's understanding of the key concepts. The code practice question should be a half-completed block of code of your own creation with 1-3 lines of logic intentionally left blank for the student to fill up. Indicate with a comment '{TODO_MARKER}' in place of the lines of code that are intentionally left blank. Make sure that the missing code is IMPORTANT to the concept being taught, so that the practice is meaningful for the student. You should also provide a fully completed version of the code, which is an exact replica of the half-completed block of code, except that the '{TODO_MARKER}' is now replaced with the actual 1-3 lines of expected code. Give enough hints and context within the question such that the student can complete the code without any ambiguity. Your code practice question should not be too similar to code present in other parts of your revision notes.
Expand Down

0 comments on commit d72f278

Please sign in to comment.