update message flow
Browse files- app/message_processor.py +1 -1
app/message_processor.py
CHANGED
|
@@ -258,7 +258,7 @@ class MessageProcessor:
|
|
| 258 |
return "Không tìm thấy kết quả phù hợp."
|
| 259 |
await self.facebook.send_message(message=get_random_message(FOUND_REGULATIONS_MESSAGES))
|
| 260 |
try:
|
| 261 |
-
reranked = await self.channel.reranker.rerank(question, matches, top_k=
|
| 262 |
if reranked:
|
| 263 |
# Gửi Facebook message sau khi hoàn thành
|
| 264 |
# Tạm comment đi để test
|
|
|
|
| 258 |
return "Không tìm thấy kết quả phù hợp."
|
| 259 |
await self.facebook.send_message(message=get_random_message(FOUND_REGULATIONS_MESSAGES))
|
| 260 |
try:
|
| 261 |
+
reranked = await self.channel.reranker.rerank(question, matches, top_k=10)
|
| 262 |
if reranked:
|
| 263 |
# Gửi Facebook message sau khi hoàn thành
|
| 264 |
# Tạm comment đi để test
|