Welcome!

Machine Learning Authors: Pat Romanski, Elizabeth White, Yeshim Deniz, Jason Bloomberg, 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.

CloudEXPO Stories
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next-gen applications and how to address the challenges of building applications that harness all data types and sources.
Lori MacVittie is a subject matter expert on emerging technology responsible for outbound evangelism across F5's entire product suite. MacVittie has extensive development and technical architecture experience in both high-tech and enterprise organizations, in addition to network and systems administration expertise. Prior to joining F5, MacVittie was an award-winning technology editor at Network Computing Magazine where she evaluated and tested application-focused technologies including app security and encryption-related solutions. She holds a B.S. in Information and Computing Science from the University of Wisconsin at Green Bay, and an M.S. in Computer Science from Nova Southeastern University, and is an O'Reilly author.
CloudEXPO New York 2018, colocated with DevOpsSUMMIT and DXWorldEXPO New York 2018 will be held November 12-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI and Machine Learning to one location.
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
ICC is a computer systems integrator and server manufacturing company focused on developing products and product appliances to meet a wide range of computational needs for many industries. Their solutions provide benefits across many environments, such as datacenter deployment, HPC, workstations, storage networks and standalone server installations. ICC has been in business for over 23 years and their phenomenal range of clients include multinational corporations, universities, and small businesses.