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. Panels & Widgets6 min read

Panels & Widgets6 min read

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 for 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 via engaging user interface has become a key requirement. This can be achieved by providing engaging widgets that present relevant information to end-users with minimal need for user input. The widgets can also trigger mobile/web apps from within the chatbot.

Using Panels and Widgets from the Kore.ai Bots platform, you can design interactive components 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 ver 7.2 of the platform

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

Use Case

  1. Using Panels & Widgets, an organization offers to its employees a single interface for various work-related activities.
  2. Each of the Panels gives access to various functions like Sales, HR, ITSM, etc.
  3. Employee accesses these panels for information pertaining to each of the above functions and perform follow up actions.
  4. As an example, HR Panel has multiple widgets showing:
    • company-wide announcements;
    • leave balance;
    • benefits and option to enrol for additional benefits through bot conversation.
  5. Similarly, the ITSM panel shows the outage report and other details.

This document gives an overview and the implementation details of the features. For an use case example, refer here.

Setup

You can access Panels & Widgets from under the Bot Tasks menu.

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. Note that the dialog tasks should have a Bot response defined for Widget SDK channel using the Widget SDK supported message template. See here for supported message templates.
  • 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 will be rendered in the chat window.
  • Publish the Bot: Publish the bot so that the panels and widgets can be 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 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 can be from a Dialog Task or a JSON using any of the pre-defined widget templates.

Steps in configuring Widgets:

  1. Use Create Widget button to create a widget.
  2. In the New Widget popover, enter
    • Name of the Widget
    • Display Name for the Widget
    • Auto Refresh to set the frequency with which this widget needs 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 can be 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 dropdown 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. See here for supported message 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 will be displayed here.
    • Save the Widget.
  3. Once Saved 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. Use Create Panel button to create a panel.
  2. In the New Panel popover, enter
    • Name of the Panel.
    • Display Name for the Panel.
    • Panel Icon to be displayed in the chat window (URL to the location of the image file).
    • Save the Panel.
  3. Once Saved the Panel will be In Development state.
  4. Use the Add Widget button 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 widget or remove already added widgets from the Panel;
    • Test the individual Panel – this will open the talk to bot window along with the panel listing with the current panel active and data presented;
    • Delete the Panel.

  6. Test panels will 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 Kore.ai GitHub page. Do ensure to enable WidgetSDK as a channel. Refer to this tutorial on how.

Menu