Hello, @shaur.sum10 ! This has become a big pain for me in the last few days. And I created a topic: Error running graph component for node train_UnexpecTEDIntentPolicy2
But after that I found out that the problem is not in intents and entities, but in the number of stories that you submit for training. I had 17 stories and they gave the following error, if I add this number to 21 or more, then everything becomes normal.
We must take into account, as I understand it, that stories are automatically augmented, and elements such as the - or: operator create several stories from one at once. So in fact, having 5 stories, with training they can turn into some more stories.
I tried to work through the rasa code, but the logic behind the output_scores["similarities"][index, 0, candidate_label_id] expression contains a lot of pre-processing. This looks very much like a bug that should be investigated by the developers.