create bot with intents and slots using lex API using python

0

doing all the following steps but still getting response as bot build locale failed create bot create intent create slot update intent update bot adding permissions build bot locale. getting response as 'botLocaleStatus': 'Failed', 'failureReasons': ["Slot ids [email, password, One_Time_Code] in intent ResetsPassword don't define a slot priority. Update the intent to add a priority to these slots."],

已提問 10 個月前檢視次數 281 次
1 個回答
0

Need troubleshooting but some hints with the information provided : It is rare for this error to be thrown if you are only using the console, as your slot is parameter you can set through the SDK (it is done automatically in the console). I suspect the reason it was throwing the error is that upon changing some things in the intent, the bot expected some parameters that no longer existed, by saving the new changes is the intent, it should be able to build successfully.

AWS
已回答 10 個月前

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

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

回答問題指南