Hi guys. I have made a bot and have connected it to a mobile application using Aimybox. The stories are being followed and actions are also being triggered that are present in the actions.py file. The only problem is that the sql queries are not being executed.
Everything works perfectly fine on Rasa X. The queries too execute perfectly there. I would appreciate it if anyone could help. Thank you!
Hi @degiz . Sorry. What I meant was that when I deploy the bot using Rasa x in terminal it works fine. But when I deploy the bot on a mobile application or a webpage the search query does not execute. Itâll run the action in which the query should be executed but it doesnât execute the query.
âThe Restaurants in Location only:â is a flag in my custom action. So this shows its calling the function but unable to execute the getData() query right after the flag.
Its not specific to just this action, any action I run it wonât execute the getData query.
If I run a conversation on Rasa X it runs the query perfectly. Iâll attach my files down below. Iâm sorry I was unable to explain it properly before :(. Hopefully this makes my problem clearer. Thank you so much for taking out the time to help me!
What about sending response from the utter_message using text parameter? Right now youâre using json_message, and itâs a âfree custom textâ, that can be interpreted by your UI the way you want it.
Iâm not sure which UI youâre using (this chat window), but if you want to continue using json_message, then you have to make sure the UI understands that. If no, Iâd stick to text.