Greg Thompson commited on
Commit
4f0ace0
1 Parent(s): 36bf77a

Update variable name

Browse files
Files changed (1) hide show
  1. mathtext_fastapi/nlu.py +1 -1
mathtext_fastapi/nlu.py CHANGED
@@ -149,7 +149,7 @@ def evaluate_message_with_nlu(message_data):
149
  # Run intent classification only for keywords
150
  intent_api_response = run_intent_classification(message_text)
151
  if intent_api_response['data']:
152
- prepare_message_data_for_logging(message_data, nlu_response)
153
  return intent_api_response
154
 
155
  number_api_resp = text2int(message_text.lower())
 
149
  # Run intent classification only for keywords
150
  intent_api_response = run_intent_classification(message_text)
151
  if intent_api_response['data']:
152
+ prepare_message_data_for_logging(message_data, intent_api_response)
153
  return intent_api_response
154
 
155
  number_api_resp = text2int(message_text.lower())