binh99 commited on
Commit
78fff24
·
1 Parent(s): 7cac12b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -26,12 +26,10 @@ def add_details(lst):
26
 
27
 
28
  prompt_template = "Instructions: Compose a comprehensive reply to the query using the search results given. " \
29
- "Cite each reference using [number] notation (every result has this number at the beginning). "\
30
- "Citation should be done at the end of each sentence. If the search results mention multiple subjects " \
31
  "with the same name, create separate answers for each. Only include information found in the results and " \
32
  "don't add any additional information. Make sure the answer is correct and don't output false content. " \
33
- "Ignore outlier search results which has nothing to do with the question. Only answer what is asked. " \
34
- "The answer should be short and concise. \n\nQuery: {question}\nAnswer: "
35
 
36
  # MODELS = ["universal-sentence-encoder", "instructor-large"]
37
  MODELS = ["text-davinci-001", "text-davinci-002", "text-davinci-003"]
 
26
 
27
 
28
  prompt_template = "Instructions: Compose a comprehensive reply to the query using the search results given. " \
29
+ "Make sure to cite results using [number] notation after the reference. " \
30
+ "If the search results mention multiple subjects " \
31
  "with the same name, create separate answers for each. Only include information found in the results and " \
32
  "don't add any additional information. Make sure the answer is correct and don't output false content. " \
 
 
33
 
34
  # MODELS = ["universal-sentence-encoder", "instructor-large"]
35
  MODELS = ["text-davinci-001", "text-davinci-002", "text-davinci-003"]