williamagyapong commited on
Commit
c744b6e
·
verified ·
1 Parent(s): 5dd7fbf

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -112,6 +112,8 @@ def process_user_msg(message, mobile):
112
  response = str(generateResponse(message))
113
  parsed_trans_data = parse_multiple_transactions(response)
114
  # return None, parsed_trans_data, response
 
 
115
  logging.info(f"\nAnswer: {response}\n")
116
  intent = parsed_trans_data[0]['intent'].lower()
117
  if intent == 'read':
 
112
  response = str(generateResponse(message))
113
  parsed_trans_data = parse_multiple_transactions(response)
114
  # return None, parsed_trans_data, response
115
+ messenger.send_message(f"{response} \n\n {parsed_trans_data}")
116
+
117
  logging.info(f"\nAnswer: {response}\n")
118
  intent = parsed_trans_data[0]['intent'].lower()
119
  if intent == 'read':