Amazon-lex returning clarification prompt for all inputs

丶灬走出姿态 提交于 2019-12-11 07:39:20

问题


I am trying to create a chatbot in amazon lex but no matter what input I type it returns the clarification prompt to me. I have currently configured the bot with 2 slots mnemonic and company and with 2 sample utterances in a single intent requestParameterInfo

what is the {mnemonic}​ value for {company}​

what is the {mnemonic}​ value for {company}​ for the year {date}

any suggestions why this might be happening ?


回答1:


Couple things to check:

  • Make sure your Slots have a number of good example values.
  • Make sure you have built the bot and are testing on the current version.
  • Under monitoring, check the missed utterances and add them as sample utterances.
  • Check your Lambda initialization and validation hook is not overriding or otherwise messing with the request.

If none of these are the case, it could be that the values you are providing for {mnemonic} may not be able to be identified by Lex. I've seen this issue when trying to detect yes and no as a slot, and wouldn't be surprised if other words, or non-words are not detected.



来源:https://stackoverflow.com/questions/44453803/amazon-lex-returning-clarification-prompt-for-all-inputs

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