Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Easiest Way To Make An Ai Chatbot
If you are trying to build a general purpose AI based personal assistant, the technology is still decades away, but if you want to build a chatbot for a specific application lets say booking a cab, which has a defined set of inputs and a defined set of outputs then building a chatbot could be relatively simple.

[Image: f46883d0]

A. The first step is identifying the input and categorising it in the correct bucket.

Taking the cab example again. Lets say we have two predefined categories, Booking and Route Information. Your users key in following inputs

  1. “Book me a cab from Thane to Dadar”

  2. “Tell me the fare from Thane to Dadar”

The first input would be categorised under Booking and 2nd would be categorised under Route Information. This categorisation is usually done on the basis of keyword identification.

In the two inputs above the keywords would be,

Booking - book, cab

Route Information - fare

B. The next step is dynamically improving the categorization.

Lets say the next input you get is the following,

“Tell me the price of cab between Thane to Dadar”

Now the keywords in this input are price and cab, so if we depend solely on our keyword mapping in previous step, then we would incorrectly label this input under Booking whereas the actual category should be Route Information.

This is where AI plays a critical role in not only identifying the keywords but also deciding their weights based on previous input. The more data sets you have the better the accuracy of category prediction.

Hopefully this info should be useful for you to build a basic chatbot. Identification of keywords requires basic understanding of natural language processing. You could look at third party libraries such as spacy, nltk or Stanford NLP

Alternatively if you want to build the chatbot for facebook you could use libraries.

Thanks for taking your time to read this. Smile

Attached Files Thumbnail(s)

Possibly Related Threads...
Thread Author Replies Views Last Post
  See Some Reasons Why Any Programmer Can't Make A Website Like Facebook? iamdannyfc 13 266 09-24-2017, 06:33 PM
Last Post: Sadiq9301
  FIXED: Easy Way To Make An Anchor Tag Width 100% And An Input Text Field Fit A Div Sadiq9301 2 22 09-22-2017, 02:15 PM
Last Post: rhexlord
  TUTORIAL: Meta Tag Code To Make Search Engine To Crawl Your Blog Every Second wisetalent1 0 126 07-10-2017, 09:39 PM
Last Post: wisetalent1
  Cost To Make An Ios Or Android App LightYagami 0 65 06-15-2017, 12:54 PM
Last Post: LightYagami
  SHARED: Hidden Opera mini Code That Would Make Your Browsing Time Wonderful. 2016raven 0 248 01-14-2017, 09:53 PM
Last Post: 2016raven
  How To Make Money From Open Source Software/Project As A Programmer Aphatheology 1 231 12-10-2016, 06:52 PM
Last Post: Dealwap
  Good Tools To Make You Good At Solving Programming Problems Dealwap 1 174 12-10-2016, 12:25 PM
Last Post: Dealwap

Users browsing this thread: 1 Guest(s)

About Nigeria's Creative Talents

Nigeria's Creative Talents is an online community where every creative Nigerians can share ideas with themselves.

For any more information, please use our contact form.

              User Links