Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
"
|
30 |
-
"
|
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"]
|