Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def get_answer(query, queries_list=None):
|
|
| 43 |
queries_list = []
|
| 44 |
|
| 45 |
messages = [
|
| 46 |
-
{"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, tell user to make a more detailed question.
|
| 47 |
{"role": "user", "parts": [{"text": augment_prompt(query=query, k=20)}]}
|
| 48 |
]
|
| 49 |
|
|
|
|
| 43 |
queries_list = []
|
| 44 |
|
| 45 |
messages = [
|
| 46 |
+
{"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, tell user to make a more detailed question."}]},
|
| 47 |
{"role": "user", "parts": [{"text": augment_prompt(query=query, k=20)}]}
|
| 48 |
]
|
| 49 |
|