Spaces:
Sleeping
Sleeping
Commit
·
4731465
1
Parent(s):
4b9317a
Update app.py
Browse files
app.py
CHANGED
@@ -109,8 +109,7 @@ def generate_answer(question,openAI_key):
|
|
109 |
for c in topn_chunks:
|
110 |
prompt += c + '\n\n'
|
111 |
|
112 |
-
prompt += "Instructions: Compose a
|
113 |
-
"Cite each reference using [ Page Number] notation (every result has this number at the beginning). "\
|
114 |
"Citation should be done at the end of each sentence. If the search results mention multiple subjects "\
|
115 |
"with the same name, create separate answers for each. Only include information found in the results and "\
|
116 |
"don't add any additional information. Make sure the answer is correct and don't output false content. "\
|
|
|
109 |
for c in topn_chunks:
|
110 |
prompt += c + '\n\n'
|
111 |
|
112 |
+
prompt += "Instructions: Compose a simple reply to the query using the search results given. "\
|
|
|
113 |
"Citation should be done at the end of each sentence. If the search results mention multiple subjects "\
|
114 |
"with the same name, create separate answers for each. Only include information found in the results and "\
|
115 |
"don't add any additional information. Make sure the answer is correct and don't output false content. "\
|