Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
57fa775
1
Parent(s):
55ecb25
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def generate_answer(question,openAI_key):
|
|
121 |
prompt += c + '\n\n'
|
122 |
|
123 |
prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
|
124 |
-
"Cite each reference using [
|
125 |
"Citation should be done at the end of each sentence. If the search results mention multiple subjects "\
|
126 |
"with the same name, create separate answers for each. 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. "\
|
|
|
121 |
prompt += c + '\n\n'
|
122 |
|
123 |
prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
|
124 |
+
"Cite each reference using [ Page Number] notation (every result has this number at the beginning). "\
|
125 |
"Citation should be done at the end of each sentence. If the search results mention multiple subjects "\
|
126 |
"with the same name, create separate answers for each. 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. "\
|