Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
3da3108
1
Parent(s):
497ca1b
Update app.py
Browse files
app.py
CHANGED
@@ -192,6 +192,19 @@ def search(prompt: str):
|
|
192 |
|
193 |
|
194 |
template = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
Given the following information, answer the question.
|
196 |
|
197 |
Context:
|
|
|
192 |
|
193 |
|
194 |
template = """
|
195 |
+
Với thông tin sau, hãy trả lời câu hỏi.
|
196 |
+
|
197 |
+
Bối cảnh: {% for document in documents %}
|
198 |
+
|
199 |
+
{{ document.content }}
|
200 |
+
{% endfor %}
|
201 |
+
|
202 |
+
Câu hỏi: {{ question }}
|
203 |
+
|
204 |
+
Trả lời:
|
205 |
+
"""
|
206 |
+
#######################################################
|
207 |
+
""""
|
208 |
Given the following information, answer the question.
|
209 |
|
210 |
Context:
|