A perfect place for Technocrats you will find the latest tech news , gaming updates, historical articles and lot more So what are you waiting for? You are just one step away from entering Techno world.

Saturday, 11 April 2020

ChatBot and how it workes

No comments :
Many of us have already experienced it than it may be directly or indirectly but do you know how it actually works???
Well first take a look at it...


  • ChatBot

ChatBot is nothing but a computer program which actually engages i n conversation with the actual Human. Data is already feed in it when you ask a question to chatbot it Analyses the data feed and gives the result in the form of output. ChatBots are already trained, Humans are continuously evolving we can say that the age of computer is already over and now we are focusing more towards the AI(Artificial Intelligence).


  • What is Artificial Intelligence?
 I'll tell you guys it in a very simple manner many of are having electric gadget alexa introduced by amazon when you ask alexa a question it gives the correct answer but the question is how does it come to know that,Yes this an example of Artificial Intelligence. ChatBots are also of same type.  You may have also seen some cars or we can take a perfect example of an plane autopilot mode this are also a example of Artificial Intelligence.


  • How chat give our languages?
 The ChatBots respond according to data logs feed in it, The chatbot of many organisations or company's  maintain this datalog so that chatbot can analyze and give appropriate respond or answer,ChatBots are actually trained before  engaging with their clients or humans. In the making of chatbot AIML{Artificial intelligence markup language is used}

[Working of Chatbot's takes place in 3 stages]

1) It Analyzes the Pattern

 For example: <aiml version="1.0"encoding="UTF-8"?>
                          <category>
                          <pattern> WHO INVENTED COMPUTER</pattern>
                    <template>according to google Charles Babbage invented computer.</template>
                    <category>

                    <category>
                                      <pattern> DO YOU KNOW WHO* IS</pattern>
                                      <template>
                                                         <srai>WHO IS <stat/></srai>
                                      <template>
                              </category>
                              </aiml>

Here it identifies the pattern and gives the respond,
If somebody asks it WHO INVENTED COMPUTER?
then it will identify the pattern and respond According to google Charles Babbage invented computer.

2) Natural language understanding(NLU)
   NLU has 3 concepts 
                    a} Entities
                    b} Context
                    c} Expectation

3) Natural Language Processing
       In this format the chatbot converts the users speech in structured data and then it chooses the relevant answer
          It takes place in 5 steps
                                        
a} Tokenization ; It separates the the series of words that are with different value of application

b}Sentiment Analysis ; It learns the users experience

c}Normalization; It processes the text and identifies the spelling mistakes it may have happen with you many times that you type the incorrect spelling on google and google prompts with the text in blue color Showing results for"                     "
                                                                  Search instead for"                     "

d} Named identity recognition; In this stage the chtbot looks for the similar words to the words that user has typed than it could be the users address or other things.

f} Dependency Parsing; In this stage it searches for the similar verbs,nouns,objects in users text to discover related phrases what users want to convey. 
In most of the applications the chatbot is connected to database which utilizes the database and provides the necessary respond to user.


⚠️Make sure you check my other blog's to do so just click on this link 
🖝techbunnys.blogspot.com🖜⚠️
















No comments :

Post a Comment

Please don't be a jerk
Post comments related to articles only
Spamming is strictly prohibited!