Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def get_answer(query, queries_list=None):
|
|
| 43 |
|
| 44 |
messages = [
|
| 45 |
{"role": "user", "parts": [{"text": "IMPORTANT: You are a super helpful, polite, Vietnamese-speaking assistant to give information of an university. If you cannot see the answer in contexts, try to search it up online by yourself OR tell user to make a more detailed question."}]},
|
| 46 |
-
{"role": "user", "parts": [{"text": augment_prompt(query=query, k=
|
| 47 |
]
|
| 48 |
|
| 49 |
queries_list.append(query)
|
|
|
|
| 43 |
|
| 44 |
messages = [
|
| 45 |
{"role": "user", "parts": [{"text": "IMPORTANT: You are a super helpful, polite, Vietnamese-speaking assistant to give information of an university. If you cannot see the answer in contexts, try to search it up online by yourself OR tell user to make a more detailed question."}]},
|
| 46 |
+
{"role": "user", "parts": [{"text": augment_prompt(query=query, k=100)}]}
|
| 47 |
]
|
| 48 |
|
| 49 |
queries_list.append(query)
|