Amazon Lex Documentation

Amazon Lex provides a scalable, end-to-end solution to build, publish and monitor your bots. Amazon Lex provides you with the tools to tackle challenging deep learning problems, such as speech recognition and language understanding. Once built, your bot can be deployed directly to chat platforms, mobile clients, and IoT devices. You can also use the reports provided to track metrics for your bot. Amazon Lex provides a scalabe, secure, easy to use, end-to-end solution to build, publish and monitor your bots.

Natural conversations

High quality speech recognition and natural language understanding

Amazon Lex provides automatic speech recognition and natural language understanding technologies to create a Speech Language Understanding system. Amazon Lex uses the same proven techonology that powers Alexa. Amazon Lex is able to learn the mulitple ways users can express their intent based on sample utterances provided by the developer. The speech language understanding systems takes natural language speech and text input, understands the intent behind the input, and fulfills the user intent by invoking the appropriate response.

Context management

As the conversation develops, being able to classify utterances accurately requires managing context across multi-turn conversations. Amazon Lex supports context management natively, so you can manage the context directly without the need for custom code. As initial prerequisite intents are filled, you can create “contexts” to invoke related intents. This simplifies bot design and expedites the creation of conversational experiences.

8 kHz telephony audio support

The Amazon Lex speech recognition engine has been trained on telephony audio (8 kHz sampling rate), providing increased speech recognition accuracy for telephony use-cases. When building a conversational bot with Amazon Lex, the 8 kHz support allows for higher fidelity with telephone speech interactions, such as through a contact center application or helpdesk.

Multi-turn dialog

Amazon Lex bots provide the ability for multi-turn conversations. Once an intent has been identified, users can be prompted for information that is required for the intent to be fulfilled (for example, if “Book hotel” is the intent, the user can be prompted for the location, check-in date, number of nights, etc.). Amazon Lex allows you to build multi-turn conversations for your chatbots—you simply list the slots/parameters you want to collect from your bot users, as well as the corresponding prompts, and Amazon Lex orchestrates the dialogue by prompting for the appropriate slot.

Builder productivity

Visual Conversation Builder

The Visual Conversation Builder in the Amazon Lex console is a drag-and-drop conversation builder that can accelerate bot building. Simply connect conversation nodes and easily iterate and test conversation designs in a no-code environment. It empowers any user to quickly build sophisticated and natural automated interactions, view conversation intent at a glance, and get visual feedback as changes are made.

Powerful Lifecycle Management Capabilities

Amazon Lex lets you apply versioning to the Intents, Slot Types, and Bots that you create. Versioning and rollback mechanisms enables you to easily maintain code as you test and deploy in a multi-developer environment. You can create multiple aliases for each Amazon Lex bot and associate different versions to each such as “production,” “development,” and “test”. This allows you to continue making improvements and changes to the bot and release them as new versions under one alias. This removes the need to update all the clients when a new version of the bot is deployed.

One-click deployment to multiple platforms

Amazon Lex allows you to easily publish your bot to chat services directly from the Amazon Lex console, reducing multi-platform development efforts. Rich formatting capabilities provide an intuitive user experience tailored to chat platforms like Facebook Messenger, Slack, and Twilio SMS.

Streaming conversations

Natural conversations are punctuated with pauses and interruptions. For example, a caller may ask to pause the conversation or hold the line while looking up the necessary information before answering a question to retrieve credit card details when providing bill payments. With streaming conversation APIs, you can pause a conversation and handle interruptions directly as you configure the bot. You can quickly enhance the conversational capability of virtual contact center agents or smart assistants.

AWS service integrations

Integration with Amazon Kendra

Customer service conversations often involve finding specific information to answer certain questions. Amazon Kendra provides you with a highly accurate and easy-to-use intelligent search service powered by machine learning. You can add a Kendra search intent to find the most accurate answers from unstructured documents and FAQs. You simply define the search index parameters in the intent as part of the bot definition to expand its informational capabilities.

Integration with Amazon Polly

Amazon Polly is a service that turns text into lifelike speech, allowing you to create applications that talk, and build entirely new categories of speech-enabled products. You can use Polly to respond to your users in speech interactions. In addition to Standard TTS voices, Amazon Polly offers Neural Text-to-Speech (NTTS) voices that deliver advanced improvements in speech quality through a new machine learning approach.

Integration with AWS Lambda

Amazon Lex natively supports integration with AWS Lambda for data retrieval, updates, and business logic execution. The serverless compute capacity allows effortless execution of business logic at scale while you focus on developing bots. From Lambda, you can use AWS Lambda to easily integrate with your existing enterprise applications and databases. You just write your integration code and AWS Lambda automatically runs your code when needed to send or retrieve data from any external system. You can also access various AWS services, such as Amazon DynamoDB for persisting conversation state and Amazon SNS for notifying end users.

Additional Information

For additional information about service controls, security features and functionalities, including, as applicable, information about storing, retrieving, modifying, restricting, and deleting data, please see https://docs.aws.amazon.com/index.html. This additional information does not form part of the Documentation for purposes of the AWS Customer Agreement available at http://aws.amazon.com/agreement, or other agreement between you and AWS governing your use of AWS’s services.