How can i add synonyms to the entities present in my look-up table?

How can i add synonyms to the entities present in my look-up table? @nik202 could you please help me with providing the format of adding the synonyms inside my lookup table. (in rasa version 3)

nlu:
 - lookup: city
   examples: |
   - new york
   - mumbai
   - seoul

I want to add ‘NYC’ as a synonym for ‘New york’ and ‘Bombay’ as a synonym for ‘Mumbai’. Where exactly can i add the synonyms?

@Meenu1 please see this example: NLU Training Data | Training Data Format

I guess you need to create one synonym for one example. NYC → New York etc

Train the NLU model with examples as it will fetch the entity based on training examples approx 10+ will be ideal.

I wish this will solve your issue and good luck. Best N

1 Like

Okay thankyou very much, i now got it

@Meenu1 no worries, happy to help you! Good Luck with your project.