LUIS: Action Parameter cannot be passed (with Dialog Execution)

删除回忆录丶 提交于 2019-12-06 19:36:49

I have experienced this before. (In fact it still happens). Even in the Microsoft's Official LUIS API Example DEMOS, it still happens.


For example, in their Weather Bot there, just try something like:

You: What will the weather be tomorrow?
Bot: Where would you like the weather?
You: Singapore
Bot:

{
  "name": "location",
  "required": true,
  "value": null
}

Then now try again, like:

You: What will the weather be tomorrow?
Bot: Where would you like the weather?
You: in Singapore
Bot:

{
  "name": "location",
  "required": true,
  "value": [
    {
      "entity": "singapore",
      "type": "builtin.geography.country"
    }
  ]
}

Conclusion?

Prepositions! (in, at, on, by, under, ...) LUIS still doesn't understand the Entity input without the proper preposition provided, sometimes, in some cases.

I'm pretty sure this is the reason for your case. Try again with a preposition.

( This problem took me like 1~2 weeks to realise. Hope Microsoft can improve LUIS better in all this aspects asap. )

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!