GETTING STARTED
Kore.ai XO Platform
Virtual Assistants Overview
Natural Language Processing (NLP)
Concepts and Terminology
Quick Start Guide
Accessing the Platform
Working with the Builder
Building a Virtual Assistant
Using Workspaces
Release Notes
Current Version
Previous Versions
Deprecations

CONCEPTS
Design
Storyboard
Dialog Tasks
Overview
Dialog Builder
Node Types
Intent Node
Dialog Node
Entity Node
Form Node
Confirmation Node
Message Nodes
Logic Node
Bot Action Node
Service Node
Webhook Node
Script Node
Group Node
Agent Transfer
User Prompts
Voice Call Properties
Dialog Task Management
Connections & Transitions
Component Transition
Context Object
Event Handlers
Knowledge Graph
Introduction
Knowledge Extraction
Build Knowledge Graph
Add Knowledge Graph to Bot
Create the Graph
Build Knowledge Graph
Add FAQs
Run a Task
Build FAQs from an Existing Source
Traits, Synonyms, and Stop Words
Manage Variable Namespaces
Update
Move Question and Answers Between Nodes
Edit and Delete Terms
Edit Questions and Responses
Knowledge Graph Training
Knowledge Graph Analysis
Knowledge Graph Import and Export
Importing Knowledge Graph
Exporting Knowledge Graph
Creating a Knowledge Graph
From a CSV File
From a JSON file
Auto-Generate Knowledge Graph
Alert Tasks
Small Talk
Digital Skills
Digital Forms
Views
Introduction
Panels
Widgets
Feedback Survey
Train
Introduction
ML Engine
Introduction
Model Validation
FM Engine
KG Engine
Traits Engine
Ranking and Resolver
NLP Configurations
NLP Guidelines
Intelligence
Introduction
Contextual Memory
Contextual Intents
Interruption Management
Multi-intent Detection
Amending Entities
Default Conversations
Sentinment Management
Tone Analysis
Test & Debug
Talk to Bot
Utterence Testing
Batch Testing
Conversation Testing
Deploy
Channels
Publish
Analyze
Introduction
Conversations Dashboard
Performance Dashboard
Custom Dashboards
Introduction
Meta Tags
Dashboards and Widgets
Conversations History
Conversation Flows
Feedback Analytics
NLP Metrics
Containment Metrics
Usage Metrics
Smart Bots
Universal Bots
Introduction
Universal Bot Definition
Universal Bot Creation
Training a Universal Bot
Universal Bot Customizations
Enabling Languages
Store
Manage Assistant
Plan & Usage
Overview
Usage Plans
Support Plans
Invoices
Authorization
Multilingual Virtual Assistants
Masking PII Details
Variables
IVR Settings
General Settings
Assistant Management
Data Table
Table Views
App Definitions
Sharing Data Tables or Views

HOW TOs
Build a Flight Status Assistant
Design Conversation Skills
Create a Sample Banking Assistant
Create a Transfer Funds Task
Create a Update Balance Task
Create a Knowledge Graph
Set Up a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Add Data to Data Tables
Update Data in Data Tables
Add Data from Digital Forms
Train the Assistant
Use Traits
Use Patterns for Intents & Entities
Manage Context Switching
Deploy the Assistant
Configure an Agent Transfer
Use Assistant Functions
Use Content Variables
Use Global Variables
Web SDK Tutorial
Widget SDK Tutorial
Analyze the Assistant
Create a Custom Dashboard
Use Custom Meta Tags in Filters

APIs & SDKs
API Reference
API Introduction
API List
API Collection
koreUtil Libraries
SDK Reference
SDK Introduction
SDK Security
SDK Registration
Web Socket Connect and RTM
Using the BotKit SDK
BotKit SDK Tutorial - Blue Prism

ADMINISTRATION
Introduction
Assistant Admin Console
Administration Dashboard
User Management
Add Users
Manage Groups
Manage Roles
Assistant Management
Enrollment
Invite Users
Send Bulk Invites
Import User Data
Synchronize Users from AD
Security & Compliance
Using Single-Sign On
Security Settings
Cloud Connector
Analytics
Billing
  1. Home
  2. Docs
  3. Virtual Assistants
  4. Builder
  5. Creation
  6. Conversation-driven Dialog Builder10 min read

Conversation-driven Dialog Builder10 min read

Conversation Builder is a new dialog task editor which allows you to design and build a dialog task using conversational elements. It leverages the features of Storyboard and the Flow-based Dialog Task Builder.

While the Storyboard helps in designing and visualizing the user conversations, the bot needs to be developed in the Dialog Task Builder. This involves a manual effort in understanding and converting the conversation components into dialog components. Oftentimes, a lot gets missed in the translation. Validation of a Dialog against a Scene also requires significant manual effort and there is not much collaboration between a conversation designer/BA and the implementation engineers due to the different implementation styles. Also, the ongoing changes in the Scene or in the Dialog need to be manually synchronized and can get very complicated

Conversation-driven Dialog builder automatically converts the storyboard scenes into a Dialog Task. Designers can focus on visualizing the end-user conversation before building the dialog. Since the conversation flow is automatically generated, developers can focus on the more technical aspects. This not only reduces the development effort but also ensures that the bot is closer to the actual design.

This feature was released with v9.0 of the platform and is in (beta) state.

Features

  • An integrated approach for conversation designers (or business analysts) and developers to collaboratively build a dialog.
  • Ability to define a dialog in a conversation view – conversation designers or BAs can design the bot in this view as a series of bot messages and user messages.
  • Auto-generation of tasks in the build view – the developers can fine-tune the configurations and expand on top of the conversation flow to provide the necessary logic and fulfillment elements leading to a fully functional bot.
  • Improved usability and intuitiveness.
  • Automatic sync between the views i.e changes to one view updates the other.

Conversation View

BAs/Conversation Designers can define a dialog in conversation view. This view consists of a conversation flow as a series of bot messages and user messages. Where appropriate, BAs can add Action nodes that would be configured during the bot development.
The Build -> Conversation Skills -> Storyboard gives you an exclusive conversation view with an option to switch to the conversation flow. It can also be viewed at the left bottom window from the new Dialog Builder.


NOTE: This document lists the features available exclusively in the conversation builder. This is in addition to the features available on Storyboard that are common to both storyboard and conversation builder. For the common features refer here.

Build View

The conversation view can be expanded by providing the necessary logic and fulfillment elements in the Build View. This is the new dialog builder with the options to drag and drop or add the necessary nodes. The entity, message, and other nodes along with the appropriate connections are generated automatically based on the conversation designed by the BA/conversation designer. Developer can make configuration changes and add appropriate service calls etc. to make it a fully functional bot.
You can access this view either by clicking View Dialog from the Conversation view (as seen above) or from Build -> Conversation Skills -> Dialog Tasks.

Conversation Builder

Let us now look into creating a scene and using the various features available in a conversation builder.

Conversation builder can be accessed in two ways:

  • From storyboard by creating a new scene
  • From dialog task by creating a new dialog

Create Scene

  1. Open the bot you want to design the conversation
  2. Select the Build tab from the top menu
  3. From the left menu, click Conversation Skills -> Storyboard
  4. Click New Scene and enter the following details
    • Scene Name
    • Description
    • Status of the scene
    • Select Auto-generate a Dialog Task option. This will ensure that a dialog task is automatically created in the background as you build the scene.

Create Dialog

You can initiate Conversation Driven Dialog Builder from the Create Dialog flow

  1. Open the bot you want to design the conversation
  2. Select the Build tab from the top menu
  3. From the left menu, click Conversation Skills -> Dialog Task
  4. Click Create Dialog and enter the following details
    • Intent Name
    • Description
    • Intent Training – enter utterances that would trigger this intent
    • Select Try Conversation Driven Dialog Builder option. This will give you allow you to design a conversation and simultaneously view and define the corresponding dialog task.

Basic Features

NOTE: In the following sections, we will be looking into the different aspects of Conversation Builder. Though the screenshots represent the Storyboard flow they are valid for the Dialog task flow also.

Intent Node

  1. Once you create a scene or dialog task, a Primary Intent is created by default. This is taken as the User Utterance that triggers this scene/dialog.
  2. Click the more option and select Configuration Properties
    • change Display Name and Node Name if needed
    • add/change Description
    • Add utterance that would trigger this intent. You can add multiple utterances. These would be in addition to the primary intent utterance.

  3. You have the option to Manage Training which will enable you to train the intent by adding Utterances, Patterns, and Rules. Refer here for more on utterance training.

Bot Message

The first thing you want to start with, in the conversation, is a message from the bot to the user. This would serve as a guide to the user on the conversation flow.
Bot Messages can serve one of the following purposes:

  • Ask a Question with the intention of gathering information from the user. This gets converted to an Entity node in the dialog task.
    • You can further specify the type of user input expected like string, number, date, etc. It gets translated to an entity type in the dialog task
    • You can format the message using simple formatting options or by selecting a template for presenting the bot message
  • Ask Confirmation with the intention to decide the path of the conversation. This gets converted to a Confirmation node in the dialog task.
  • Inform the User like a help message, welcome message, or as a response to the user query. These get converted to a Message node in the dialog task.

For each of the above selections, you can either use an existing node by selecting from the list or create a new node.

User Response

Every bot message is ideally followed by a user response. User Response can be used to define the conversation flow by predicting the user response. For example, the bot might have asked the user to confirm an input, then based on the response there would be two paths – one for affirmation and one for negation.
Note: If not specified, the platform adds a Sample User Response placeholder to maintain the sanctity of the conversational flow.

Other Nodes

Apart from  Bot and User Messages, you can

  • add placeholders for Bot Actions like service calls, scripts, logic, webhook and process to define the flow, and more. The actual functionality needs to be added from the dialog builder. You can leave comments for the developer elaborating the purpose of such a bot action node. For example, for the Book Flight task, you want to connect to your backend servers for the actual booking process.
  • trigger Dialog Tasks for subtasks or related/follow-up tasks. For example, after booking a flight you might want to trigger the Web Checkin dialog.
  • Agent Transfer nodes (only at the end of the conversation). For example, for a Money Transfer task, you might want to authenticate the user credentials via a live agent.
  • add Digital Forms for capturing series of user inputs. For example, for a Create Account task, you might want to present a form to capture the user details like name, address, phone number, etc.

Configurations

While building the conversation, the nodes are generated with default settings. You can customize these configurations from the conversation builder itself or do it at a later time from the dialog task.
In the following section, we see the various configurations available from the conversation builder for each node added.

Entity Node

The entity node is created whenever Bot -> Ask Question is selected.
For each question you can:

  • define Entity Type – select from the drop-down list. This list includes the entity types supported by the Kore.ai platform.
  • apply Formatting Options like bold, italics, etc.
  • use Templates like buttons, carousel, etc to present the query

Once added you can configure properties:

  • Display name,
  • Node name,
  • Type,
  • Is Multi-Item,
  • User Prompts, and
  • Error Prompts.

Refer here for details on Entity component properties.

Confirmation Node

The confirmation node is created whenever Bot -> Ask Confirmation is selected, along with a Yes, No, and two other user response paths. You can delete or add more options.
For each confirmation you can:

  • apply Formatting Options like bold, italics, etc.
  • use Templates like buttons, carousel, etc to present the confirmation options
  • You can set configuration properties like
  • Select the concerned user response options to continue with the appropriate path

Advanced Features

Apart from the linear flow, you can add exceptional flows to the conversation. For example, while in the Book Flight task user might request the Weather Report at the destination city, or while in the Check Balance task, the user might have entered the wrong account number three times in a row. These exceptional cases can be taken into consideration as a part of the conversation builder.

For each user response you can specify:

  • Alternative User Response can trigger a different flow. For example, at the prompt for City entity for the Weather Report task, the user says “Not now” then the conversation should end.
  • Bot response when User Exceeds Retries limit.
  • Bot behavior with an interruption or a sub-intent is indicated with Ask Another Intent. For example, within the Book Flight task, the user asks for the Weather Report at the destination city using the specific intent.

Alternative User Response

This option lets you define the bot behavior when a user responds in a specific but unrelated manner.

Exceeds Retries

This option lets you define the bot behavior when a user exceeds the set number of retries.

  • A standard response is set by default
  • Use Configure Properties to define the settings like number of Allowed Retries and the Behavior on exceeding retriesend of dialog or transition to a node

Ask Another Intent

This option lets you define the bot behavior when a user utterance deviates from the task at hand.

  • Enter the user response that is likely to ask for another intent.
  • You can choose the intent from the available list or create a new one
  • You can set the transition to the new intent:
    • as Interruption to allow the user can switch to another task, you can configure additional utterances, refer here for more on interruption handling, or
    • as Sub-intent to allow the user to seamlessly branch into related intents, view the behavior, see here for more on sub-intent

Menu