Create a BankingBot with English and Spanish support in the Amazon Lex V2 console

TUTORIAL

Introduction

Follow step-by-step instructions to set up an Amazon Lex V2 bot with multilingual support

Overview

In this lab, learn how to create a bot for a banking application with support for both English and Spanish languages in the Amazon Lex V2 console.

Amazon Lex is a service for building conversational interfaces into any application using voice and text. Amazon Lex V2 console and APIs use an updated information architecture (IA) to deliver simplified versioning, support for multiple languages in a bot, and streaming capabilities. Additional improvements include the saving of partially completed bot configurations, renaming of resources, simplified navigation, bulk upload of utterances, and granular debugging.

Why use Amazon Lex V2 for a banking bot application?

With Amazon Lex V2 console and revised APIs, you can expedite building virtual agents, conversational IVR systems, self-service chatbots, or informational bots.

Key reasons to use Amazon Lex V2 console and API for your application include:

  • Simplified information architecture (IA): Amazon Lex V2 console and APIs follow a simplified information architecture (IA) where intent and slot types are scoped to a specific language. Versioning is performed at the bot level so that resources such as intents and slot types don’t have to be versioned individually.
  • Additional builder productivity tools: Amazon Lex V2 Console and API provide additional builder productivity tools and capabilities that give you more flexibility and control of your bot design process. For example, you can now save partially completed work as you script, test, and tune your configuration. You can also use the Conversation flow section to view the utterances and slot types for each intent.
  • Simplified multi-language support: The new console dashboard allows you to quickly move between different languages to compare and refine your conversations. You can manage all the languages through the lifecycle of design, test, and deployment as a single resource and add new languages to a bot at any time.

Prerequisites

Before starting this tutorial, you will need:

  • An AWS account: If you don't already have an account, follow the Setting Up Your Environment tutorial for a quick overview.  Accounts created in the last 24 hours may not yet have access to the resources required for this project.

 AWS experience

Intermediate

 Time to complete

2 hours

 Cost to complete

$2.00

 Requires

AWS Account created longer than 24 hours ago

 Services used

 Last updated

July 17, 2023

Was this page helpful?