I keep getting this when I try to send JSON with utter_message…
File “/root/env/lib/python3.7/site-packages/rasa/core/channels/rocketchat.py”, line 84, in send_custom_json
text = json_message.pop(“text”)
AttributeError: ‘str’ object has no attribute ‘pop’
That worked! Thanks! Now, if I could only figure out how to get RocketChat to stop stripping HTML from my messages in LiveChat, I would be done with this project! Any ideas there?
Hm I would recommend either looking for support on livechat/rocketchat (not sure which one actually has the issue in this case), or searching for users who have posted about rocketchat in this forum and nicely asking if they’ve ever tried to add HTML to messages. I don’t think the greater Rasa community in general will know much about that specific issue!
Have you checked to see if HTML is even supported as a markup language in rocketchat/livechat? could be that they only support markdown or some custom format.