Building Bots with Node.js

0
Join & Subscribe
LinkedIn Learning
Free Trial Available
English
Certificate Available
2-3 hours worth of material
selfpaced

Overview

Build your own bots. Discover how to leverage Node.js and natural language processing services such as Google Dialogflow and Alexa Skills Kit to build voice and text chatbots.

Bots are the hot new development trend. Bots are interactive solutions, based on artificial intelligence frameworks, that fit an ever-growing number of user cases, from customer service to marketing, sales, and IT. With today’s cloud-based cognitive services, all you need to get starting building your own bots is your existing Node.js skills. This course shows how to build custom bots using Node.js and popular natural language processing (NLP) services such as Google Dialogflow and Alexa Skills Kit. Instructor Daniel Khan shows you how to set up the infrastructure, work with NLP services and APIs, and connect the bot back-end to front-end services like Slack and Alexa. The bots you create will be able to conduct natural and realistic conversations by responding to text or voice commands.

Syllabus

Introduction
  • How bots can change your life as a developer
  • What you should know
  • Using the exercise files
  • Get to know the course project
1. Creating a Slack Bot
  • Introducing Slack and its APIs
  • Setting up a Slack app and a bot user
  • Obtaining and setting credentials for Slack
  • Creating an endpoint for Slack events
  • Setting up a proxy with ngrok
  • Subscribing to events
  • Handling events and sending messages
2. Understanding Natural Language
  • Understanding natural language
  • Setting up WIT.AI
  • Training the model
  • Using the WIT API
  • Booking your first table via Slack
3. Creating Complex Conversations
  • Creating conversational flows
  • Creating a session management service
  • Preparing to add threaded sesssions
  • Creating sessions and threads on mentions
  • Handling threaded messages
  • Implementing a conversation service
  • Adding conversation awareness to slack
  • Training special and partial utterances
  • Handling greetings and good byes
4. Creating a Voice Bot with Alexa
  • Creating an Alexa skill
  • Creating an Alexa endpoint
  • Trying out and tuning the Alexa skill
Conclusion
  • Next steps

Taught by

Daniel Khan