OVERVIEW
Virtual Assistants
Kore.ai Platform
Key Concepts
Natural Language Processing (NLP)
Accessing Platform
VIRTUAL ASSISTANTS
Virtual Assistant Builder
Virtual Assistant Types
Getting Started
Creating a Simple Bot
SKILLS
Storyboard
Dialog Task
Introduction
Dialog Builder (New)
Dialog Builder (Legacy)
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
Bot Action Node
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Manage Dialogs
User Prompts
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Build
Alert Tasks
Introduction
Ignore Words and Field Memory
How to Schedule a Smart Alert
Small Talk
Digital Views
Overview
Configuring Digital Views
Digital Forms
Overview
How to Configure Digital Forms
NATURAL LANGUAGE
Overview
Machine Learning
Introduction
Model Validation
Fundamental Meaning
Introduction
NLP Guidelines
Knowledge Graph
Traits
Introduction
How to Use Traits
Ranking and Resolver
Advanced NLP Configurations
INTELLIGENCE
Overview
Context Management
Overview
Session and Context Variables
Context Object
How to Manage Context Switching
Manage Interruptions
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Event Based Bot Actions
Default Conversations
Default Standard Responses
TEST & DEBUG
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
CHANNELS
PUBLISH
ANALYZE
Overview
Dashboard
Custom Dashboard
Overview
How to Create Custom Dashboard
Conversation Flows
NLP Metrics
ADVANCED TOPICS
Universal Bots
Overview
Defining
Creating
Training
Customizing
Enabling Languages
Store
Smart Bots
Defining
koreUtil Libraries
SETTINGS
Authorization
Language Management
PII Settings
Variables
Functions
IVR Integration
General Settings
Management
Import & Export
Delete
Versioning
Collaborative Development
Plan Management
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
ADMINISTRATION
HOW TOs
Creating a Simple Bot
Creating a Banking Bot
Context Switching
Using Traits
Schedule a Smart Alert
Configure UI 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
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
Update Balance Task
Transfer Funds Task
RELEASE NOTES
  1. Home
  2. Docs
  3. Virtual Assistants
  4. How Tos
  5. How to manage Bot Release Lifecycle

How to manage Bot Release Lifecycle

In this How-To, we will explore a scenario wherein your organization has set up multiple stages before a bot is finally made available to the end-users for the purpose of bot development, testing, pilot and production release.

Problem Statement

Consider the case wherein the developer has completed the bot development and it needs to be moved to the testing environment for the QA team to access and test the same. The bot definition does not change drastically except for a few environment-specific values.

In this document, we will show how the bot export and import functionality can be used to achieve the same. Refer here for more on Bot Import and Export.

Pre-requisites

  • Bot building knowledge
  • A fully developed and functional bot. Here we are using the Banking Bot.

Implementation

Step 1 – Export Bot

  1. In the development environment, open the bot you want to move to the testing environment.
  2. Select the Deploy tab from the top menu
  3. From Bot Management, select the Import & Export option.
  4. Choose the Export tab
  5. Select the bot components you want to export. The first time you will want to export all components, subsequently, you might want to choose to export only selected components.
  6. Click Export.
  7. The bot definition is exported as a ZIP file.
  8. The file may be used to check the bot definition into your code repository or to attach it to any ticketing system.

Step 2 – Modify config.json

  1. Any variables that need environment-specific values will be available in the ​config.json​ file present in the exported file.​
  2. Update these Global Variables (see here for more on Global Variables and here for an example).
  3. Now the file can be shared with the infrastructure / DevOps teams for initiating deployment in other environments.
  4. If you have permissions, you can import the bot to the target environment by following the steps given below.

Step 3 – Import Bot

  1. Extract the files from the zip file exported in the previous step.
  2. In the testing environment, create a new bot.
  3. Select the Deploy tab from the top menu
  4. From Bot Management, select the Import & Export option.
  5. Choose the Import tab
  6. Select the Bot Definition File, Bot Config File, and Custom Script File (if any) from the previous step.
  7. Select the Full Import Import Option. Note that if you are using this option in an existing bot the current bot configurations will be erased and replaced with the imported bot.
  8. Click Import.
  9. Your Bot is ready in the testing environment for the QA team to test.

Step 4 – Update Bot

Chances are you need to modify the bot and apply those changes to the bot in the testing environment.

  1. From the development environment, open the modified bot.
  2. Select the Deploy tab from the top menu
  3. From Bot Management, select the Import & Export option.
  4. Choose the Export tab
  5. Select the bot components you want to export. You might want to choose to export only modified components.
  6. Click Export.
  7. The bot definition is exported as a ZIP file.
  8. Extract the files from the zip file.
  9. Change the values for any variables that need environment-specific values in the ​config.json​ file present in the exported file.​
  10. In the testing environment, open the bot that needs to be updated.
  11. Select the Deploy tab from the top menu
  12. From Bot Management, select the Import & Export option.
  13. Choose the Import tab
  14. Select the Bot Definition File, Bot Config File, and Custom Script File (if any) from the previous extract step.
  15. Select the Incremental Import from the Import Option section
  16. Click Import.
  17. Your Bot is updated and ready in the testing environment for the QA team to test.
Menu