hengist
hengist

Reputation: 105

List of entities used in intent is incorrect

In LUIS, on the intent page, I have 5 utterances that use the same entity in each. Under the utterances is the list of entities used in the intent. As you can see from the attached image, it lists the entity I have used and the correct count (5), but it also lists another entity that I have not used and says there are 2.

I have refreshed the page and trained and it is still showing the incorrect number of entities. I am concerned this error will affect the results. Is it a known issue, and can it be fixed?

screenshot of LUIS intent page

Upvotes: 0

Views: 167

Answers (2)

hengist
hengist

Reputation: 105

The suggestion to export and reimport the app into a new app did not solve the problem, but when I looked at the export file I figured it out. Actually both of the entities were there in some of the utterances, just hidden one on top of the other, so they didn't show up in the interface.

example utterance:

{
      "text": "how much will i be charged for my clonazepam",
      "intent": "PHARMACY_DRUG_INQUIRY",
      "entities": [
        {
          "entity": "Prescription",
          "startPos": 34,
          "endPos": 43
        },
        {
          "entity": "Procedure",
          "startPos": 34,
          "endPos": 43
        }

Upvotes: 1

Mandar Dharmadhikari
Mandar Dharmadhikari

Reputation: 129

looks more like a portal glitch to me. Have you tried following 1) Logging out of the portal and logging in again to check? 2) If yes, please try to export and reimport the app definition in a new app. Let us know your observations

Upvotes: 0

Related Questions