Spaces:
Build error
Build error
mphycx
commited on
Commit
•
a43ffec
1
Parent(s):
b85d554
fix summary language
Browse files
api.py
CHANGED
@@ -257,7 +257,7 @@ def generate_summary(gpt_model, openai_key):
|
|
257 |
"Cite each reference using [Page no.] notation (every result has this number at the beginning). "
|
258 |
"Citation should be done at the end of each sentence. "
|
259 |
"Give conclusion in the end. "
|
260 |
-
"Write
|
261 |
"Search results:\n\n"
|
262 |
)
|
263 |
for c in topn_chunks:
|
|
|
257 |
"Cite each reference using [Page no.] notation (every result has this number at the beginning). "
|
258 |
"Citation should be done at the end of each sentence. "
|
259 |
"Give conclusion in the end. "
|
260 |
+
"Write your response in the language of the search results. "
|
261 |
"Search results:\n\n"
|
262 |
)
|
263 |
for c in topn_chunks:
|