Welcome!

Java IoT Authors: Yeshim Deniz, Pat Romanski, Elizabeth White, Liz McMillan, Zakia Bouachraoui

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 serves as the Senior Vice President, Solutions Strategy, at Regalix, a Silicon Valley based company, focused on bringing the best strategies, digital technologies, processes and people together to deliver improved customer experiences, journeys and success through the combination of intelligent solutions, analytics, automation and services. He is a popular writer, speaker and futurist, and in the past 8 years he has taught workshops for large enterprises and government agencies in 18 different countries. He has over 32 years of experience working with strategic enterprise IT solutions and business processes, and he is also a veteran executive working with both solution and services companies. He has written dozens of technology and strategy reports, over a thousand articles, interviewed hundreds of technology experts, and produced videos on the future of digital technologies and their impact on industries.

IoT & Smart Cities Stories
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
DXWorldEXPO LLC announced today that Ed Featherston has been named the "Tech Chair" of "FinTechEXPO - New York Blockchain Event" of CloudEXPO's 10-Year Anniversary Event which will take place on November 12-13, 2018 in New York City. CloudEXPO | DXWorldEXPO New York will present keynotes, general sessions, and more than 20 blockchain sessions by leading FinTech experts.
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Ben Perlmutter, a Sales Engineer with IBM Cloudant, demonstrated techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user e...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (November 12-13, 2018, New York City) today announced the outline and schedule of the track. "The track has been designed in experience/degree order," said Schmarzo. "So, that folks who attend the entire track can leave the conference with some of the skills necessary to get their work done when they get back to their offices. It actually ties back to some work that I'm doing at the University of ...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Rodrigo Coutinho is part of OutSystems' founders' team and currently the Head of Product Design. He provides a cross-functional role where he supports Product Management in defining the positioning and direction of the Agile Platform, while at the same time promoting model-based development and new techniques to deliver applications in the cloud.
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and Bi...