Graph component for Node error in Rasa 3.x version

issue : Error running graph component for node train_UnexpecTEDIntentPolicy2.

Hi, The rasa version i am using is

Rasa Version      :         3.0.8
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.0.4
Rasa X Version    :         None
Python Version    :         3.8.10
Operating System  :         Windows-10-10.0.19042-SP0

As i am new to rasa 3.x version working with graph component is something new to me . The nlu , domain and stories contain the normal data of some intents and their respective info. (As the structure of rasa 2.x and 3.x are similar in major terms ). I am just trying to train the data using rasa train command and end up with this error . The code works with rasa 2.x but in 3.x version throws this issue.

Welcome to the forum :slight_smile:

Please read How to ask a great question and try to ask your question again.

Help us help you. :slight_smile:

@shaikat_chakraborty can you share more information such as the rasa version and full error traceback? and please read the Chris mentioned link, it helps us a lot so that we can help you faster. Thanks.

1 Like

@nik202 Hi Updated the issue . could you please check .

@shaikat_chakraborty can you commented

- name: UnexpecTEDIntentPolicy

and re-train the model?

1 Like

@shaikat_chakraborty Is your issue resolved as I am having the same issue?

Hello @anshu03654 I had the same issue and commenting:

  • name: UnexpecTEDIntentPolicy

worked for me

As I commented the UnexpecTEDIntentPolicy, the ‘rasa train’ requested me to uncomment ‘RulePolicy’, and when I did that, it still shows the above problem.

Hi guys I have the same issue.

For me when I scrolled up it said “the below error is due to the above exception” referring to the UnexpecTED error, right above this statement was the real error which for me was a miss match in spelling between my domain and nlu

I have the same problem, I solved for a while when I changed these two numbers

max_history: 5

epochs: 100

later again this problem is appearing

rasa.engine.exceptions.GraphComponentException: Error running graph component for node train_UnexpecTEDIntentPolicy2.

Hello @Sammy887

remove the cache inside .rasa folder to fix this issue