How to make a good response

How should I code it if I want to detect the entities of the user’s words and send the appropriate map link to the building? Do I need to modify domain.yml?

example: user : Where is the building N14(building’s number) bot : N14’s map link : https://~~

1 Like

Hello @Evergyu

Yes, you will have to modify the domain file to your needs. If your bot should recognize building names, then you will need a building entity that the bot should pick up when the user says it; probably also a building slot to store what the user has entered for future reference, and finally, you could write a lookup table for all the buildings and add it to your NLU data.