williamagyapong commited on
Commit
617c9c2
·
verified ·
1 Parent(s): 4870971

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -92,8 +92,8 @@ def respond(query_str: str):
92
 
93
  def process_user_msg(message, mobile):
94
  response = str(generateResponse(message))
95
- return None, None, response
96
  parsed_trans_data = parse_multiple_transactions(response)
 
97
  logging.info(f"\nAnswer: {response}\n")
98
 
99
  intent = parsed_trans_data[0]['intent'].lower()
 
92
 
93
  def process_user_msg(message, mobile):
94
  response = str(generateResponse(message))
 
95
  parsed_trans_data = parse_multiple_transactions(response)
96
+ return None, parsed_trans_data, response
97
  logging.info(f"\nAnswer: {response}\n")
98
 
99
  intent = parsed_trans_data[0]['intent'].lower()