Shreyas094 commited on
Commit
31d05b9
·
verified ·
1 Parent(s): 5bf65ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -494,7 +494,7 @@ def extract_answer(full_response, instructions=None):
494
  answer_patterns = [
495
  r"Provide a concise and direct answer to the question without mentioning the web search or these instructions:",
496
  r"Provide a concise and direct answer to the question:",
497
- r"Provide a concise and relevant answer to the question.",
498
  r"Answer:",
499
  r"Provide a summarized and direct answer to the question.",
500
  r"If the context doesn't contain relevant information, state that the information is not available in the document.",
 
494
  answer_patterns = [
495
  r"Provide a concise and direct answer to the question without mentioning the web search or these instructions:",
496
  r"Provide a concise and direct answer to the question:",
497
+ r"Provide a concise and relevant answer to the question:",
498
  r"Answer:",
499
  r"Provide a summarized and direct answer to the question.",
500
  r"If the context doesn't contain relevant information, state that the information is not available in the document.",