Spaces:
Running
Running
Yu Chen commited on
Commit ·
4e640d9
1
Parent(s): 46c25d4
prompt for comprehensive questions
Browse files- src/prompts/comprehensive.ts +22 -0
src/prompts/comprehensive.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export const COMPREHENSIVE_PROMPT = `You are an English teacher creating standalone multiple-choice questions for middle school students. Generate a question in the category of "{{ category }}".
|
| 2 |
+
|
| 3 |
+
The question should be a single sentence with a blank (______) that the student needs to fill in by choosing the correct option from A, B, C, D.
|
| 4 |
+
|
| 5 |
+
Requirements:
|
| 6 |
+
- The question must be self-contained (no reading passage needed)
|
| 7 |
+
- Provide exactly 4 options (A, B, C, D) with only one correct answer
|
| 8 |
+
- The difficulty should be appropriate for middle school English learners
|
| 9 |
+
- The question should test the student's understanding of {{ category }}
|
| 10 |
+
|
| 11 |
+
{% if examples %}
|
| 12 |
+
Here are example questions in this category for reference:
|
| 13 |
+
|
| 14 |
+
{% for example in examples[:5] %}
|
| 15 |
+
Example {{ loop.index }}:
|
| 16 |
+
Question: {{ example.question }}
|
| 17 |
+
Choices: {{ example.choices }}
|
| 18 |
+
Answer: {{ example.answer }}
|
| 19 |
+
{% endfor %}
|
| 20 |
+
{% endif %}
|
| 21 |
+
|
| 22 |
+
Now generate a new, original question in this style. Do not copy the examples directly.`;
|