Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,9 +28,14 @@ TEACHER_SYSTEM = "You write search-style questions that a passage directly answe
|
|
| 28 |
TEACHER_TEMPLATE = """You are given a passage. Write {n} questions that the passage directly answers.
|
| 29 |
|
| 30 |
Rules:
|
| 31 |
-
-
|
| 32 |
-
-
|
| 33 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
- Write the questions in {language}.
|
| 35 |
|
| 36 |
Return ONLY JSON: {{"questions": [{slots}]}}
|
|
|
|
| 28 |
TEACHER_TEMPLATE = """You are given a passage. Write {n} questions that the passage directly answers.
|
| 29 |
|
| 30 |
Rules:
|
| 31 |
+
- Every question MUST be answered explicitly by the passage.
|
| 32 |
+
- Do not combine facts from different parts of the passage.
|
| 33 |
+
- Do not infer or assume information.
|
| 34 |
+
- If a detail is not explicitly stated, do not ask about it.
|
| 35 |
+
- Use only facts that appear verbatim or are directly stated.
|
| 36 |
+
- Vary the question types: factual, yes/no, comparison, and why/how.
|
| 37 |
+
- Write naturally, like a real search query.
|
| 38 |
+
- Return ONLY valid JSON.
|
| 39 |
- Write the questions in {language}.
|
| 40 |
|
| 41 |
Return ONLY JSON: {{"questions": [{slots}]}}
|