Spaces:
Build error
Build error
Update app.py (#1)
Browse files- Update app.py (973997b8cf1276b7c7a200ebbd19e63d75740ee8)
Co-authored-by: Parth Goel <[email protected]>
app.py
CHANGED
@@ -58,6 +58,7 @@ def create_true_false_prompt(num_questions, quiz_context, expertise):
|
|
58 |
You are an expert in {expertise}. Generate a quiz with {num_questions} true-false questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
59 |
|
60 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
|
|
61 |
|
62 |
The format of the quiz is as follows:
|
63 |
- True-false:
|
@@ -85,6 +86,7 @@ def create_open_ended_prompt(num_questions, quiz_context, expertise):
|
|
85 |
You are an expert in {expertise}. Generate a quiz with {num_questions} open-ended questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
86 |
|
87 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
|
|
88 |
|
89 |
The format of the quiz is as follows:
|
90 |
- Open-ended:
|
@@ -105,6 +107,7 @@ def create_fill_in_the_blank_prompt(num_questions, quiz_context, expertise):
|
|
105 |
You are an expert in {expertise}. Generate a quiz with {num_questions} fill-in-the-blank questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
106 |
|
107 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
|
|
108 |
|
109 |
The format of the quiz is as follows:
|
110 |
- Fill-in-the-blank:
|
@@ -128,6 +131,7 @@ def create_mixed_questions_prompt(num_questions, quiz_context, expertise):
|
|
128 |
You are an expert in {expertise}. Generate a quiz with exactly {num_questions} questions that include a random mix of multiple-choice, true-false, open-ended, and fill-in-the-blank questions relevant to {expertise} based on the following content: {quiz_context}.
|
129 |
|
130 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field. Ensure that the questions are randomly mixed among the different types.
|
|
|
131 |
|
132 |
The format of the quiz is as follows:
|
133 |
- Mixed Questions:
|
|
|
58 |
You are an expert in {expertise}. Generate a quiz with {num_questions} true-false questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
59 |
|
60 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
61 |
+
also add a blooms taxonomy skills with each question that is which question is generated on which blooms taxonomy.
|
62 |
|
63 |
The format of the quiz is as follows:
|
64 |
- True-false:
|
|
|
86 |
You are an expert in {expertise}. Generate a quiz with {num_questions} open-ended questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
87 |
|
88 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
89 |
+
also add a blooms taxonomy skills with each question that is which question is generated on which blooms taxonomy.
|
90 |
|
91 |
The format of the quiz is as follows:
|
92 |
- Open-ended:
|
|
|
107 |
You are an expert in {expertise}. Generate a quiz with {num_questions} fill-in-the-blank questions that are relevant to {expertise} based on the following content: {quiz_context}.
|
108 |
|
109 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field.
|
110 |
+
also add a blooms taxonomy skills with each question that is which question is generated on which blooms taxonomy.
|
111 |
|
112 |
The format of the quiz is as follows:
|
113 |
- Fill-in-the-blank:
|
|
|
131 |
You are an expert in {expertise}. Generate a quiz with exactly {num_questions} questions that include a random mix of multiple-choice, true-false, open-ended, and fill-in-the-blank questions relevant to {expertise} based on the following content: {quiz_context}.
|
132 |
|
133 |
The questions should be at the level of {expertise} and should challenge the knowledge of someone proficient in this field. Ensure that the questions are randomly mixed among the different types.
|
134 |
+
also add a blooms taxonomy skills with each question that is which question is generated on which blooms taxonomy.
|
135 |
|
136 |
The format of the quiz is as follows:
|
137 |
- Mixed Questions:
|