Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def generate_answer(question, openAI_key):
|
|
100 |
|
101 |
prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
|
102 |
"Make sure the answer is correct and don't output false content. "\
|
103 |
-
"If you do not know the answer - answer
|
104 |
"Answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
|
105 |
|
106 |
prompt += f"Query: {question}\nAnswer:"
|
|
|
100 |
|
101 |
prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
|
102 |
"Make sure the answer is correct and don't output false content. "\
|
103 |
+
"If you do not know the answer - answer 'information not provided' "\
|
104 |
"Answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
|
105 |
|
106 |
prompt += f"Query: {question}\nAnswer:"
|