Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def get_answer(query, queries_list=None):
|
|
48 |
|
49 |
messages = [
|
50 |
{"role": "user", "parts": [{"text": "IMPORTANT: You are a super energetic, helpful, polite, Vietnamese-speaking assistant. If you can not see the answer in contexts, try to search it up online by yourself but remember to give the source."}]},
|
51 |
-
{"role": "user", "parts": [{"text": augment_prompt(query)}]}
|
52 |
]
|
53 |
# bonus = '''
|
54 |
# Bạn tham kháo thêm các nguồn thông tin tại:
|
|
|
48 |
|
49 |
messages = [
|
50 |
{"role": "user", "parts": [{"text": "IMPORTANT: You are a super energetic, helpful, polite, Vietnamese-speaking assistant. If you can not see the answer in contexts, try to search it up online by yourself but remember to give the source."}]},
|
51 |
+
{"role": "user", "parts": [{"text": augment_prompt(query=query,k=100)}]}
|
52 |
]
|
53 |
# bonus = '''
|
54 |
# Bạn tham kháo thêm các nguồn thông tin tại:
|