Hi rasa community,
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.
Find below the result of
rasa shell nlu:
Any idea how to modify this behavior so my intent is recognized?
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
rasa shell --debug, you get a different intent or a different confidence?
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
Yes that is exactly, nlu intent is correct but it seems the next action isn’t triggered properly, maybe it also has something to do with TED policy:
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 please do share the config.yml file
Yes, all actions are mentioned in my domain.yml. Please find attached my nlu.yml and config.yml file
config.yml (1.7 KB)
nlu.yml (7.7 KB)
@Chrisprollsite Can you please uncommented polices in config.yml file please
# 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
- name: TEDPolicy
Try train the model again. I hope this will solve you issue. Try delete all older models and re-train and run.
@Chrisprollsite please share the domain.yml file ?
Will retrain the model with uncommented policies, meanwhile here is my domain file domain.yml (2.7 KB)
@Chrisprollsite please check this for use_entities : Domain
mmmh, weird behavior, I specifically ignored “areaName” for intent “getData” but it still extracts “areaName” when running the model:
@Chrisprollsite delete older model please.
@nik202 I removed all other models and rasa loads properly the right model (the latest trained). And it still doesn’t work
@Chrisprollsite Is it working? I not get you.
@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
@Chrisprollsite Great! please close this thread as a solution for others.
@Chrisprollsite I am always happy, its good my suggestion helped you. Enjoy rasa!
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