On rasa shell, I am not getting right response from bot - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

👋 Introducing the Rasa Playground

On rasa shell, I am not getting right response from bot

post by surajsonee on Jan 14, 2020

surajsonee
I have created rasa project using rasa init and added some actions and intent in domain.yml and nlu.md also created story. training is successfully done, but when i run rasa using shell it gives me wrong response.

latest rasa version.

This is my stories.md file:

happy path

sad path 1

sad path 2

say goodbye

bot challenge

cypha app

nlu.md file:

intent:greet

intent:goodbye

intent:affirm

intent:deny

intent:mood_great

intent:mood_unhappy

intent:bot_challenge

intent:cypha_app

domain.yml file:

intents:

actions:

templates: utter_greet:

utter_cheer_up:

utter_did_that_help:

utter_happy:

utter_goodbye:

utter_iamabot:

session_config: session_expiration_time: 60 carry_over_slots_to_new_session: true

post by Juste on Jan 15, 2020

Juste Hi @surajsonee. First of all, great job on describing the situation and providing the files - it made it very easy to investigate and replicate the project!

I think the main reason why your bot behaves in a bit unpredictable way is because you don’t have any stories which include cypha_app intent apart from that short one called “cypha app”. By default, Rasa augments your training data by putting together the stories you have in your training data file, that’s why your assistant didn’t completely fail, but you shouldn’t rely on data augmentation to teach your assistant to handle important dialogue turns. I would suggest adding at least one longer training story which would include cypha_app intent. For example:

* greet
 - utter_greet
* cypha_app
 - action_recording
...

Another thing - in the conversation you had with your assistant you said “Ok, great”. This message will most likely be classified as “mood_great” since you don’t have any other intent to capture thank you’s and similar inputs. This very likely also messes up the predictions as well. I would suggest creating an intent “thank you” for that or something similar and adjust the stories accordingly.

Thank you!