Welcome!

Python Authors: Pat Romanski, Matt Davis, AppDynamics Blog, Donald Meyer, Liz McMillan

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
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO 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 t...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
Machine Learning helps make complex systems more efficient. By applying advanced Machine Learning techniques such as Cognitive Fingerprinting, wind project operators can utilize these tools to learn from collected data, detect regular patterns, and optimize their own operations. In his session at 18th Cloud Expo, Stuart Gillen, Director of Business Development at SparkCognition, discussed how research has demonstrated the value of Machine Learning in delivering next generation analytics to impr...
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...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in development and launches of disruptive technologies to create new market opportunities as well as enhance enterprise product portfolios with emerging technologies. His most recent venture was Octoblu, a cross-protocol Internet of Things (IoT) mesh network platform, acquired by Citrix. Prior to co-founding Octoblu, Chris was founder of Nodester, an open-source Node.JS PaaS which was acquired by AppFog and ...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
JETRO showcased Japan Digital Transformation Pavilion at SYS-CON's 21st International Cloud Expo® at the Santa Clara Convention Center in Santa Clara, CA. The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get...