Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Easiest Way To Make An Ai Chatbot
#1
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 Wit.ai libraries.


Thanks for taking your time to read this. Smile


Attached Files Thumbnail(s)
   
#LightYagami


Possibly Related Threads...
Thread Author Replies Views Last Post
  TUTORIAL: Meta Tag Code To Make Search Engine To Crawl Your Blog Every Second wisetalent1 0 48 07-10-2017, 09:39 PM
Last Post: wisetalent1
  See Some Reasons Why Any Programmer Can't Make A Website Like Facebook? iamdannyfc 12 200 06-27-2017, 03:20 PM
Last Post: AdeSanoye AdeLeye BennySwag
  Cost To Make An Ios Or Android App LightYagami 0 57 06-15-2017, 12:54 PM
Last Post: LightYagami
  SHARED: Hidden Opera mini Code That Would Make Your Browsing Time Wonderful. 2016raven 0 222 01-14-2017, 09:53 PM
Last Post: 2016raven
  How To Make Money From Open Source Software/Project As A Programmer Aphatheology 1 217 12-10-2016, 06:52 PM
Last Post: Dealwap
  Good Tools To Make You Good At Solving Programming Problems Dealwap 1 165 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

              Advertise