Home

As posted on Building your own chatbot is a lot easier than you’d expect

Three of the undisputed kings of technology — Microsoft, Facebook and Google — all bet big on bots in 2016. It’s too early to say whether or not that was a good move, but we can all agree that bots haven’t gathered mainstream adoption yet. If you’re a believer in the technology and want to start building your own bots before everyone is doing the same, the just-launched Dexter platform might be worth checking out. I’m no coder, but a quick demo had be building some very simple and pointless bots — but nonetheless, I was building within minutes.

The basic Dexter interface isn’t dissimilar to WordPress or any other blogging platform you might have tried. There’s a large main composing window with some toolbars up top and off to the sides. To get started, you type in an example of what the user says to the bot — to keep it simple, you can just start with "hello," or a variety of salutations (hello, hi, sup). Then, you just decide what the bot will say in response — this case, I went with the Lionel Ritchie classic "is it me you’re looking for?"

There’s a window on the right that you can test the code in and make sure you’re getting the responses you wanted, and then it’s just a matter of hitting publish. For starters, Dexter lets you publish a bot to Slack, Facebook Messenger or SMS. That’s all it really takes to get a bot up and running.

Of course, the bot I wrote is basically useless, but at least it introduced me to some basic concepts. From there, I started experimenting a little more. I made a bot that responded to "Engadget is awesome" by saying "Thanks!" and dropping a link to our homepage. It also would drop an amusing "flipping the bird" image in response to any message that had the word "sucks" in it.

My ambitions grew from there — the notion of building something with actual utility popped into my head pretty quickly. The idea I had was a bot that would reply with the latest story published to Engadget when you asked it for the latest news. Unfortunately, the Dexter tool necessary for this wasn’t live just yet, but I was told you’d soon be able to point your bot at an RSS feed for something like this.

I had to content myself with making a bot that dropped a picture of a cute dog or cat depending on which you asked to see. Dropping images, links and other media in response to queries is exceedingly simple — it’s basically like using HTML code.

If you want to build anything more complicated than the silly bots I made, you’ll obviously need to invest a lot more time. But the thing I liked the most about Dexter was how easy it was to dive right in and also how quickly I started to imagine things to do beyond just the basic tutorials. The good news is if you want to start trying to make your own bot, it’s free for starters — if you start attracting an audience, it won’t be free forever. But the combo of free and easy was compelling enough to make me think about trying to build something a bit more complex than a bot that just drops a picture of a dog on demand.

Click here to catch up on the latest news from SXSW 2017.
http://ift.tt/2mfY5Hm