microsoft / ConversationLearner-Samples

Sample bot using the ConversationLearner SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-built entities does not appear on "Expected Entity in Response..." field.

BelvedereHenrique opened this issue · comments

When creating a new Action, pre-built entities should appear on the Entities List for the field "Expected Entity Reponse".

Entities:
image

New Action:
image

Documentation: https://docs.microsoft.com/en-us/azure/cognitive-services/labs/conversation-learner/tutorials/7-built-in-entities

Hi @BelvedereHenrique - Thanks for reporting. The problem here is that our doc is out of date. Pre-built entities are read-only, and can only be set by the pre-built model that extracts them from user utterances. The issue is that many pre-built entities include resolution (eg, mapping "today" to a canonical date); populating an entity via the "expected entity" mechanism would not do resolution, which makes it messy handling pre-built entities in code. I'll add a task to update the doc, and close this when that's deployed. Thanks!

I get it.
Thank you!

I submitted a PR to update the doc -- will take a few days to get signed off and deployed. Also updated the tutorial app. Closing.