Commit
·
f1c39c5
1
Parent(s):
aa7bc0b
changes
Browse files- inclass_questions.py +3 -1
inclass_questions.py
CHANGED
@@ -29,7 +29,7 @@ def generate_interval_questions(context: str, num_questions: int) -> List[Dict]:
|
|
29 |
[
|
30 |
{{
|
31 |
"question_text": "Your question here",
|
32 |
-
"type": "mcq",
|
33 |
"options": ["option1", "option2", "option3", "option4"],
|
34 |
"correct_option": "correct answer",
|
35 |
"explanation": "brief explanation"
|
@@ -41,6 +41,8 @@ def generate_interval_questions(context: str, num_questions: int) -> List[Dict]:
|
|
41 |
- Test understanding of different aspects of the material
|
42 |
- For MCQ, include exactly 4 options
|
43 |
- Questions should build in complexity
|
|
|
|
|
44 |
|
45 |
Context: {context}
|
46 |
"""
|
|
|
29 |
[
|
30 |
{{
|
31 |
"question_text": "Your question here",
|
32 |
+
"type": "mcq OR short_answer",
|
33 |
"options": ["option1", "option2", "option3", "option4"],
|
34 |
"correct_option": "correct answer",
|
35 |
"explanation": "brief explanation"
|
|
|
41 |
- Test understanding of different aspects of the material
|
42 |
- For MCQ, include exactly 4 options
|
43 |
- Questions should build in complexity
|
44 |
+
- **MAKE SURE THE NUMBER OF SHORT ANSWER QUESTIONS ARE MORE THAN MCQS**
|
45 |
+
- **MAKE SURE THE NUMBER OF MCQS DOES NOT EXCEED 2**
|
46 |
|
47 |
Context: {context}
|
48 |
"""
|