2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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!
답변함 일 년 전
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
답변함 일 년 전