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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -494,6 +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"Answer:",
498
  r"Provide a summarized and direct answer to the question.",
499
  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.",