cogcorp commited on
Commit
51cb0cc
·
1 Parent(s): 15e8c54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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