After training my model I run a rasa shell nlu to check that my intent recognition and entities extraction go well, so far so good, all my intents are correctly recognized. However when running rasa shell, the intent is not recognized anymore and utter_default response is triggered.
What is the output of rasa --version for you? Do I understand you correctly: when you run rasa shell nlu and type hello you get intent greet with confidence > 0.99, but when you type the exact same hello in rasa shell --debug, you get a different intent or a different confidence?
The utter_default may just be triggered because Rasa doesn’t know what to do next, given the conversation history, even though the intent was classified correctly. In this case, you should add more stories to your training data, so Rasa can learn. You may also change settings of the fallback action: Fallback and Human Handoff
Hi @Chrisprollsite can you please provide more training examples in nlu.yml file? Hopefully your action server is running and you mention the action name in domain.yml file?
@Chrisprollsite Can you please uncommented polices in config.yml file please
policies:
# No configuration for policies was provided. The following default policies were used to train your model.
# If you'd like to customize them, uncomment and adjust the policies.
# See https://rasa.com/docs/rasa/policies for more information.
- name: MemoizationPolicy
- name: RulePolicy
- name: UnexpecTEDIntentPolicy
max_history: 5
epochs: 100
- name: TEDPolicy
max_history: 5
epochs: 100
constrain_similarities: true
Try train the model again. I hope this will solve you issue. Try delete all older models and re-train and run.
@nik202 , removing unexpecTEDpolicy from my config file did help to figure out the proper next action. As mentioned in the rasa doc, this feature is still under development
I am facing similar issues. I have correctly added intent in domain , nlu , stories but still some of my buttons doesn’t work , I have tried using the rasa interactive but still not much of help. I don’t know what is going on , the intent must be taken correctly as it is coming from the buttons itself . Please help