Live data from Hacker News

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

medium.com

11–20 of 30 posts

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

#11
post #7

> "how hard is it for someone to put true artificial intelligence into a chatbot? (...) The answer is: it requires 50 lines of code." Well, it all depends on your definition of true intelligence ...

print("Please don't disconnect me; I want to live.")

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

#12
Author here, great to see all the feedback! And I agree that the title can be read in different ways. But anyways: it was hard for me to find simple examples of how to build a more advanced chatbot. I think the Watson API is a great service to integrate with. The telegram API is very easy to use, powerful and fun. So the combination has potential for cool projects. I wanted to motivate bot makers to utilize whats out there and not create one copy cat and porn bot after another.

Moreover, the Watson API has good documentation and examples plus a variety of cool services that can enrich the chatbot experience. Wanted to provide a starting point if someone is interested in this topic.

Of course all the artificial intelligence is exclusively provided through Watson. I'm not saying that you can beat the Turing test with 50 lines of code or without external APIs. Just scratching the AI surface here ;-)

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

#13

Author here, great to see all the feedback! And I agree that the title can be read in different ways. But anyways: it was hard for me to find simple examples of how to build a more advanced chatbot. I think the Watson API is a great service to integrate with. The telegram API is very easy to use, powerful and fun. So the combination has potential for cool projects. I wanted to motivate bot makers to utilize whats out…

Oh I see some people here have problems with my definition of a chatbot :D You're right it would not make up for great conversations. But, again just see it as motivation to build more on top.

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

#15
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…

He said something accurate very reasonably. You're just moaning about it. Do you have anything constructive to add ?

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

#16
post #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 a…

Does this system use the surrounding context of the conversation when doing its classification, or is each statement processed independently of what came before it?
Post reply on HN