I have been trying to deploy my Rasa chatbot, but it is not responding when I write something to it on my website. I am programming the chatbot in Visual Studio Code, and it works perfectly there. I designed a script with a widget, which I have included in an index.html file, and I can interact with the widget. However, the chatbot never responds or it responds with 'undefined'. It could be a server issue, but I'm not sure since I don't have much knowledge in this area.
Has anyone successfully deployed a bot with a script on localhost? I am aware of Rasa webchat, but my Rasa version is not compatible with it, and I don't know what I'm doing wrong. :(
I have tried designing a script with a widget to write and send messages. I have tested it, and it works, but the bot doesn't respond or, when it does, it always responds with 'undefined'. I have added that script to my HTML page and tried to connect it to a localhost server. I started the server and verified that it was up and connected to Rasa, but it didn't respond to anything I typed. Does anyone have an example of a bot deployed locally?