mphycx commited on
Commit
a43ffec
1 Parent(s): b85d554

fix summary language

Browse files
Files changed (1) hide show
  1. api.py +1 -1
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 summary in the same language as the search results. "
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: