AWS Lex V2 not invoking slot type values after user input yes

0

AWS Lex not invoking slot type values after user input "yes". I have already selected the desired slot type within Intent->slots. still it is not recognizing during chat: "intent": { "name": "ICLIGM", "slots": { "Modules": null }

I am repeatedly getting slot prompt message inspite of user input "yes".

{ "content": "Do you want to see ICLIGM Module details?", "contentType": "PlainText" } ], "sessionState": { "dialogAction": { "type": "ElicitSlot", "slotToElicit": "Modules" }, "intent": { "name": "ICLIGM", "slots": { "Modules": null }, "state": "InProgress", "confirmationState": "None" }

  • Can you give some details about the slot (type, values, etc)

  • I observed "resolvedValues" are not displayed on chat. We can see clearly on Inspect / Log: { "messages": [ { "content": "Here are the details: import module ", "contentType": "PlainText" } ], "sessionState": { "dialogAction": { "type": "ConfirmIntent" }, "intent": { "name": "ICLIGM", "slots": { "ImpConf": null, "ImpModule": { "value": { "originalValue": "import module", "interpretedValue": "import module", "resolvedValues": [ "ICLIGM Import Module takes care of complete Import procedure and documentation required for Customs and Ports " ]

profile picture
已提問 3 個月前檢視次數 132 次
1 個回答
0

Your bot is in a dialog state of ElicitSlot for Modules. There does not seem to be any slot values set at that point. What values do you have for Modules- it is just Yes/No, or do you have others? If the bot cannot recognise what the user says as being a match for the slot it will keep repeating the prompt.

AWS
Gillian
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南