2.3 ODA – Dialog Flow Development

Each menu option displayed in BOT are configured as an Intent which is configured to perform a specific function or otherwise call a REST service in OFSLL.

In-order to achieve a sequence of menu options, dialog flow development is required to be performed in ODA Oracle Digital Assistant. Following is a quick overview of steps involved:

  • Login
  • Creating Skill / Digital Assistant
  • Defining Entity
  • Adding Intents
  • Updating Bot flow using Yaml
  • Adding OFSLL REST service
  • Configuring Channel for Publishing
  • Publishing

It is recommended to refer to ODA documentation for detailed information - https://docs.oracle.com/en/cloud/paas/digital-assistant/index.html

In the ODA - dialog flow development, you can either create new or import the given sample available in path – <release.zip>\LL\release\14_x_0_0_0\ws_as\ChatBot\documentation-bot

The sequence of flow in creating a sample BOT in ODA is indicated below with illustration:

  1. Login to ODA UI
  2. Go to Home
  3. Create Skill/Digital Assistant.
  4. Add Entities
  5. Add Intents. This involves defining Activity, Available option, Next level, Breakpoint, intermediate steps.
  6. Add Bot flow using Yaml
  7. Add OFSLL REST Service
  8. Add Channel. This indicates where it has to be published and in this sample application, only web channel is supported.
  9. Enter the published URL as generated in step 2.6
  10. After completion of Skill, publish. On publishing, the draft is converted to final non-editable version and only final published version is accessible in bot.
  11. Additional security layer is available to allow chatbot to work for specific registered domains. To do so, select the channel, navigate to Allowed Domains and add the domain name in the field. For example, adding *in.company1.com* allows chatbot to work only from company1 domain.
  12. There is also an option to define the session time-out for chatbot which by default is set to maximum of 1440 minutes. You can enter the required time in minutes.

    Note:

    The ofsll-documentation-bot is the sample ODA FLL application designed for the demo purpose. The same can be imported in any ODA environment tested, modified for new features.