2 Answers
- Newest
- Most votes
- Most comments
0
Hello The typical steps when creating bots via api are as follows
- Create bot
- Create bot version or use draft
- Create bot locale
- Create intents in the locale
- Create slots inside the intent
- Update the intent with the slot priority list - This is the step you are missing. Once you have the slot ids you should populate the slotPriorities list inside intent - https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateIntent.html#lexv2-UpdateIntent-request-slotPriorities
- Build the bot Let us know if this works for you.
Thanks!
answered a year ago
0
Thanks. Using this UpdateIntent operation was the solution.
The python AWS Lex v2 SDK method I used to add slot priorities to and Intent slot were:
- create_intent
- create_slot
- update_intent
answered a year ago
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago