When you create dialog it matches the utterances in the intent created in the LUIS application.
To extract the entity from the user utterances we have to use LuisRecognizer.recognize()
To find the entities present in the user utterances Entity Recognizer methods are used.
The best way to recognize entity is below:
builder.LuisRecognizer.recognize(session.message.text, '<model-url>', function(err, intents, entities){ if(entities){ var entityname = builder.EntityRecognizer.findEntity(entities, 'TYPE'); //do something with entity } }