Oracle Digital Assistant can call backend APIs with custom components. The time these APIs take plays a role in user experience. If there’s no way to improve those API response times, then you need to think about how you’re going about user experience and acceptance. This article shows how to provide periodic feedback to users so that time no longer matters.
These are some strategies you might want to consider:
1. If you’re using the Oracle SDKs for Web, iOS or Android, you can use a new 22.02 feature to for adding wait messages when there are delays in bot’s responses.
2. Handle this as an asynchronous process – you might be able to update the user that there request is being processed and they will receive an update via Slack/Teams/SMS/Email (first three would be good candidates to use Oracle Digital Assistant Application-Initiated Conversations feature).
3. If you’re not using one of the Oracle SDKs and you need to respond in a synchronous manner, you could have the custom component periodically update the user on progress by sending a customized wait message. This is the focus of the rest of the article.
Next to the actual use-case this article also shows how one can use OCI services from within a custom component, a convenient way of setting up required OCI resources using OCI Resource Manager/Terraform and a testing strategy for custom components. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Meetups
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic