Hi guys! So I need to make changes in the user message before passing it to the nlu. Where should I make these changes? Actually, the use case is like. If I have2 companies using same bot and there are let’s say 1 module in my app named lead. But for…
company1- lead = hospitals company2 - lead = lead.
So when a user types.
q1. How many new hospitals found?
Then first i will get a module name for the user and match the module in the query. So now if a module matches with query like here “Hostpitals” == “Leads” …So I will change the hospital in query to lead and then pass to bot.
I can’t use synonyms because user keeps changing the module names. and I need something dynamic to match these.