Chatbots for Beginners: A Complete Guide to Build Chatbots

Video description

Chatbots are computer programs that converse with users, understand their intent, and reply based on preset rules and data. Chatbots are used in dialog systems for various purposes, including customer service, request routing, or information gathering in e-commerce, education, entertainment, finance, health, and more.

The course begins with an in-depth introduction to chatbot basics with ML, DL, and AWS. We will understand chatbots, their needs and types, rule-based/self-learning chatbots and their working mechanisms, and explore ML-based chatbot concepts. We will explore Natural Language Toolkit (NLTK) and install packages to create a corpus with Python. We will train and test the chatbot.

We will then advance to DL-based chatbots and compare conventional with DL-based chatbots. You will learn about tokenization, encoder-decoder, and implementing RNN-based models. Finally, we will explore AWS for chatbot training with DL. We will examine the features of AWS and build a hotel booking chatbot with Amazon Lex. We will connect AWS Lambda to Amazon Lex and integrate the chatbot with Twilio. We will use AWS SDK and create response cards with chatbots.

Upon completion, we will independently be able to build chatbots using ML, DL, and AWS Lex on Python, with a thorough understanding of the creation and functioning of these chatbots.

What You Will Learn

  • Learn the basic machine learning architecture for the chatbots
  • Gain hands-on practice in text generation with Python for chatbots
  • Learn about testing and training chatbots with machine learning
  • Learn hands-on web-based development of the AWS chatbot
  • Implement settings of a decoder-encoder model with Python
  • Understand the impact/overview tokenization in chatbot development

Audience

This course is designed for individuals looking to advance their skills in applied machine learning and DL, understand relationships of data analysis with ML and DL, learn AWS and apply AWS Lex and Lambda for chatbots, build customized chatbots for their applications, implement DL algorithms for chatbots and rule-based self-learning chatbots. This course can benefit ML/DL practitioners, research scholars, and data scientists researching chatbots. No prior knowledge of chatbots, ML, DL, Amazon Lex, data analysis, or mathematics is required. Prior basic- to intermediate-level Python knowledge is required.

About The Author

AI Sciences: AI Sciences are experts, PhDs, and artificial intelligence practitioners, including computer science, machine learning, and Statistics. Some work in big companies such as Amazon, Google, Facebook, Microsoft, KPMG, BCG, and IBM.

AI sciences produce a series of courses dedicated to beginners and newcomers on techniques and methods of machine learning, statistics, artificial intelligence, and data science. They aim to help those who wish to understand techniques more easily and start with less theory and less extended reading. Today, they publish more comprehensive courses on specific topics for wider audiences.

Their courses have successfully helped more than 100,000 students master AI and data science.

Table of contents

  1. Chapter 1 : Introduction
    1. Course Introduction
    2. Instructor Introduction
    3. AI Sciences Introduction
    4. Course Description
    5. Machine Learning-Based Chatbots
    6. Deep Learning-Based Chatbots
    7. Chatbots with Amazon Lex
  2. Chapter 2 : Basics of Chatbots with Machine Learning and Python
    1. Overview of Chatbots: Module Overview
    2. Overview of Chatbots: History of Chatbots
    3. Overview of Chatbots: Applications of Chatbots
    4. Overview of Chatbots: Chatbots Versus Virtual Assistants Versus Personal Assistants
    5. Overview of Chatbots: Benefits of Chatbots
    6. Overview of Chatbots: Why Should Companies Pick Chatbots
    7. Overview of Chatbots: Chatbot Types
    8. Overview of Chatbots: Rule-Based Chatbots
    9. Overview of Chatbots: Self-Learning Chatbots
    10. Overview of Chatbots: Mechanism of Chatbots
    11. Overview of Chatbots: Challenges of Chatbots
    12. Overview of Chatbots: Quiz
    13. Overview of Chatbots: Quiz Solution
    14. Machine Learning-Based Chatbots: Module Introduction
    15. Machine Learning-Based Chatbots: Module Overview
    16. Machine Learning-Based Chatbots: Architecture of ML Chatbots
    17. Machine Learning-Based Chatbots: ML-Enabled Features
    18. Machine Learning-Based Chatbots: Revolution with ML
    19. Machine Learning-Based Chatbots: NLTK Features
    20. Machine Learning-Based Chatbots: Rule-Based Chatbots
    21. Machine Learning-Based Chatbots: Package Installation
    22. Machine Learning-Based Chatbots: Data Input
    23. Machine Learning-Based Chatbots: Word Tokens and Remove ASCII
    24. Machine Learning-Based Chatbots: Remove Tags and Lemmatize
    25. Machine Learning-Based Chatbots: Chatbot Greets
    26. Machine Learning-Based Chatbots: Response Generation
    27. Machine Learning-Based Chatbots: Wiki Search
    28. Machine Learning-Based Chatbots: Developing Results
    29. Machine Learning-Based Chatbots: Local Search and Wikipedia Search
    30. Project: Conversational Chatbot Development with Machine Learning: Module Introduction
    31. Project: Conversational Chatbot Development with Machine Learning: Project Overview and Packages
    32. Project: Conversational Chatbot Development with Machine Learning: Getting the Data
    33. Project: Conversational Chatbot Development with Machine Learning: Elimination
    34. Project: Conversational Chatbot Development with Machine Learning: Tokenization
    35. Project: Conversational Chatbot Development with Machine Learning: Lemmatization and Processed Text
    36. Project: Conversational Chatbot Development with Machine Learning: Greeting Function
    37. Project: Conversational Chatbot Development with Machine Learning: Generate Response
    38. Project: Conversational Chatbot Development with Machine Learning: Bot Finishing
    39. Project: Conversational Chatbot Development with Machine Learning: Testing the Bot
  3. Chapter 3 : Advanced Chatbots with Deep Learning and Python
    1. Fundamentals of Chatbots for Deep Learning: Module Introduction
    2. Fundamentals of Chatbots for Deep Learning: Conventional Versus AI Chatbots
    3. Fundamentals of Chatbots for Deep Learning: Generative Versus Retrieval Chatbots
    4. Fundamentals of Chatbots for Deep Learning: Benefits of Deep Learning Chatbots
    5. Fundamentals of Chatbots for Deep Learning: Chatbots in the Medical Domain
    6. Fundamentals of Chatbots for Deep Learning: Chatbots in Business
    7. Fundamentals of Chatbots for Deep Learning: Chatbots in Ecommerce
    8. Deep Learning-Based Chatbot Architecture and Development: Module Introduction
    9. Deep Learning-Based Chatbot Architecture and Development: Deep Learning Architecture
    10. Deep Learning-Based Chatbot Architecture and Development: Encoder Decoder
    11. Deep Learning-Based Chatbot Architecture and Development: Steps Involved
    12. Deep Learning-Based Chatbot Architecture and Development: Project Overview and Packages
    13. Deep Learning-Based Chatbot Architecture and Development: Importing Libraries
    14. Deep Learning-Based Chatbot Architecture and Development: Data Preparation
    15. Deep Learning-Based Chatbot Architecture and Development: Develop Vocabulary
    16. Deep Learning-Based Chatbot Architecture and Development: Max Story and Question Length
    17. Deep Learning-Based Chatbot Architecture and Development: Tokenizer
    18. Deep Learning-Based Chatbot Architecture and Development: Separation and Sequence
    19. Deep Learning-Based Chatbot Architecture and Development: Vectorize Stories
    20. Deep Learning-Based Chatbot Architecture and Development: Vectorizing Train and Test Data
    21. Deep Learning-Based Chatbot Architecture and Development: Encoding
    22. Deep Learning-Based Chatbot Architecture and Development: Answer and Response
    23. Deep Learning-Based Chatbot Architecture and Development: Model Completion
    24. Deep Learning-Based Chatbot Architecture and Development: Predictions
  4. Chapter 4 : Chatbots Development with Amazon Lex
    1. Fundamentals of AWS for Chatbots: Module Overview
    2. Fundamentals of AWS for Chatbots: Overview of AWS
    3. Fundamentals of AWS for Chatbots: Services of AWS
    4. Fundamentals of AWS for Chatbots: Salient Features of AWS
    5. Fundamentals of AWS for Chatbots: Lex Bot Overview
    6. Fundamentals of AWS for Chatbots: Benefits of Amazon Lex
    7. Fundamentals of AWS for Chatbots: Framework of Lex
    8. Chatbot Development with AWS Lex and AWS Lambda: Module Overview
    9. Chatbot Development with AWS Lex and AWS Lambda: Chatbot Steps
    10. Chatbot Development with AWS Lex and AWS Lambda: AWS Lambda Steps
    11. Chatbot Development with AWS Lex and AWS Lambda: Twilio and Website
    12. Chatbot Development with AWS Lex and AWS Lambda: Response Cards
    13. Chatbot Development with AWS Lex and AWS Lambda: Start Developing Chatbot
    14. Chatbot Development with AWS Lex and AWS Lambda: Intent Utterance and Slot
    15. Chatbot Development with AWS Lex and AWS Lambda: Making Utterances
    16. Chatbot Development with AWS Lex and AWS Lambda: Generic Utterance with Slots
    17. Chatbot Development with AWS Lex and AWS Lambda: Adding Custom Slots
    18. Chatbot Development with AWS Lex and AWS Lambda: Build and Test
    19. Chatbot Development with AWS Lex and AWS Lambda: Visual Builder
    20. Chatbot Development with AWS Lex and AWS Lambda: Lambda Introduction
    21. Chatbot Development with AWS Lex and AWS Lambda: Interconnection
    22. Chatbot Development with AWS Lex and AWS Lambda: Starting Lambda Code
    23. Chatbot Development with AWS Lex and AWS Lambda: Session state Dialog Hook and Dialog Action
    24. Chatbot Development with AWS Lex and AWS Lambda: Completing Lambda Function
    25. Chatbot Development with AWS Lex and AWS Lambda: Testing our Chatbot
    26. Chatbot Development with AWS Lex and AWS Lambda: Chatbot Deployment on WhatsApp with Twilio
    27. Chatbot Development with AWS Lex and AWS Lambda: Integration with Boto
    28. Chatbot Development with AWS Lex and AWS Lambda: Responses with Boto
    29. Chatbot Development with AWS Lex and AWS Lambda: Chatbot on Website
    30. Chatbot Development with AWS Lex and AWS Lambda: Response Cards for User Experience
    31. Chatbot Development with AWS Lex and AWS Lambda: Complete Chatbot with Response Cards

Product information

  • Title: Chatbots for Beginners: A Complete Guide to Build Chatbots
  • Author(s): AI Sciences
  • Release date: February 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781837637621