mudassir032 commited on
Commit
ef526b0
·
verified ·
1 Parent(s): 7e3c169

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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