cogcorp commited on
Commit
e72d584
·
1 Parent(s): ec3fe15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -95,6 +95,7 @@ def generate_answer(question, openAI_key):
95
 
96
  prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
97
  "Make sure the answer is correct and don't output false content. "\
 
98
  "Answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
99
 
100
  prompt += f"Query: {question}\nAnswer:"
 
95
 
96
  prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
97
  "Make sure the answer is correct and don't output false content. "\
98
+ "If you do not know the answer - answer "information not provided" "\
99
  "Answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
100
 
101
  prompt += f"Query: {question}\nAnswer:"