Synonyms in Rasa

I have an entity named ‘OS’. The model is able to extract the entity.

User can write the name of his OS in anyway, lets say mac, macOS, macbook. No matter in whichever the user writes the OS name, I want the value of the entity ‘OS’ as simply ‘Mac’, how can I do this in rasa?

Thanks in advance

Hi @arushi,

You can create a synonym in your nlu.yml.

For example:

image

You can read more about it here:

I hope this answers your question.

yeah, great. Thanks for the help.

@arushi

No problem :wink: