Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,9 +123,6 @@ def generate_answer(question):
|
|
123 |
prompt += c + '\n\n'
|
124 |
|
125 |
prompt += "Compose a comprehensive reply to the query using the search results given. "\
|
126 |
-
"Only include information found in the results and "\
|
127 |
-
"don't add any additional information. Make sure the answer is correct and don't output false content. "\
|
128 |
-
"If the text does not relate to the query, simply state 'Text Not Found in Body of Knowledge'. "\
|
129 |
"Only answer what is asked. "\
|
130 |
"Answer step-by-step. \n\nQuery: {question}\n Answer: "
|
131 |
|
|
|
123 |
prompt += c + '\n\n'
|
124 |
|
125 |
prompt += "Compose a comprehensive reply to the query using the search results given. "\
|
|
|
|
|
|
|
126 |
"Only answer what is asked. "\
|
127 |
"Answer step-by-step. \n\nQuery: {question}\n Answer: "
|
128 |
|