Rasa Synonyms

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

Can someone help?

Can you provide your intent and synonym definitions? Is every synonym example also used as an example in the intent?

No I only listed down the synonyms, as below:

  • synonym: Red
  • Red
  • red
  • Rosy red
  • Wine red
  • Rust red
  • Tomato red
  • Indian red
  • Cardinal red
  • Cranberry red
  • Magenta
  • Maroon
  • Cherry
  • Ruby
  • Crimson
  • Scarlet

I only used “red” in the examples in the intent. Not its synonyms