I have migrated from RASA v7 to v12 and am having difficulties in figuring out how to host my dialouge model and interpreter on a server that can interface with my HTML front end.
My earlier approach for custom actions was to use Klein to create a Python API wrapper for each custom action and then serve the app on a designated IP and port that I could connect to via Java Script on the Front End. The run code is shown below:
if name == “main”: server = Server(“models/dialogue”, RasaNLUInterpreter("./models/nlu/default/nlu_model")) server.app.run(“0.0.0.0”, 8080)
I am currently using JustinaPetr’s WeatherBot (GitHub - JustinaPetr/Weatherbot_Tutorial) tutorial as a guide.
Any help would be much appreciated.
Thanks & Regards, Leon