Printing Multi-Line Text Messages from an Output component by Frank Nimphius

image

All bot responses are messages. The most common output is the text message that prints in a bubble. Especially at the end of a bot task, bot designers look for a way to print a summary of outcome of the user-bot interaction. For this, designers have different requirements

· Print text messages in Multiple Bubbles

· Print multi-line text messages in a single bubble

Printing Messages in Multiple Bubbles

In Oracle Digital Assistant, a message in a bubble is the outcome of a System.Output component, a System.CommonResponse component, or calls to conversation.reply(message) in a custom component. From a UX perspective, printing messages in multiple bubbles appears more engaging than a long message in a single bubble. Well, at least until you print too many message bubbles so the user loses orientation with this approach.

The key to printing multiple messages in a bubble is to keep on printing message without waiting for users to provide another input. Here’s How you do it. 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

Advertisement

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 )

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.