I building a bot in amazon lex , I have a usecase where , I will give the user option to choose flower to order , My list of flowers is dynamic and will be got from a service , how should I build a slot for this use case ?
Asked
Active
Viewed 2,657 times
1 Answers
-1
For a very similar question can go here: Custom Slot Type with AWS Lambda hook for Amazon Lex
AWS exposes an API to dynamically create slot types, and updating the LEX bot. (see: http://docs.aws.amazon.com/lex/latest/dg/API_PutSlotType.html, and http://docs.aws.amazon.com/lex/latest/dg/API_CreateSlotTypeVersion.html)
Your best bet is to use their LEX API to update the custom slot type whenever you detect a change in your list. There seems to be no "native" way to specify a dynamics list.

Community
- 1
- 1

Jackson Stone
- 131
- 1
- 8