Live data from Hacker News

Building an IBM Watson-powered AI Chatbot in 50 lines of code

medium.com

1–10 of 30 posts

Re: Building an IBM Watson-powered AI Chatbot in 50 lines of code

#3

With todays abundance of APIs, libraries etc, the phrase "in xx lines of code" should be put to rest.

> With todays abundance of APIs, libraries etc, the phrase "in xx lines of code" should be put to rest.

Here is someone sharing their experiment/code and the best that can be said is "gotta put to rest this phrase".

Not that I am particularly interesting in chat bots, but what is disconcerting is the attitude of hurling negativity into a thread of discussion.

Why not just skip it and not say anything and move on to another topic?

Maybe it's ok to be negative if this is a news piece from NYT, but it is sad watching that happen in response to someone showing what they've been hacking on.

"What did you do today?" -- "I built a cool chat bot"

"What about you?" -- "I told the person who built a chat bot to change the title, cause I didn't like his title".

Re: Building an IBM Watson-powered AI Chatbot in 50 lines of code

#4
This is a great simple example of building a bot and could be a nice starting point for a lot of of projects.

If you are interested, there are more advanced techniques as well. For example, https://github.com/watson-developer-cloud/conversational-age... shows a conversational agent that combines a natural language classifier with a dialog engine. The cool thing about using NLC is that you can infer user intent from ambiguous inputs to make a more robust bot.

It will be interesting to see if all this new interest in bots represents the coming of useful bots or if it's just a fad. I love using bots in specific, tool-like ways, like getting github updates. But seeing someone build up a bot that can really tackle natural language to do useful things in a predictable manner would be amazing and could change how we interact with computers in general.

Disclosure: I am a Watson Developer Cloud Evangelist

Re: Building an IBM Watson-powered AI Chatbot in 50 lines of code

#6
post #3

With todays abundance of APIs, libraries etc, the phrase "in xx lines of code" should be put to rest.

> With todays abundance of APIs, libraries etc, the phrase "in xx lines of code" should be put to rest. Here is someone sharing their experiment/code and the best that can be said is "gotta put to rest this phrase". Not that I am particularly interesting in chat bots, but what is disconcerting is the attitude of hurling negativity into a thread of discussion. Why not just skip it and not say anything and move on to a…

I didn't tell the author to change the title.

I just stated, that for me, yes that is only one data point, an improvement would be to leave the in xx LOCs out since it is meaningless.

Re: Building an IBM Watson-powered AI Chatbot in 50 lines of code

#9
Nice!

Shameless plug: I'm working on a SDK to make the Watson speech services easier to use in web browsers. It's still got a few rough edges, but it's usable right now, and I'd love to hear feedback from other devs: https://github.com/watson-developer-cloud/speech-javascript-...

Update: here's a quick mashup I built with that SDK and the existing demo of the Watson Dialog service a little while back: https://speech-dialog.mybluemix.net/ (warning: audio auto-plays)

(I work at IBM, at least for the moment...)

Post reply on HN