Omkar008 commited on
Commit
65deffd
·
verified ·
1 Parent(s): a50e7bc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -65,6 +65,9 @@ async def process_batch_data(batch_id: str):
65
  user_id = id[1]
66
  email = id[2]
67
  output = json.loads(resp.get('response').get('body').get('choices')[0].get('message').get('content'))
 
 
 
68
  supa_data.append(output)
69
 
70
  print("Printing the the data")
 
65
  user_id = id[1]
66
  email = id[2]
67
  output = json.loads(resp.get('response').get('body').get('choices')[0].get('message').get('content'))
68
+ output['message_id'] = message_id
69
+ output['user_id'] = user_id
70
+ output['email'] = email
71
  supa_data.append(output)
72
 
73
  print("Printing the the data")