Pages: 206 Published: June 2019 ISBN: 9781680506327
In Print
Build Chatbot Interactions
Responsive, Intuitive Interfaces with Ruby
by Daniel Pritchett
The next step in the evolution of user interfaces is here. Chatbots let
your users interact with your service in their own natural language. Use
free and open source tools along with Ruby to build creative, useful,
and unexpected interactions for users. Take advantage of the Lita
framework’s step-by-step implementation strategy to simplify bot
development and testing. From novices to experts, chatbots are an area
in which everyone can participate. Exercise your creativity by creating
chatbot skills for communicating, information, and fun.
Developers of all skill levels can craft user experiences that are
natural, easy to use, and most of all, fun. Build chatbots using free,
open source tools and launch them to popular chat platforms like Slack
and Amazon’s Alexa. Use the Ruby programming language and the Lita bot
framework to unlock fun and powerful chat abilities such as sending text
messages and emails, creating new meme images, driving a robot around
the room, and talking out loud on a home speaker.
Use frameworks available in Ruby and Node.js to get started quickly.
Create simple chatbot skills that respond quickly to basic requests.
Chain skills together for more complex interactions. Take advantage of
test-driven development techniques to build your bots with confidence.
Coordinate tasks with colleagues via bot. Connect with external APIs to
provide users with data they need. Extract data information from web
pages when an API isn’t available. Expand your bot’s reach with SMS and
email messaging. Deploy a chatbot to a host so users can interact with
it on their schedule.
Build a more responsive, easy-to-use interface for your users today.
You don’t need much to get started with chatbots. A Mac or Linux
computer with a recent version of Ruby is recommended. Windows users can
keep up with a free virtual machine running Linux. You’ll deploy your
chatbots for free (or at least cheaply) on cloud hosting platforms like
Heroku and Digital Ocean.
Daniel Pritchett is a consulting programmer, speaker, and user group
supporter in Memphis, Tennessee. He builds infrastructure tooling for
internet companies. If it’s interesting and useful, Daniel wants to help
you build it.