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