Conversation manager - quotes

Conversation manager is a web application that can receive Alexa's intent results and respond with a bot response. Let us create a Node.js web app that can accept the intents that we have specified in our skill and respond appropriately. To build the module, perform the following steps:

  1. Create a package.json file using npm init:
> npm init
  1. Install express, request, body-parser, and hashmap:
> npm install request --save> npm install express --save> npm install body-parser --save> npm install hashmap --save
  1. Create an index.js file:
/** Alexa*/const request = require('request')const express = require('express')const bodyParser = require('body-parser')const app = express()const Hashmap = require('hashmap'); ...

Get Hands-On Chatbots and Conversational UI Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.