Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots
Kore.ai's Approach
Kore.ai Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Kore.ai Platform
How to Access Bot Builder
Working with Kore.ai Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Deprecations
Bot Builder
Creating a Bot
Design
Develop
Storyboard
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Managing Dialogs
User Prompts
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Overview
Machine Learning
Model Validation
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
Advanced NLP Configurations
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Defining
Creating
Training
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Manage Sessions
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
Dashboard
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
Analytics
Billing
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configure Digital Forms
Add Form Data into Data Tables
Configuring Digital Views
Add Data to Data Tables
Update Data in Data Tables
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Using nlMeta
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
  1. Home
  2. Docs
  3. Bots
  4. Bot Building
  5. Digital Views

Digital Views

Interactions with virtual agents are typically conducted using chat/messaging tools, voice channels, or digital assistants. In the majority of the cases, the virtual agents respond to the user queries only when the users have requested some information. This works well for conducting on-demand tasks that need user input for execution and the result is usually a short response, confirmation, or acknowledgment. But, with the emergence of Digital Assistants, the need for proactive updates to users through engaging user interface has become a key requirement. This can be achieved by providing engaging interfaces that present relevant information to end-users with minimal need for user input. These interfaces can also trigger mobile/web apps from within the chatbot.

Using Digital Views from the Kore.ai Bots platform, you can design interactive components, panels, and widgets, to proactively present relevant information to your customers. Panels are the placeholders that hold one or more widgets. Widgets are individual components that display information to the end-users. Your customers can interact with your bot either in the conversation mode or directly get the required information from the widgets.

Note: This feature was introduced in v7.2 of the platform.

This document gives an overview of the working and implementation of Panels & Widgets. For an step-by-step usage instructions, refer to this how to.

Use Case

  1. Using Digital Views, an organization offers to its employees a single interface for various work-related activities.
  2. Multiple panels constitute a Digital View.
  3. Each of the panels gives access to various functions like Sales, HR, ITSM, etc.
  4. The employee accesses these panels for information pertaining to each of the above functions and performs follow up actions.
  5. As an example, HR Panel has multiple widgets showing:
    • Company-wide announcements
    • Leave balance
    • Benefits and enroll for additional benefits through bot conversation.

Setup

You can access Digital Views from under the Bot Tasks menu and setup Panels and Widgets.

Following are the steps to setting up Panels and Widgets:

  • Configure Widgets: Define widgets by connecting them either to your bot tasks or any other source like JavaScript generating JSON file. In cases where you are using bot task as a source, ensure that the message is formatted properly for the Widget SDK channel.
  • Preview the Widgets: Preview your widgets from the Bot Builder.
  • Set up Panels: You may create multiple panels and each panel can host widgets that present relevant information. You can use the pre-defined widgets or create new.
  • Test the Panels to see how the Panels and Widgets are rendered in the chat window.
  • Publish the Bot: Publish the bot so that the panels and widgets are made available for your end-users.
  • Host the Panel: You can choose to host your widgets independently or co-host them along with the WebSDK. You can download the SDKs from the Kore.ai GitHub page. Do ensure to enable WidgetSDK as a channel.

Configure Widgets

Widgets are individual components that can communicate with the bot for presenting information to the end-users. The source of information for widgets is from a Dialog Task or a JSON using any of the pre-defined widget templates.

To configure widgets, follow the below steps:

  1. Click Create Widget to create a widget.
  2. On the New Widget window, enter the following details:
    • Name of the widget
    • Display Name for the widget
    • Auto Refresh to set the frequency with which this widget needs a poll for fresh data. The refresh is applicable only when the panel containing the widget is active.
    • Source for a widget can be either from the execution of Dialog Task or from JavaScript defining a JSON:
      • JSON is specified in the JavaScript Editor that is presented.
      • Dialog Task option allows you to trigger a task and present the output in the widget.
        1. Select Dialog Task drop-down will list all available tasks in the current bot, select one from the list.
          Note: In the connected Dialog Task make sure to use a Message node to present the required information in the widget using any of the supported widget templates.
          You can use the icon next to the Dialog Task to open the Dialog Task for checking the task details like entity names etc.
        2. Any entities used by the selected Dialog Task needs to be pre-populated with values by mapping Entity Name with Entity Values.
        3. If the selected Dialog Task has any authorization profile defined, the same is displayed here.
    • Save the Widget.
  3. After you save, the widget will be In Development state. You can Edit or Delete the widget.
  4. Edit widget, apart from allowing modification to any of the above fields, will allow you to Run & Preview the widget.
    You can save the preview as the thumbnail display for the widget.

Set up Panels

Panel refers to containers that hold one or more widgets. You can add an existing widget to the panel or create new widgets.

  1. Click Create Panel to create a panel.
  2. On the New Panel window, enter the following details:
    • Name of the Panel.
    • Display Name for the Panel.
    • Auto Refresh to set the frequency with which this widget needs a poll for fresh data. The refresh is applicable only when the Panel containing the widget is active.
    • Panel Icon to display in the chat window (URL to the location).
    • Save the Panel.
  3. After you save, the panel will be In Development state.
  4. Click Add Widget to add widgets to the panel. Select widgets from the drop-down list.
  5. You have the following options for a given panel:
    • Edit the panel details;
    • Panel Management to add existing widgets, create new widgets, or remove already added widgets from the panel.
    • Test the individual panel – this opens the talk to bot window along with the panel listing with the current panel active and data presented;
    • Delete the Panel.

  6. Test panels open the Talk to Bot window listing all the panels with the chat window active. You can interact and test the panels.

Publish

Publish your bot ensuring that the panels and widgets are selected.

Refer here for details on Publishing a Bot

Hosting

Widget SDK is provided by the platform for hosting and managing panels and widgets. You can choose to host your widgets independently or co-host them along with the WebSDK. You can download the SDKs from the Kore.ai GitHub page. Do ensure to enable WidgetSDK as a channel. Refer to this tutorial on how.

Menu