BillBojangeles2000 commited on
Commit
b2cd0b7
1 Parent(s): 2382b56

Update app.py

Browse files

Added functionality for creating the code for quiz question choosing.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
7
 
8
 
9
  def format_prompt(message, history):
10
- system = "<|system|>\nYou are a helpful virtual assistant that answer user's question with easy to understand words.</s>\n"
11
  prompt = ""
12
  for user_prompt, bot_response in history:
13
  prompt += f"<|user|>\n{user_prompt}</s>\n"
 
7
 
8
 
9
  def format_prompt(message, history):
10
+ system = "<|system|>\nYour will be given a short quiz with questions. Your job is to choose 6 of these questions based on how good they are and if they make sense. To answer, simply just print out a 0 if you think that that question is not in the top 6, and 1 if you do think it is. Make sure to skip a line each number you output.</s>\n"
11
  prompt = ""
12
  for user_prompt, bot_response in history:
13
  prompt += f"<|user|>\n{user_prompt}</s>\n"