Problems with the existing approach

In this section, we will discuss the problems with the basic version of our chatbot. As we already know, for unseen queries this approach doesn't work, which means that the basic approach is not able to generalize the user's questions properly.

I have listed down some of the problems here:

  • Time consuming because we need to hardcode each and every scenario, which is not feasible at all
  • It cannot work for unseen use cases
  • The user should process the rigid flow of conversation
  • It cannot understand the long context

Most of these problems can be solved using the generative-based approach. Let's look at the key concepts that will help us improvise this approach.

Understanding key concepts for optimizing the approach

In this ...

Get Machine Learning Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.