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."],

gefragt vor 10 Monaten282 Aufrufe
1 Antwort
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
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen