VietCat commited on
Commit
399dc64
·
1 Parent(s): 9deb6f2

update message flow

Browse files
Files changed (1) hide show
  1. app/message_processor.py +3 -3
app/message_processor.py CHANGED
@@ -342,7 +342,7 @@ class MessageProcessor:
342
  # tochucden = arr_to_str(match.get('tochucden'))
343
  # if tochuctu or tochucden:
344
  # full_result_text += f"\nTổ chức sẽ bị phạt tiền từ {tochuctu} VNĐ đến {tochucden} VNĐ"
345
- fullContent = (match.get('fullContent') or '').strip()
346
  full_result_text += f"{fullContent}"
347
  hpbsnoidung = arr_to_str(match.get('hpbsnoidung'), sep="; ")
348
  if hpbsnoidung:
@@ -367,7 +367,7 @@ class MessageProcessor:
367
  # tochucden = arr_to_str(top.get('tochucden'))
368
  # if tochuctu or tochucden:
369
  # top_result_text += f"\nTổ chức sẽ bị phạt tiền từ {tochuctu} VNĐ đến {tochucden} VNĐ"
370
- fullContent = (match.get('fullContent') or '').strip()
371
  top_result_text += f"{fullContent}"
372
  hpbsnoidung = arr_to_str(top.get('hpbsnoidung'), sep="; ")
373
  if hpbsnoidung:
@@ -412,7 +412,7 @@ class MessageProcessor:
412
  # tochucden = arr_to_str(match.get('tochucden'))
413
  # if tochuctu or tochucden:
414
  # fallback += f" - Tổ chức bị phạt tiền từ {tochuctu} VNĐ đến {tochucden} VNĐ\n"
415
- fullContent = (match.get('fullContent') or '').strip()
416
  fallback += f"{fullContent}"
417
  hpbsnoidung = arr_to_str(match.get('hpbsnoidung'), sep="; ")
418
  if hpbsnoidung:
 
342
  # tochucden = arr_to_str(match.get('tochucden'))
343
  # if tochuctu or tochucden:
344
  # full_result_text += f"\nTổ chức sẽ bị phạt tiền từ {tochuctu} VNĐ đến {tochucden} VNĐ"
345
+ fullContent = (match.get('fullcontent') or '').strip()
346
  full_result_text += f"{fullContent}"
347
  hpbsnoidung = arr_to_str(match.get('hpbsnoidung'), sep="; ")
348
  if hpbsnoidung:
 
367
  # tochucden = arr_to_str(top.get('tochucden'))
368
  # if tochuctu or tochucden:
369
  # top_result_text += f"\nTổ chức sẽ bị phạt tiền từ {tochuctu} VNĐ đến {tochucden} VNĐ"
370
+ fullContent = (match.get('fullcontent') or '').strip()
371
  top_result_text += f"{fullContent}"
372
  hpbsnoidung = arr_to_str(top.get('hpbsnoidung'), sep="; ")
373
  if hpbsnoidung:
 
412
  # tochucden = arr_to_str(match.get('tochucden'))
413
  # if tochuctu or tochucden:
414
  # fallback += f" - Tổ chức bị phạt tiền từ {tochuctu} VNĐ đến {tochucden} VNĐ\n"
415
+ fullContent = (match.get('fullcontent') or '').strip()
416
  fallback += f"{fullContent}"
417
  hpbsnoidung = arr_to_str(match.get('hpbsnoidung'), sep="; ")
418
  if hpbsnoidung: