Library

Video Player is loading.
 
Current Time 0:00
Duration 7:25
Loaded: 0.00%
 

x1.00


Back

Games & Quizzes

Training Mode - Typing
Fill the gaps to the Lyric - Best method
Training Mode - Picking
Pick the correct word to fill in the gap
Fill In The Blank
Find the missing words in a sentence Requires 5 vocabulary annotations
Vocabulary Match
Match the words to the definitions Requires 10 vocabulary annotations

You may need to watch a part of the video to unlock quizzes

Don't forget to Sign In to save your points

Challenge Accomplished

PERFECT HITS +NaN
HITS +NaN
LONGEST STREAK +NaN
TOTAL +
- //

We couldn't find definitions for the word you were looking for.
Or maybe the current language is not supported

  • 00:00

    I've become borderline obsessed with generative AI chatbots like chatGPT.
    I've become borderline obsessed with generative AI chatbots like chatGPT.

  • 00:05

    And it seems I'm not the only one!
    And it seems I'm not the only one!

  • 00:07

    Everyone's talking about them! But while generative AI chatbots are the current hot topic,
    Everyone's talking about them! But while generative AI chatbots are the current hot topic,

  • 00:14

    another form of chatbot-- rule-based chatbots have been around for years.
    another form of chatbot-- rule-based chatbots have been around for years.

  • 00:21

    So, what's the difference?
    So, what's the difference?

  • 00:24

    Do they work in the same way, or has generative AI chatbots made role-based chatbots obsolete?
    Do they work in the same way, or has generative AI chatbots made role-based chatbots obsolete?

  • 00:32

    Let's take a look.
    Let's take a look.

  • 00:34

    So let's begin with a few definitions.
    So let's begin with a few definitions.

  • 00:37

    Generative AI chatbots utilize LLMs, or large language models,
    Generative AI chatbots utilize LLMs, or large language models,

  • 00:46

    to generate responses based on user inputs. And they are trained on a massive datasets containing billions of words, phrases and sentences.
    to generate responses based on user inputs. And they are trained on a massive datasets containing billions of words, phrases and sentences.

  • 00:56

    And these models leverage deep learning models, neural networks, and also natural language processing.
    And these models leverage deep learning models, neural networks, and also natural language processing.

  • 01:08

    And these help the chatbot understand and produce human-like responses.
    And these help the chatbot understand and produce human-like responses.

  • 01:15

    Now on the other hand, rule-based chatbots adhere to a collection of pre-determined rules.
    Now on the other hand, rule-based chatbots adhere to a collection of pre-determined rules.

  • 01:23

    So the very much rules engine based.
    So the very much rules engine based.

  • 01:26

    And they use these rules for producing replies for the user inputs.
    And they use these rules for producing replies for the user inputs.

  • 01:30

    Now they utilize a sequence of if/then statements to verify the presence of specific keywords that are sent into the chatbot.
    Now they utilize a sequence of if/then statements to verify the presence of specific keywords that are sent into the chatbot.

  • 01:43

    And those are then used-- and understanding these as inputs --to deliver corresponding responses based on those conditions.
    And those are then used-- and understanding these as inputs --to deliver corresponding responses based on those conditions.

  • 01:51

    Now, the architecture of rule-based chatbots-- we can think of it in like three high-level components that are all interconnected.
    Now, the architecture of rule-based chatbots-- we can think of it in like three high-level components that are all interconnected.

  • 02:02

    So what have we got here?
    So what have we got here?

  • 02:04

    We've got the user interface, or the UI.
    We've got the user interface, or the UI.

  • 02:08

    We've got the NLP engine.
    We've got the NLP engine.

  • 02:12

    And we've also got another engine, the rules engine.
    And we've also got another engine, the rules engine.

  • 02:19

    And here the UI, this is where the users interact with the chatbot,
    And here the UI, this is where the users interact with the chatbot,

  • 02:22

    and NLP engine processes the inputs, and then the rules engine determines the appropriate response.
    and NLP engine processes the inputs, and then the rules engine determines the appropriate response.

  • 02:27

    And in some are rule-based chat bots, "NLP engine" maybe overselling a little bit what this component doesbecause some simpler
    And in some are rule-based chat bots, "NLP engine" maybe overselling a little bit what this component doesbecause some simpler

  • 02:36

    rule-based chat bots might rely only on keyword detection without utilizing full NLP techniques. But this is the basic idea.
    rule-based chat bots might rely only on keyword detection without utilizing full NLP techniques. But this is the basic idea.

  • 02:45

    So let's ask a rule-based chatbot a question: What are the operating hours of the electronic store?
    So let's ask a rule-based chatbot a question: What are the operating hours of the electronic store?

  • 02:53

    Now the chatbot would derive a conditional statement that detects entities such as "operating hours" and "electronics store".
    Now the chatbot would derive a conditional statement that detects entities such as "operating hours" and "electronics store".

  • 03:01

    And then based on these predetermined entities and context,
    And then based on these predetermined entities and context,

  • 03:03

    the chatbot can determine the user's intents and generate a predefined response, like "the electronic store operates from 9 a.m. to 7 p.m.".
    the chatbot can determine the user's intents and generate a predefined response, like "the electronic store operates from 9 a.m. to 7 p.m.".

  • 03:12

    Now at a high level, the architecture for a generative AI chatbot, well, it doesn't look so different.
    Now at a high level, the architecture for a generative AI chatbot, well, it doesn't look so different.

  • 03:23

    We can think of it also in three high level components.
    We can think of it also in three high level components.

  • 03:27

    So at the top, again, we have the UI, or the user interface.
    So at the top, again, we have the UI, or the user interface.

  • 03:32

    We also again have an NLP engine.
    We also again have an NLP engine.

  • 03:37

    And now here, instead of the rules engine, we have a large language model, an LLM.
    And now here, instead of the rules engine, we have a large language model, an LLM.

  • 03:44

    But if you look between or beneath the surfaces here, there are some fundamental differences between these two.
    But if you look between or beneath the surfaces here, there are some fundamental differences between these two.

  • 03:51

    Now the NLP engine in a rules-based chatbot extracts intent entities and context [as] we said,
    Now the NLP engine in a rules-based chatbot extracts intent entities and context [as] we said,

  • 03:57

    but the NLP engine here, combined with the large language model in a generative AI chatbot,
    but the NLP engine here, combined with the large language model in a generative AI chatbot,

  • 04:04

    can handle much more complex language structures and nuances.
    can handle much more complex language structures and nuances.

  • 04:09

    It can better understand the user's inputs, context and intent.
    It can better understand the user's inputs, context and intent.

  • 04:13

    And large language models do not rely on pre-written rules, but they have been trained on vast amounts of text data which
    And large language models do not rely on pre-written rules, but they have been trained on vast amounts of text data which

  • 04:21

    allows the chatbot to generate contextually relevant and humanlike responses.
    allows the chatbot to generate contextually relevant and humanlike responses.

  • 04:26

    One of the significant advantages of generative AI chatbots is their ability to learn and adapt over time
    One of the significant advantages of generative AI chatbots is their ability to learn and adapt over time

  • 04:32

    by continually updating their knowledge and refining that language model,
    by continually updating their knowledge and refining that language model,

  • 04:36

    these chat bots can provide more accurate and relevant responses.
    these chat bots can provide more accurate and relevant responses.

  • 04:40

    So, does this spell the end for rule-based chatbots?
    So, does this spell the end for rule-based chatbots?

  • 04:46

    Are generative AI chatbots always the better option?
    Are generative AI chatbots always the better option?

  • 04:50

    Well, the answer to that depends, as ever, on your use cases.
    Well, the answer to that depends, as ever, on your use cases.

  • 04:55

    So let's briefly consider a couple.
    So let's briefly consider a couple.

  • 04:58

    First of all, let's consider frequently asked questions and customer support--so that sort of scenario.
    First of all, let's consider frequently asked questions and customer support--so that sort of scenario.

  • 05:06

    Now, in this sort of scenario where we have user queries that are relatively simple,
    Now, in this sort of scenario where we have user queries that are relatively simple,

  • 05:11

    relatively predictable, a rule-based chatbot can be an efficient and cost effective solution.
    relatively predictable, a rule-based chatbot can be an efficient and cost effective solution.

  • 05:17

    For instance, in the context of a customer support scenario for an online store, a rules-based chatbot can quickly provide answers
    For instance, in the context of a customer support scenario for an online store, a rules-based chatbot can quickly provide answers

  • 05:23

    to frequently asked questions about shipping or returns or product information--stuff like that.
    to frequently asked questions about shipping or returns or product information--stuff like that.

  • 05:30

    Now, for sure, a generative AI chatbot could fulfill this use case too,
    Now, for sure, a generative AI chatbot could fulfill this use case too,

  • 05:34

    but this could lead to increased complexity and cost without a significant improvement in performance.
    but this could lead to increased complexity and cost without a significant improvement in performance.

  • 05:41

    Or actually, if we're not careful, it could lead to worse performance as LLMs introduce the potential
    Or actually, if we're not careful, it could lead to worse performance as LLMs introduce the potential

  • 05:46

    for sharing incorrect information through something called hallucinations,
    for sharing incorrect information through something called hallucinations,

  • 05:50

    which are instances when the chatbot produces responses that aren't grounded in reality or factual information.
    which are instances when the chatbot produces responses that aren't grounded in reality or factual information.

  • 05:58

    Okay, what about another scenario?
    Okay, what about another scenario?

  • 06:00

    What if we want to consider things that are creative or open ended?
    What if we want to consider things that are creative or open ended?

  • 06:08

    Now, in this sort of situation, we're talking about things like generating story ideas or sort of brainstorming ideas, things like that.
    Now, in this sort of situation, we're talking about things like generating story ideas or sort of brainstorming ideas, things like that.

  • 06:17

    And a generative AI chat bot is the obvious answer here
    And a generative AI chat bot is the obvious answer here

  • 06:20

    because of its advanced language understanding and creative capabilities, it can excel at these tasks.
    because of its advanced language understanding and creative capabilities, it can excel at these tasks.

  • 06:25

    It can "think outside the box" and generate unique and engaging content or ideas.
    It can "think outside the box" and generate unique and engaging content or ideas.

  • 06:31

    Creative writing tasks are my favorite use for this type of chatbot.
    Creative writing tasks are my favorite use for this type of chatbot.

  • 06:35

    Rule-based chatbots are limited by that predefined rules and lack the flexibility to generate innovative, reasoned responses.
    Rule-based chatbots are limited by that predefined rules and lack the flexibility to generate innovative, reasoned responses.

  • 06:43

    Now, for now, in the current times, I think we can say that both chatbots have their place.
    Now, for now, in the current times, I think we can say that both chatbots have their place.

  • 06:51

    Generative AI chatbots are becoming more powerful and may eventually supersede rule-based chatbots in many cases.
    Generative AI chatbots are becoming more powerful and may eventually supersede rule-based chatbots in many cases.

  • 06:59

    But today, generative AI chatbots still have concerns around privacy of training data
    But today, generative AI chatbots still have concerns around privacy of training data

  • 07:04

    and a tendency to sometimes produce output that is misleading or incorrect.
    and a tendency to sometimes produce output that is misleading or incorrect.

  • 07:08

    But look, this is an exciting time in the chatbot space.
    But look, this is an exciting time in the chatbot space.

  • 07:12

    And I hope you share just a little bit of my obsessive interest in where this journey will take us.
    And I hope you share just a little bit of my obsessive interest in where this journey will take us.

All idiom
obsessed with
//

idiom

Excessively or solely focused on, preoccupied with, or infatuated with someone or something.

Generative vs Rules-Based Chatbots

5,784 views

Video Language:

  • English

Caption Language:

  • English (en)

Accent:

  • English (US)

Speech Time:

93%
  • 6:54 / 7:25

Speech Rate:

  • 140 wpm - Conversational

Category:

  • Education

Tags :

Intro:

I've become borderline obsessed with generative AI chatbots like chatGPT.
And it seems I'm not the only one!. Everyone's talking about them! But while generative AI chatbots are the current hot topic,
another form of chatbot-- rule-based chatbots have been around for years.
So, what's the difference?. Do they work in the same way, or has generative AI chatbots made role-based chatbots obsolete?
Let's take a look.. So let's begin with a few definitions.. Generative AI chatbots utilize LLMs, or large language models,
to generate responses based on user inputs. And they are trained on a massive datasets containing billions of words, phrases and sentences.
And these models leverage deep learning models, neural networks, and also natural language processing.
And these help the chatbot understand and produce human-like responses.
Now on the other hand, rule-based chatbots adhere to a collection of pre-determined rules.
So the very much rules engine based.. And they use these rules for producing replies for the user inputs.
Now they utilize a sequence of if/then statements to verify the presence of specific keywords that are sent into the chatbot.
And those are then used-- and understanding these as inputs --to deliver corresponding responses based on those conditions.
Now, the architecture of rule-based chatbots-- we can think of it in like three high-level components that are all interconnected.
So what have we got here?. We've got the user interface, or the UI..

Video Vocabulary

/əˈnəT͟Hər/

adjective determiner pronoun

One more, but not this. used to refer to additional person or thing of same type as one. additional person or thing of same type.

/ˈbilyən/

noun number

1000 million. thousand million.

/ˈkərənt/

adjective noun

belonging to present. Movement of water in a river, or air in the sky.

/ˌəndərˈstandiNG/

adjective noun verb

sympathetically aware of other people's feelings. ability to understand something. To know the meaning of language, what someone says.

/ˌin(t)ərˈakt/

verb

To talk or do things with each other.

/kənˈtān/

verb

To hold something inside something else.

/trānd/

adjective verb

having been taught particular skill or type of behaviour. To educate someone in something, e.g. medicine.

/əbˈses/

adjective verb

Showing a strong desire to do or get something. To talk or think about someone, something too much.

/ˈsēkwəns/

noun verb

Part of a movie showing one part of the story. arrange in particular order.

adjective verb

Right or suitable for some situation or purpose. To take (money or goods) without permission.

/ˈprezəns/

noun

Ability to reach a market, group of people etc..

/dəˈlivər/

verb

hand over letter or goods.

/ˌkôrəˈspändiNG/

adjective verb

In reference to. To write letters or emails to someone.

/ˈtôkiNG/

adjective noun verb

engaging in speech. action of talking. To say things or ideas to someone with words.

/ˈyo͞odlˌīz/

verb

make practical and effective use of.