Created
March 29, 2018 00:03
-
-
Save ajb413/d276b2d840ea138fd50ac58cec3e5d50 to your computer and use it in GitHub Desktop.
Amazon Comprehend ChatEngine demo snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Be sure to replace strings with your own App's Publish & Subscribe keys | |
// Also replace the REST endpoint with your own On Request handler | |
var userPubKey = '__PUBNUB_PUBLISH_KEY__'; | |
var userSubKey = '__PUBNUB_SUBSCRIBE_KEY__'; | |
var comprehendFunctionURI = 'https://pubsub.pubnub.com/v1/blocks/sub-key/__SUB_KEY__/__URI__'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment