I automated chatbot designer in Amazon Lex

2022.12.10

この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

Chatbots are being increasingly used by businesses to promote self-service and improve the customer experience at scale. Contact center chatbots automate basic consumer inquiries, allowing human agents to focus on more difficult problems. Amazon Lex may be used to create chatbots that provide interesting user experiences and lifelike discussions.

Introduction

Amazon Lex offers automatic voice recognition and language comprehension technologies that may be used to create excellent chatbots via an easy-to-use console. However, before you can construct a chatbot, you must first design it. The design step of the chatbot development process remains manual, time-consuming, and needs conversational design skills.

The automated chatbot designer extends Amazon Lex's simplicity and convenience of use by automatically surfacing a first bot design. It uses machine learning to evaluate caller-agent conversation transcripts and semantically organizes them around the most prevalent intents and related information. Instead of beginning from scratch, you may utilize the chatbot designer's intent to iterate on the design and reach your desired experience faster.

The automated chatbot designer can evaluate thousands of lines of transcripts in a few hours, saving time and effort. This helps to ensure that the intentions are adequately defined and separated by eliminating any overlaps between them. This allows the bot to better comprehend the user.

The automated chatbot designer aids in the creation of bots that comprehend user requests without confusion, therefore increasing the end-user experience by minimizing manual work and human mistakes at every stage of chatbot design.

Create a bot

Proceed to the AWS console and search for Amazon Lex in the search bar

Choose create bot

Select the start with transcript option as the creation method Give a bot name Give a description that is optional

Select Create a role with basic Amazon Lex permissions and use this as your runtime role.

Click Next to advance to the language configuration.

Select the S3 bucket and path where the transcripts are stored. Or create a new S3 bucket and upload your folder.

 

 

Choose Done after selecting the S3 bucket

The Intents page displays all intents as well as example phrases and slots, while the Slot types tab displays all slot types as well as slot type values.

You can choose any of the intents to review the sample utterances and slots. For example, I chose ChangeSecurityQuestion.

Click on the associated transcripts to review the conversations used to identify the intents.

After reviewing the results, choose the intents and slot types that apply to your use case and click Add to English.

This adds the selected intents and slot types to the bot. You may now improve on this design by adding prompts, combining intents or slot kinds, and renaming slots.

Build and test the bot

Conclusion

The chatbot designer evaluates a conversation transcript for common intentions, connected words, and information that the chatbot needs to resolve issues (such as customer policy number, claim type, and so on). You must still iterate on the design to meet the needs of your business, add chatbot prompts and replies, connect business logic to satisfy user requests, and finally build, test, and deploy the chatbot in Amazon Lex.