X

Developer Partner Community

How-to Download Documents in Oracle Digital Assistant Conversations by Frank Nimphius

Juergen Kress
PaaS Partner Adoption

image

In a recent Oracle TechExchange article, Upload Documents in an Oracle Digital Assistant Conversation with Messengers like Facebook or the Oracle JavaScript Client SDK, I explained how to upload documents in a messenger client through Oracle Digital Assistant. In this article I now explain the opposite, which is how to download of documents like audio, video, image and document files within a bot conversation.

Basically, to download documents in Oracle Digital Assistant conversations, you have three implementation options available:

· Using the System.CommonResponse component attachment response type, you navigate to a dialog flow state that returns the download URL along with the document type (audio, video, image, file) to the messenger client to download the content. The rendering of the document, whether it is in place within the messenger conversation, or in an external browser or webview window, is not in the control of Oracle Digital Assistant but the messenger used.

· Using a custom component, you use the JavaScript MessageModel object available in the Oracle custom component SDK. Using a custom component is what you would use if the document URL and type is accessed dynamically from a remote service call. The rendering location, in-place within the messenger client, or external in a web browser or webview, depends on the messenger client used. Oracle Digital Assistant , like any other chatbot too, does not control the messenger client. Read the complete article here.

 

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.