Creating Loops in Oracle Digital Assistant Skill Bots using BotML by Frank Nimphius

image

As you may know, the Common Response component (System.CommonResponse) can be used to iteratively stamp response items sourced from an array. Sometimes however it is not the repeated rendering of a response item that bot designers need but the repeated looping over a dialog flow state or many dialog flow states (block). In this quick tip I explain how to create a loop in the dialog flow of a skill bot that gets terminated when a specific condition is met.

Building Loops in OBotML

OBotML is the YAML based syntax of the dialog flow in a skill bot. In the following I explain how you create a bot response as shown below by iterating over states in a dialog flow. Its easy for you then to modify the sample for a more complex use case you may have. 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 Community,Oracle,OPN,Jürgen Kress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.