enonic / app-ai-chatbot

Other
0 stars 1 forks source link

Implement storage of chat log #6

Closed alansemenov closed 6 years ago

alansemenov commented 6 years ago

[{ "user": "/system/users/ase", "dateTime": "2018-03-18T20:15:13", "text": "Hello" }, { "user": "", // empty means message from the bot "dateTime": "2018-03-18T20:15:15", "text": "Hi, how can I help you?" }]


* Fetch and render existing log (if it exists) whenever a new chat starts