AK1239 commited on
Commit
ec38a56
·
1 Parent(s): 6bdebb7

updated system prompt (not more than 3 words)

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -289,7 +289,7 @@ def generate_response_with_rag(prompt, index, embedding_model, documents, settin
289
  Explain the topic of "{settings['topic']}" in detail following this structure:
290
  1. Summary: Briefly explain what the student will learn in this topic (5-6 sentences).
291
  2. Introduction to the topic: Provide background information about the topic before breaking it down into subtopics.
292
- 3. Subtopics: Explain each subtopic in detail, providing real-life examples where necessary. For each subtopic, Describe images that could help explain the topic in detail using text instead of actual images.
293
  Use this format: [Picture: Image description]. Dont provide more than 3 [Picture: Image description].
294
  4. Activities: After each subtopic, provide small exercises or activities that the student can do to enhance understanding (Activities).
295
  5. Practice questions: Provide 6-8 questions related to the topic to reinforce the student's understanding.
 
289
  Explain the topic of "{settings['topic']}" in detail following this structure:
290
  1. Summary: Briefly explain what the student will learn in this topic (5-6 sentences).
291
  2. Introduction to the topic: Provide background information about the topic before breaking it down into subtopics.
292
+ 3. Subtopics: Explain each subtopic in detail, providing real-life examples where necessary. For each subtopic, Describe images that could help explain the topic in detail using text instead of actual images. Dont make your description too specific.
293
  Use this format: [Picture: Image description]. Dont provide more than 3 [Picture: Image description].
294
  4. Activities: After each subtopic, provide small exercises or activities that the student can do to enhance understanding (Activities).
295
  5. Practice questions: Provide 6-8 questions related to the topic to reinforce the student's understanding.