July 2018
Intermediate to advanced
404 pages
9h 5m
English
Redis will be used for both Alexa and Dialogflow requests to maintain the conversational state. In the beginning of the code, you will be declaring the Redis authentication key, the host, and the port in order to establish a Redis connection later in the section, where you maintain the conversation state to handle GetMoreRecipesIntent.
The following code provides the Redis connection information:
var redis = require("redis");var redisAuth = 'redis auth code goes here';var redisHost = 'henrytest.redis.cache.windows.net';var redisPort = 6380;
Then, you will be setting up winston-azure-blob-transport, which writes the logs to the Microsoft Azure Blob storage. You will be setting the log level, the blob key, the blob container ...
Read now
Unlock full access