Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.",
|