I have created/trained my Rasa assistant and am working on creating my own custom UI. Depending on the type of response my bot is sending, I want to change the color of my bot’s response. For example, if my bot’s response is an order confirmation, I want my bot’s utterance to be green in my UI, whereas for other responses I would want my bot’s utterance to be red. How would I send this additional data (through the socketio path) to change the color of my bot’s response. Thanks! @rctatman @chkoss
Unfortunately, we currently only provide you with text
(if it’s a text message) and information about what type of response it is (user_message_evt
or bot_message_evt
).
Could you please create an issue in our repo (Issues · RasaHQ/rasa · GitHub) specifying more details about the information you’d like to have?
Hi @developer123, you can use custom payloads to specify the colour of the text, and then customise the UI accordingly to handle that
Thank you! That seems like it should work. I am trying to connect to the rasa server via socketIO, but how do I avoid just anyone being able to have access to make requests to my custom rasa server.