feat: dont make the image desc more than 4w
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -289,8 +289,8 @@ 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. Dont make your description
|
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.
|
296 |
|
|
|
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 exceed more than 4 words.
|
293 |
+
Use this format: [Picture: Image description]. Dont provide more than 3 [Picture: Image description]. Dont make the Image description exceed more than 4 words.
|
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.
|
296 |
|