i have tried to create a simple bot in order to use the roles. It is sometimes not picking the slots correctly. In fact in one instances it simply goes in a loop and keep saying “Please select the destination (To) app”.
Hi @utsuk.prani, The github link that you provided doesn’t work. Can you please provide small snippets of your stories and some of the relevant NLU data here for us to see. Going through the whole repository of the assistant can be time consuming. Thanks
Hi @dakshvar22 thanks for taking out time to help. I made the repo public now. It is very small repo. I believe you just need to see the stories, nlu nd actions files.
I have also added the verbose logs in the repo incase someone might want to see the details rasa was logging.
Hi @utsuk.prani, I just checked the data and the failed log. In the failed log you shared, your assistant is asking Please provide the destination (To) app. and you answered with CRM. In your training data you just list interfaces in combination with keywords like from or to. All your entities in your training data have a source or a destination role assigned. If you now simple provide CRM as user message, your assistant recognizes it as interface and also assigns a role to it as it does not know better. You should provide also some training data that just name an interface without any role. For example
- [CRM](app)
- [UFE](app)
Your assistant should then not assign a role label to your input CRM anymore. You also need to update your slot mapping to something like
hi @Tanja - thanks for your reply. really appreciate it.
i tried the changes you suggested in the following files (u can also see the changes in git).
nlu.md - added three new lines as you suggested for each app.
actions.py - updated as you suggested. corrected the syntax a bit as i guess some “,” were mislaced.
However, now when i run the flow it doesn’t seem to be asking for the dest at all. and it seems to be taking the input i gave for (To) app as both src and dest. You can refer to the new log files -
FAILED_run5_shell_command.log
FAILED_run5_actions.log
Please let me know if changes I made look OK and if there is anything else I should try.