article by Frank Nimphius, August 2019

 

DISCLAIMER (March 2020): The solution in this article works for Oracle Digital Assistant version 19.4.1. In Oracle Digital Assistant 20.x and later, which run on Oracle Cloud Infrastructure (OCI), the solution does no longer work due to the change in the authorization. Authorization in OCI based Oracle Digital Assistant requires request signatures and no longer OAuth2 access tokens. 

How to access to conversation logs is common question among Oracle Digital Assistant bot designers, developers and administrators.

Oracle Digital Assistant provides several options for accessing conversation logs. A new option, which was introduced in Oracle Digital Assistant Version 19.1.5, is the ability to access session-specific conversation log information through a protected REST API. This REST API can also be used from a custom component to access the conversation log for a session for further processing.

There are a couple of usecases that come to mind for accessing logs. For illustration purposes, the usecase in the example of this article is to display the bot-conversation to the user before committing the transaction. Similar, you could use the content of the conversation log to send a summary as a mail to the user.

Using many screenshots, this article explains how to access conversation session specific log information from a custom component. The custom component and sample skill used in this article is provided for you to download.  

Read Full Article (PDF)

Download the Sample Code

 

Related content

TechExchange Quick-Tip: How to Export Conversation Logs in Oracle Digital Assistant Using Bots Insights REST APIs

TechExchange – Tutorial: Building Custom Component Services for Oracle Digital Assistant in Under 5 Minutes with Oracle Bots Node.js SDK

Custom component development and backend integration hands on tutorial

TechExchange Quick-Tip: Customizing the Oracle Bots Node.js SDK Component Template

TechExchange: Oracle Bots Node.js SDK: Building Webhook Clients for Oracle Intelligent Bots Made Easy

TechExchange: Integrating Google ReCaptcha in Oracle Digital Assistant Chatbot Conversations Using System.Webview and a Custom Component

TechExchange – Tutorial: How-to Debug Custom Component Services Deployed to Oracle Digital Assistant Skill Bot Local Component Container

Author