Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Optimization issue with Oracle Digital Assistant Native Client SDK for Web

Summary:


Content (required):

We have embedded an ODA chatbot into our VBCS application using the web-sdk library (AMD compatible). (https://docs.oracle.com/en/cloud/paas/digital-assistant/sdk-js/index.html)

If we stage/publish the app from VBCS everything works fine.

But if we use the build Job and within that use Optimization, the Bot fails for some of the actions with the following message.

Uncaught TypeError: this._stopPromise.resolve is not a function
  at M.stopRecognition (web-sdk.js:5:1)
  at O.stopRecognition (web-sdk.js:5:1)
  at Ut.onSpeechToggle (web-sdk.js:5:1)
  at Ut.onMessageActionClicked (web-sdk.js:5:1)
  at et.handleOnActionClick (web-sdk.js:5:1)
  at D.handleOnClick (web-sdk.js:5:1)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!