Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,7 @@ class QuestionAgent(Agent):
|
|
| 46 |
f"Generate a general knowledge question for a Q and A game. The player is at level {level}. "
|
| 47 |
f"Avoid repeating questions from this list: {history}. "
|
| 48 |
f"Do not include MCQs, only a single general knowledge question."
|
|
|
|
| 49 |
).content.strip()
|
| 50 |
if question and question not in history:
|
| 51 |
return question
|
|
|
|
| 46 |
f"Generate a general knowledge question for a Q and A game. The player is at level {level}. "
|
| 47 |
f"Avoid repeating questions from this list: {history}. "
|
| 48 |
f"Do not include MCQs, only a single general knowledge question."
|
| 49 |
+
f"Only include the question nothing else no any extra message"
|
| 50 |
).content.strip()
|
| 51 |
if question and question not in history:
|
| 52 |
return question
|