Greg Thompson commited on
Commit
a9b208c
1 Parent(s): 6335789

Update with print statements for testing

Browse files
mathtext_fastapi/conversation_manager.py CHANGED
@@ -78,6 +78,12 @@ def generate_message(data_json):
78
  whatsapp_id = message_data['message']['_vnd']['v1']['chat']['owner'].replace("+","")
79
  user_message = message_data['message']['text']['body']
80
 
 
 
 
 
 
 
81
  if user_message == '' and context_data['state'] == 'start-conversation':
82
  message_package = {
83
  'messages': [],
 
78
  whatsapp_id = message_data['message']['_vnd']['v1']['chat']['owner'].replace("+","")
79
  user_message = message_data['message']['text']['body']
80
 
81
+ print("===============")
82
+ print("context_data")
83
+ print(context_data)
84
+ print("===============")
85
+
86
+
87
  if user_message == '' and context_data['state'] == 'start-conversation':
88
  message_package = {
89
  'messages': [],