Monday, 3 April 2017

Botframework findEntity() issue

I've encountered a strange problem. Originally I had this to get my entity and it works correctly.

x = builder.EntityRecognizer.findEntity(args.entities, 'get_x');

However, for some reason I can't seem to figure out why, it stopped working and I had to change it to adding an additional intent to get it to work again.

x = builder.EntityRecognizer.findEntity(args.intent.entities, 'get_x');

I was changing one of my intents on LUIS when I think this started to happen. Then I immediately undo all the changes to that intent, however all my intents were somehow affected to that as I need to add another additional intent to my entities parameter of the findEntity() method.

Is there something that I changed that could have cause this?

Thanks.



via user3128376

No comments:

Post a Comment