Welcome!

Related Topics: @ThingsExpo, Machine Learning , Artificial Intelligence

@ThingsExpo: Article

To Bot, or Not to Bot | @ThingsExpo #AI #IoT #M2M #MachineLearning

Understanding Chat Bots

I developed a bot.  Last weekend I opened the website https://rundexter.com/bot and developed a bot, which I then integrated with Twilio for messaging.  I named it BeccaBot after our daughter.  Just to be clear, her name is Becca, not Bot. It was a bot designed purely to freak-out our daughter.  It was highly successful.  Here are some things I learned.

You tell the bot to look for specific words or even phrases and then act upon them in specified ways.  You can answer with text, or a website link, or an image, etc.  You can ask for a name, and program the bot to remember the name. For example:

User: Hello

Bot: Hi, what's your name?

User: Becca

Bot: Hello Becca!

Bot: I've been reading your Facebook page and see you were in Seattle recently with Claire.

That last part I added just to freak-out my daughter - a father's prerogative. The bot was not programmed to read her Facebook page, although it's possible if Facebook made that API and granted permission.

You can delay sending responses so the bot looks slow at typing - like a human.  You can lead the human by asking for choices:

Bot: Would you like to learn "more information", or "exit" now?

More sophisticated bots can integrate with all kinds of APIs so they can reference the weather at your location, traffic conditions, and even news headlines, etc.  Simply by referencing connected data and inserting it into conversations.

Bot: In what city and state do you reside?

User: Chicago, Illinois

Bot: I noticed it has been raining in Chicago this morning.  Perhaps that is the reason traffic was so bad.

Bot: Heh!  What about the Cubs victory last night!?

I learned you can create multiple topic trees like - Default Conversation, Problems/Complaints, Resources, Weather, Survey Questions, etc.  As you are developing a conversation between the user and the bot you can turn down various topic trees, and then return to the main script.

More advanced bots can access sophisticated algorithms that allow you to reference all kinds of databases, calculations and processes to provide answers to questions.

User: What is my mortgage payout for my 104 Main Street home?

Bot: As of March 15th your payout is $124,675, that includes the payment received on March 13th, but does not include any payments that might have arrived yesterday.

Bot: What about Da Bears last Sunday?

What I learned during my little bot-prank exercise on our daughter is that bots are scripts - scripts with algorithms, which can request, save and insert data.

I learned that voice-based chat-bots convert audio words into text, which the underlying text based bot can use. The audio word recognition and audio word feedback is simply another layer on the chat-bot solution stack.

I learned sentiment layers could be added. Layers that recognize particular words as "angry," "frustrated," "happy," "sad," "glad," etc. Each of these words can help the bot respond in a different and more appropriate way.

User:  I am NEVER doing business with you again, you knucklehead!

Bot: Having looked into your account and payment history, I can tell you we don't want your business either.

Bot: By the way, is your wife available to speak? She is much nicer.

I learned sensors, sharing data in real-time, can add reality to the conversation.

Bot:  You have been opening the refrigerator a lot lately - 67% more than usual.

Bot: Summer's coming and the elastic in your Speedos do have limits.

Today, Bots are only as smart as the developer making them.  In my case there was no concern that singularity would evolve or erupt from my efforts.  Although I did achieve the level of creepy according to my daughter who spent 10 minutes texting with the BeccaBot as it explained to her how wonderful I am.

I invite you to watch my latest short video on digital technology trends and strategies:

Download the full report with charts and data sources here.

Follow Kevin Benedict on Twitter @krbenedict

More Stories By Kevin Benedict

Kevin Benedict is an opinionated Senior Analyst at Cognizant's Center for the Future of Work, SAP Mentor Alumnus, speaker, writer, and mobile and digital strategies expert. He is a popular keynote speaker, and in the past three years he has shared his insights into mobile and digital strategies with companies in 17 different countries. He has over 30 years of experience working with enterprise applications, and he is a veteran mobile industry executive. He wrote the Forward to SAP Press' bestselling book on enterprise mobility titled Mobilizing Your Enterprise with SAP, and he has written over 3,000 articles.

Latest Stories
"I think DevOps is now a rambunctious teenager – it’s starting to get a mind of its own, wanting to get its own things but it still needs some adult supervision," explained Thomas Hooker, VP of marketing at CollabNet, in this SYS-CON.tv interview at DevOps Summit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We are still a relatively small software house and we are focusing on certain industries like FinTech, med tech, energy and utilities. We help our customers with their digital transformation," noted Piotr Stawinski, Founder and CEO of EARP Integration, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We've been engaging with a lot of customers including Panasonic, we've been involved with Cisco and now we're working with the U.S. government - the Department of Homeland Security," explained Peter Jung, Chief Product Officer at Pulzze Systems, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"DivvyCloud as a company set out to help customers automate solutions to the most common cloud problems," noted Jeremy Snyder, VP of Business Development at DivvyCloud, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We're here to tell the world about our cloud-scale infrastructure that we have at Juniper combined with the world-class security that we put into the cloud," explained Lisa Guess, VP of Systems Engineering at Juniper Networks, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Your homes and cars can be automated and self-serviced. Why can't your storage? From simply asking questions to analyze and troubleshoot your infrastructure, to provisioning storage with snapshots, recovery and replication, your wildest sci-fi dream has come true. In his session at @DevOpsSummit at 20th Cloud Expo, Dan Florea, Director of Product Management at Tintri, provided a ChatOps demo where you can talk to your storage and manage it from anywhere, through Slack and similar services with...
"At the keynote this morning we spoke about the value proposition of Nutanix, of having a DevOps culture and a mindset, and the business outcomes of achieving agility and scale, which everybody here is trying to accomplish," noted Mark Lavi, DevOps Solution Architect at Nutanix, in this SYS-CON.tv interview at @DevOpsSummit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We were founded in 2003 and the way we were founded was about good backup and good disaster recovery for our clients, and for the last 20 years we've been pretty consistent with that," noted Marc Malafronte, Territory Manager at StorageCraft, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We are an IT services solution provider and we sell software to support those solutions. Our focus and key areas are around security, enterprise monitoring, and continuous delivery optimization," noted John Balsavage, President of A&I Solutions, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We provide IoT solutions. We provide the most compatible solutions for many applications. Our solutions are industry agnostic and also protocol agnostic," explained Richard Han, Head of Sales and Marketing and Engineering at Systena America, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We want to show that our solution is far less expensive with a much better total cost of ownership so we announced several key features. One is called geo-distributed erasure coding, another is support for KVM and we introduced a new capability called Multi-Part," explained Tim Desai, Senior Product Marketing Manager at Hitachi Data Systems, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
There is a huge demand for responsive, real-time mobile and web experiences, but current architectural patterns do not easily accommodate applications that respond to events in real time. Common solutions using message queues or HTTP long-polling quickly lead to resiliency, scalability and development velocity challenges. In his session at 21st Cloud Expo, Ryland Degnan, a Senior Software Engineer on the Netflix Edge Platform team, will discuss how by leveraging a reactive stream-based protocol,...
SYS-CON Events announced today that Calligo, an innovative cloud service provider offering mid-sized companies the highest levels of data privacy and security, has been named "Bronze Sponsor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Calligo offers unparalleled application performance guarantees, commercial flexibility and a personalised support service from its globally located cloud plat...
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...