I am trying to use Synonyms in Rasa Open Source. And I was facing issues.
Basically the examples I had in my intent of “search” were the following:
I want red
I need red
i’d like some apples
can i get some apples
So the synonyms I had for red were “magenta” and “crimson”
It would map magenta to the correct value as red but it would mess up the entity name.
I followed the code in rasaHQ github repo listed below