Logging conversations with RedBot
Running a chat bot requires some caring, in particular you’re never done training it.
A good habit is to inspect the chat bot log searching for user sentences that were not recognized by the bot and then the parsers (Listen Node
, RiveScript Node
, etc) in order to support it.
In RedBot every platform receiver can log the conversation to a file, it looks like
The first string is the chatId followed by the name (if available). Then the symbol > means it’s an inbound message (from user to the chat bot).
There is also the Log Node
that produces a log string for every message that can be manipulated inside Node-RED (in case for example the log string should be sent to an external service).