Rasa Form Categorical Entity

I think you can write below synonyms snippet to your nlu.md file

Suppose you get entities like “fly”, “go on air” etc when users intention is to go by plane then you can add

synonym:plane

  • fly
  • go on air
  • aeroplane
  • chopper
  • flying
  • above the ground
  • flight

synonym:bicycle

  • bike ride
  • two wheeler
  • scooty
  • scooter
  • sports bike
  • cylce

then in your training messages add formatted messages as shown

below

intent:plane

intent:bicycle

Note: I assume you know how to tag entity to word

[word] (entity name) don’t add space here between [word] and (entity name)

then train your rasa and test I hope it gonna work.

1 Like