Spaces:
Build error
Build error
Update app.py
#3
by
pgoel90
- opened
app.py
CHANGED
@@ -18,7 +18,6 @@ def create_multiple_choice_prompt(num_questions, quiz_context, expertise):
|
|
18 |
"""Create the prompt template for multiple-choice quiz."""
|
19 |
template = f"""
|
20 |
You are an expert in {expertise}. Generate a quiz with {num_questions} multiple-choice questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
21 |
-
|
22 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
23 |
For each question, also specify the Bloom's Taxonomy level it corresponds to, choosing from the following levels:
|
24 |
1. Remember
|
@@ -27,6 +26,7 @@ For each question, also specify the Bloom's Taxonomy level it corresponds to, ch
|
|
27 |
4. Analyze
|
28 |
5. Evaluate
|
29 |
6. Create
|
|
|
30 |
|
31 |
The format of the quiz is as follows:
|
32 |
- Multiple-choice:
|
@@ -72,6 +72,7 @@ For each question, also specify the Bloom's Taxonomy level it corresponds to, ch
|
|
72 |
4. Analyze
|
73 |
5. Evaluate
|
74 |
6. Create
|
|
|
75 |
|
76 |
The format of the quiz is as follows:
|
77 |
- True-false:
|
@@ -133,6 +134,7 @@ For each question, also specify the Bloom's Taxonomy level it corresponds to, ch
|
|
133 |
4. Analyze
|
134 |
5. Evaluate
|
135 |
6. Create
|
|
|
136 |
|
137 |
The format of the quiz is as follows:
|
138 |
- Fill-in-the-blank:
|
@@ -163,6 +165,7 @@ For each question, also specify the Bloom's Taxonomy level it corresponds to, ch
|
|
163 |
4. Analyze
|
164 |
5. Evaluate
|
165 |
6. Create
|
|
|
166 |
|
167 |
The format of the quiz is as follows:
|
168 |
- Mixed Questions:
|
|
|
18 |
"""Create the prompt template for multiple-choice quiz."""
|
19 |
template = f"""
|
20 |
You are an expert in {expertise}. Generate a quiz with {num_questions} multiple-choice questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
|
|
21 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
22 |
For each question, also specify the Bloom's Taxonomy level it corresponds to, choosing from the following levels:
|
23 |
1. Remember
|
|
|
26 |
4. Analyze
|
27 |
5. Evaluate
|
28 |
6. Create
|
29 |
+
(make sure you include all the levels)
|
30 |
|
31 |
The format of the quiz is as follows:
|
32 |
- Multiple-choice:
|
|
|
72 |
4. Analyze
|
73 |
5. Evaluate
|
74 |
6. Create
|
75 |
+
(make sure you include all the levels)
|
76 |
|
77 |
The format of the quiz is as follows:
|
78 |
- True-false:
|
|
|
134 |
4. Analyze
|
135 |
5. Evaluate
|
136 |
6. Create
|
137 |
+
(make sure you include all the levels)
|
138 |
|
139 |
The format of the quiz is as follows:
|
140 |
- Fill-in-the-blank:
|
|
|
165 |
4. Analyze
|
166 |
5. Evaluate
|
167 |
6. Create
|
168 |
+
(make sure you include all the levels)
|
169 |
|
170 |
The format of the quiz is as follows:
|
171 |
- Mixed Questions:
|