At Oracle Code One in October, and also on DOAG in Nurnberg Germany in November I presented on how to go beyond your regular chatbot. This presentation contained a part on exposing your Oracle Digital Assistant over Alexa and also a part on face recognition. I finally found the time to blog about it. In this blogpost I will share details of the Alexa implementation in this solution. Typically there are 3 area's of interest which I will explain. Webhook Code to enable communication between Alexa and Oracle Digital Assistant Alexa Digital Assistant (DA) Explaining the Webhook Code The overall setup contains of Alexa, a NodeJS webhook and an Oracle Digital Assistant. The webhook code will be responsible for receiving and transforming the JSON payload from the Alexa request. The transformed will be sent to a webhook configured on Oracle DA. The DA will send its response back to the webhook, which will transform into a format that can be used by an Alexa device. To code
In my previous post I described how to use node-red to interact with twitter. That post was based on some initial research which was eventually used as a basis for the post that you are reading now. For one of our projects I had to setup an Oracle Chatbot on twitter. Now as you might know, Oracle Digital Assistant supports many channels, such as web, facebook, android and iOS, but twitter is not supported. The way to expose a chatbot to a 'not supported' channel is to use a channel of the webhook type. In this post I describe how I created a working prototype that exposes an Oracle Digital Assistant to Twitter. The things you need for this are the following: Twitter application which is needed to use the Twitter API's to interact with twitter A nodejs application where you code the functionality A Digital Assistant instance to hold the Bot Installation of ngrok to test from your local machine Create a twitter application If you have an approved twitter develop