Автор: Daniel Pritchett
Издательство: Pragmatic Bookshelf
Год: 2019
Страниц: 201
Язык: английский
Формат: pdf (true), epub
Размер: 18.5 MB
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.
A chatbot is a program that exists where users already hang out—in chat rooms and messaging programs. Thanks to chatbots, users don’t have to scroll through endless pages or links looking for what they want. Instead, chatbots offer smaller, back-and-forth interactions with a conversational style. You ask the chatbot a question, and it gives you an answer. This type of interaction is more personalized and provides the user with immediate, focused assistance.
The classic chatbot style is a single user in a chat room that has a specific name, like Eliza, Bob, or Computer. The bot you’ll work with in this book is named “Lita” after the Ruby-based chatbot building framework you’ll learn to use. This particular user is available 24/7 to answer certain types of questions and perform known tasks. These known tasks are referred to as chatbot skills and are the primary focus of this book.
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 e-mail 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.
What You Need:
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.
Скачать Build Chatbot Interactions: Responsive, Intuitive Interfaces with Ruby