Configure the Bot - Amazon Lex V1

If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.

 

If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.

Configure the Bot

Configure error handling for the PizzaOrderingBot bot.

  1. Navigate to the PizzaOrderingBot bot. Choose Editor. and then choose Error Handling, as in the following image:

    The console showing how error handling is configured.
  2. Use the Editor tab to configure bot error handling.

    • Information you provide in Clarification Prompts maps to the bot's clarificationPrompt configuration.

      When Amazon Lex can't determine the user intent, the service returns a response with this message.

    • Information that you provide in the Hang-up phrase maps to the bot's abortStatement configuration.

      If the service can't determine the user's intent after a set number of consecutive requests, Amazon Lex returns a response with this message.

    Leave the defaults.

Next Step

Step 3: Build and Test the Bot