Spaces:
Paused
Paused
Commit
·
42cc103
1
Parent(s):
b8aa43a
prompt fixing
Browse files
app.py
CHANGED
|
@@ -178,13 +178,12 @@ Câu trả lời tôi muốn nhận được: Đối với hệ đại trà ngo
|
|
| 178 |
}
|
| 179 |
]
|
| 180 |
history = retrieve_conversation(conversation_id)
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
"content": c["a"] })
|
| 188 |
if cid:
|
| 189 |
messages.append({
|
| 190 |
"role": "user",
|
|
|
|
| 178 |
}
|
| 179 |
]
|
| 180 |
history = retrieve_conversation(conversation_id)
|
| 181 |
+
messages.append({
|
| 182 |
+
"role": "user",
|
| 183 |
+
"content": history[-1]["q"]})
|
| 184 |
+
messages.append({
|
| 185 |
+
"role": "assistant",
|
| 186 |
+
"content": history[-1]["a"] })
|
|
|
|
| 187 |
if cid:
|
| 188 |
messages.append({
|
| 189 |
"role": "user",
|