Building Bots with Node.js 用Node.js构建聊天机器人

所需积分/C币:9 2017-03-19 20:26:35 13.39MB PDF
收藏 收藏

本书是关于如何用Node.js搭建聊天机器人系统框架 Automate workflow and internal communication processes and provide customer service without apps using messaging and interactive bots About This Book Create interactive bots on platforms such as Facebook Messenger, Kik, Telegram, and Skype to automate workflows Create a bo
TTable of contents Building Bots with Node. js Credits about the authors about the reviewer Why subscribe? Customer Feedback Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Downloading the color images of this book Errata racy Questions 1. The Rise of Bots-Getting the Message Across Why bots matter and why you should get on the train Why SMs still matters Twilio as an SMs platform Installing Twilio for node. js Setting up a Twilio account Bare-bones Twilio Node js template Core bot functionality on Azure Receiving sms bot logic Summary 2. Getting Skype to Work for You How a Skype bot works Wiring up our Skype bot Registering our Skype bot app HR Skype bot agent Azure table storage as a backend HR agent guidelines Accessing the Azure table through code HR agent bot logic mmary 3. Twitter as a Flight Information Agent How a Twitter bot works Creating a Twitter app Posting to twitter stening to tweets Replying to who tweeted Flight APls Flight statuS API Route search api Adding a rest client library Making the bot a bit smarter Su ummary 4. A Slack Quote Bot Getting started Registering a bot on Slack Setting up our Node. js app Slackbots library basics The They Said So API Summary 5. Telegram-Powered Bots How a Telegram bot works Setting up a Telegram account Setting up a bot account using a Telegram bot-@Bot Father What is sentiment analysis? Creating a Telegram bot Conversations with our basic Telegram bot Building a sentiment analysis bot Summary 6. BotK it- Document Manager Agent for Slack Setting up a Slack for your team Setting up a Slack bot Botkit and slack Creating our first Slack bot using Botkit and Node is Enhancing our DocMan bot What is MongodB? MongoDB database for our DocMan bot Mongodb shell Create a database Create a reference documents collection Create data for our doman bot Indexing for search Search query What is MongoJS? Wiring up doman bot with MongoDB Amazon s3 storage Amazon s3 console Create buckets Store documents in the bucket Mark documents as public Update Mongodb data with amazon S3 document links Wiring it all up together Code understanding Summary 7. Facebook Messenger Bot, Who's off-A Scheduler bot for Teams Setting up our Facebook Messenger bot The Facebook Page for our basic bot Creating a Facebook app for our basic bot Setting up our bot server in Azure Setting up a local git repository for our bot server in Azure Modifying our bot program for Facebook verification Setting up a webhook and Facebook verification of our bot program Deploying a modified bot that returns an echo Troubleshooting our bot in Azure Enhancing our Who's Off bot Building a conversational experience with the who's off bot Setting up a Messenger greeting Showing the initial options of what a bot can do What is documentDB? Setting up a DocumentDB for our Who's off bot Creating an account Id for the DocumentDB Creating a collection and database Wiring up DocumentDB, Moment s, and Node s Utility functions and Node. js Wiring it all up together Running our bot-the who's off bot Initial options Scheduling a meeting Whos off when Summary 8. A Bug-Tracking Agent for Teams iRC client and server IRC Web-based client IRC bots Creating our first irc bot using irc and Node is Code understanding of our basic bot Enhancing our BugTrackerIRCBot What is documentDB? Setting up a DocumentDB for our Bug TrackerIRCBot Create account id for documentDB Create a collection and database Create data for our Bug TrackerIRCBot Wiring up documentDB and Node. js Wiring up all of this together Code understanding Running our enhanced BugfrackerIRCBot Summary 9.A Kik Salesforce crm bot What is salesforce What is Force. com Kik mobile app Kik bots Our Kik bot Creating our first kik bot Using the Kik dev platform on a browser USing the Kik app from a mobile Setting up our bot server in Azure Kik bot configuration Wiring up our bot server with the Kik platform Understanding the code of our basic Kik bot Running our basic Kik bot Enhancing our Kik bot Salesforce and our bot Security token to access the Salesforce API Wiring it up all together Understanding the code Running our enhanced Kik Salesforce bot sforcebot for campaign management Summary Building bots with node is Building bots with node is Copyright C 2017 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information First published: January 2017 Production reference: 1240117 Published by packt Publishing ltd Livery Place 35 Livery street Birmingham B3 2PB. UK ISBN978-1-78646-545-0

试读 127P Building Bots with Node.js 用Node.js构建聊天机器人
立即下载 低至0.43元/次 身份认证VIP会员低至7折
Building Bots with Node.js 用Node.js构建聊天机器人 9积分/C币 立即下载
Building Bots with Node.js 用Node.js构建聊天机器人第1页
Building Bots with Node.js 用Node.js构建聊天机器人第2页
Building Bots with Node.js 用Node.js构建聊天机器人第3页
Building Bots with Node.js 用Node.js构建聊天机器人第4页
Building Bots with Node.js 用Node.js构建聊天机器人第5页
Building Bots with Node.js 用Node.js构建聊天机器人第6页
Building Bots with Node.js 用Node.js构建聊天机器人第7页
Building Bots with Node.js 用Node.js构建聊天机器人第8页
Building Bots with Node.js 用Node.js构建聊天机器人第9页
Building Bots with Node.js 用Node.js构建聊天机器人第10页
Building Bots with Node.js 用Node.js构建聊天机器人第11页
Building Bots with Node.js 用Node.js构建聊天机器人第12页
Building Bots with Node.js 用Node.js构建聊天机器人第13页
Building Bots with Node.js 用Node.js构建聊天机器人第14页
Building Bots with Node.js 用Node.js构建聊天机器人第15页
Building Bots with Node.js 用Node.js构建聊天机器人第16页
Building Bots with Node.js 用Node.js构建聊天机器人第17页
Building Bots with Node.js 用Node.js构建聊天机器人第18页
Building Bots with Node.js 用Node.js构建聊天机器人第19页
Building Bots with Node.js 用Node.js构建聊天机器人第20页

试读结束, 可继续阅读

9积分/C币 立即下载