- Newest
- Most votes
- Most comments
Hi Don, thank you for your reply and the information you share. few more questions on automation question in LEX v2 BOT, Below is the logic we used previous LEX v1 automation,
Step 1: export bot/intents/slots - in JSON format Step 2: merge all bot/intents/slots - in single JSON Step 3: zip the JSON file Step 4: AWS lex-models start-import the zip file and used parameter --merge-strategy OVERWRITE_LATEST Step 5: AWS lex-models put-bot to update or replace the bot - BUILD the BOT step 6: AWS lex-models get-bot-alias, and find the LEX version and if no version is found create the new version Step 7: AWS lex-models put-bot-alias - update latest version.
can we achieve the same in LEX v2? can able export individual files for bots/intents/slots and merge them all in a single file? please share your thoughts Thanks Ram
Hello Ram,
You can use the build bot locale api to build the bot via cli https://docs.aws.amazon.com/lexv2/latest/dg/API_BuildBotLocale.html
The simplified workflow is CreateBot -> Go to Draft -> Create bot locale -> Create Intents and Slots -> Update intents with slot priority -> Build bot locale.
Thanks!
Relevant content
- asked 6 months ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago