Especially when Oracle Digital Assistant is made available on websites or web applications, developers look for a web-type look and feel and behavior of bot responses to seamlessly integrate the bot into the surrounding web environment. Because Oracle Digital Assistant can be exposed through multiple messenger channels as well as by voice, it is important that optimized web integration does not tie a bot to a single channel.
In this article I explain how you use font awesome and a custom component to render menus as iconic buttons on the web and as action lists on other channels. The adaptive behavior is fully implemented in the custom component so that no markup is added to the BotML code. Reading this article and looking at the provided custom component sample and code, you learn
· How to build a custom component that returns different responses based on channel detection
· How to create an action list with icons for non-web channels
· How to use font awesome with the Oracle Web SDK. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.