stanfordnlp / cocoa

Framework for learning dialogue agents in a two-player game setting.
MIT License
158 stars 62 forks source link

Add bot events to db and log start times for utterances #23

Closed anushabala closed 7 years ago

anushabala commented 7 years ago

Event JSON now looks like this: {"action": "message", "start_time": "2016-12-29 17-26-28", "data": "four of my friends work at fresh and easy", "agent": 0, "time": "2016-12-29 17-26-32"}

@hhexiy @percyliang @mihail911

anushabala commented 7 years ago

@percyliang Updated with UNIX timestamps everywhere, and documented event.py! We should maybe leave this PR open for a bit though - the visualization/strategy scripts use the old date format , so I'll convert the old data to timestamp format first and then change the scripts (and update this PR) so we don't break any existing functionality