I am working on a rasa chatbot. For training the chatbot, I added all the training data to the
nlu.md file. I added the stories to the
stories.md file. I configured the
domain.yml file and I also created a few custom actions that the bot should run when the user asks a particular question. Now I trained the chatbot using the
rasa train command. This created a zipped file inside the
I am now trying to add speech recognition to the chatbot. for this I am using the
SpeechRecognition library in python and google’s
speech to text API.
I want the converted text from the
google STT as user input to the trained rasa model. As of now, I am only able to use the trained model inside
rasa shell or
rasa x. But I am creating a web UI for the chatbot with
django, and along with the speech recognition part of the code, I would like to call the trained rasa model from the custom code.
How do I do that?
What happens to the actions server when calling the model from my own custom code, and will the bot be able to follow the flow as specified in the stories with which I trained the model?