GETTING STARTED
Kore.ai XO Platform
Virtual Assistants Overview
Natural Language Processing (NLP)
Concepts and Terminology
Quick Start Guide
Accessing the Platform
Navigating the Kore.ai XO Platform
Building a Virtual Assistant
Help & Learning Resources
Release Notes
Current Version
Recent Updates
Previous Versions
Deprecations
Request a Feature
CONCEPTS
Design
Storyboard
Overview
FAQs
Conversation Designer
Overview
Dialog Tasks
Mock Scenes
Dialog Tasks
Overview
Navigate Dialog Tasks
Build Dialog Tasks
Node Types
Overview
Intent Node
Dialog Node
Dynamic Intent Node
GenAI Node
GenAI Prompt
Entity Node
Form Node
Confirmation Node
Message Nodes
Logic Node
Bot Action Node
Service Node
Webhook Node
Script Node
Process Node
Agent Transfer
Node Connections
Node Connections Setup
Sub-Intent Scoping
Entity Types
Entity Rules
User Prompts or Messages
Voice Call Properties
Knowledge AI
Introduction
Knowledge Graph
Introduction
Terminology
Build a Knowledge Graph
Manage FAQs
Knowledge Extraction
Import or Export Knowledge Graph
Prepare Data for Import
Importing Knowledge Graph
Exporting Knowledge Graph
Auto-Generate Knowledge Graph
Knowledge Graph Analysis
Answer from Documents
Alert Tasks
Small Talk
Digital Skills
Overview
Digital Forms
Digital Views
Introduction
Widgets
Panels
Session and Context Variables
Context Object
Intent Discovery
Train
NLP Optimization
ML Engine
Overview
Model Validation
FM Engine
KG Engine
Traits Engine
Ranking and Resolver
Training Validations
NLP Configurations
NLP Guidelines
LLM and Generative AI
Introduction
LLM Integration
Kore.ai XO GPT Module
Prompts & Requests Library
Co-Pilot Features
Dynamic Conversations Features
Intelligence
Introduction
Event Handlers
Contextual Memory
Contextual Intents
Interruption Management
Multi-intent Detection
Amending Entities
Default Conversations
Conversation Driven Dialog Builder
Sentinment Management
Tone Analysis
Default Standard Responses
Ignore Words & Field Memory
Test & Debug
Overview
Talk to Bot
Utterance Testing
Batch Testing
Conversation Testing
Conversation Testing Overview
Create a Test Suite
Test Editor
Test Case Assertion
Test Case Execution Summary
Glossary
Health and Monitoring
NLP Health
Flow Health
Integrations
Actions
Actions Overview
Asana
Configure
Templates
Azure OpenAI
Configure
Templates
BambooHR
Configure
Templates
Bitly
Configure
Templates
Confluence
Configure
Templates
DHL
Configure
Templates
Freshdesk
Configure
Templates
Freshservice
Configure
Templates
Google Maps
Configure
Templates
Here
Configure
Templates
HubSpot
Configure
Templates
JIRA
Configure
Templates
Microsoft Graph
Configure
Templates
Open AI
Configure
Templates
Salesforce
Configure
Templates
ServiceNow
Configure
Templates
Stripe
Configure
Templates
Shopify
Configure
Templates
Twilio
Configure
Templates
Zendesk
Configure
Templates
Agents
Agent Transfer Overview
Custom (BotKit)
Drift
Genesys
Intercom
NiceInContact
NiceInContact(User Hub)
Salesforce
ServiceNow
Configure Tokyo and Lower versions
Configure Utah and Higher versions
Unblu
External NLU Adapters
Overview
Dialogflow Engine
Test and Debug
Deploy
Channels
Publishing
Versioning
Analyze
Introduction
Dashboard Filters
Overview Dashboard
Conversations Dashboard
Users Dashboard
Performance Dashboard
Custom Dashboards
Introduction
Custom Meta Tags
Create Custom Dashboard
Create Custom Dashboard Filters
LLM and Generative AI Logs
NLP Insights
Task Execution Logs
Conversations History
Conversation Flows
Conversation Insights
Feedback Analytics
Usage Metrics
Containment Metrics
Universal Bots
Introduction
Universal Bot Definition
Universal Bot Creation
Training a Universal Bot
Universal Bot Customizations
Enabling Languages
Store
Manage Assistant
Team Collaboration
Plan & Usage
Overview
Usage Plans
Templates
Support Plans
Invoices
Authorization
Conversation Sessions
Multilingual Virtual Assistants
Get Started
Supported Components & Features
Manage Languages
Manage Translation Services
Multiingual Virtual Assistant Behavior
Feedback Survey
Masking PII Details
Variables
Collections
IVR Settings
General Settings
Assistant Management
Manage Namespace
Data
Overview
Data Table
Table Views
App Definitions
Data as Service
HOW TOs
Build a Travel Planning Assistant
Travel Assistant Overview
Create a Travel Virtual Assistant
Design Conversation Skills
Create an ‘Update Booking’ Task
Create a Change Flight Task
Build a Knowledge Graph
Schedule a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Train the Assistant
Use Traits
Use Patterns
Manage Context Switching
Deploy the Assistant
Use Bot Functions
Use Content Variables
Use Global Variables
Use Web SDK
Build a Banking 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
Composite Entities
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
Intent Scoping using Group Node
Analyze the Assistant
Create a Custom Dashboard
Use Custom Meta Tags in Filters
Migrate External Bots
Google Dialogflow Bot
APIs & SDKs
API Reference
API Introduction
Rate Limits
API List
koreUtil Libraries
SDK Reference
SDK Introduction
Web SDK
How the Web SDK Works
SDK Security
SDK Registration
Web Socket Connect and RTM
Tutorials
Widget SDK Tutorial
Web SDK Tutorial
BotKit SDK
BotKit SDK Deployment Guide
Installing the BotKit SDK
Using the BotKit SDK
SDK Events
SDK Functions
Tutorials
BotKit - Blue Prism
BotKit - Flight Search Sample VA
BotKit - Agent Transfer
  1. Home
  2. Docs
  3. Virtual Assistants
  4. Intelligence
  5. Amend Entity

Amend Entity

Time and again, we come across situations wherein the users change their preferences during task execution.

For example, while booking a flight, the user might change the date of travel and at times even the destination.

Amend Entity is a feature for such scenarios. Using this feature, you can allow the users to amend entity values and also control the post-amendment dialog behavior.

The entity amendment process is divided into three stages:

  • Amend Identification: Identifying that the end-user wants to amend is driven by the VA’s built-in NLP capabilities.
  • Amending Entities: On identifying the intention to amend, the current task is put on hold and the amend flow is triggered. Three kinds of amend flows are possible based upon the user utterance:
    • When the user refers to the entity name (or entity synonyms), then they are prompted for the entity value. For example, the user utterance I want to change the destination triggers the prompt for the destination entity. If the same entity node is present multiple times in the dialog, then the latest entity node for which the user has already provided input will be amended.
    • When the user gives the entity value then the entity is updated accordingly. For example, the user utterance I want to fly to JFK changes the destination entity value. If the value is compatible with two or more entities in the dialog, then the user is prompted to select an entity to amend.
    • When the user refers to both the entity and its value, then the entity is updated. For example, the user utterance change my destination to JFK will change the destination entity value.
  • Post Amendment Behavior: After an entity is successfully amended, there are three possible dialog execution flows that your VA can be configured for:
    • The dialog can be re-executed from the node that is amended by evaluating that entity’s connections.
    • The dialog can resume from the node where amend was identified or made.
    • The dialog can be resumed from a specified node present in the dialog.
Note: This feature is not supported in all languages, Click here for details.

Implementation Hierarchy

On the Kore.ai XO Platform, Amend Entity behavior is defined at two levels:

  • VA level
  • Task level

Bot Level

To Set VA Level Amend Entity Behavior, follow the below steps:

  1. Select the Build tab from the top menu
  2. From the left menu, click Intelligence -> Amend Entity. 
  3. By default, this option s disabled.
  4. Once you Allow amend entities, various Dialog Resumption options are available:
    1. Re-execute dialog from amended entity – use this option to resume the dialog by evaluating the amended entity’s connections. You can further choose to:
      • Clear entity values captured downstream – to clear all entities captured between the identified entity and the amend
      • Skip display of previously displayed messages – messages from Message nodes alone.
    2. Resume dialog from amend identification node – use this option to resume the dialog from the node where the amend was identified.
  5. The amend process can be extended to entities marked as Hidden using the Amend Hidden Entities option.

Task Level

Amend entity behavior is set at the Task level also. The configurations defined at the task level will override the VA-level configurations.

To set Task Level Amend Entity Behavior, follow the below steps:

  1. Go to Build > Conversation Skills > Dialog Tasks and select the task that you want to configure.
  2. On the Dialog Task page, click the More Options icon and select the Manage Amend Behavior.

  3. On the Manage Amend Behaviour dialog box, by default, the Use bot level settings option is selected and the bot level setting is displayed.
  4. Select Customize for this task to override the bot level settings:
    1. Do not allow amend entities – It will not allow the user to amend entity values for this task.
    2. Allow amend entities – It will further give you three Dialog Resumption options:
      • Re-execute dialog from amended entity – Amend entity behavior is set at the task level also. The configurations defined at the task level will override the bot-level configurations.
        • Clear entity values captured downstream – to clear all entities captured between the identified entity and the amend
        • Skip display of previously displayed messages – messages from Message nodes alone.
      • Resume dialog from amend identification node – use this option to resume the dialog from the node where the amend was identified.
      • Jump to a specific node in the dialog – use this option to select a node from the current dialog where the task flow needs to jump. You can use this option to add custom behavior before resuming with the dialog. The Context object will contain the details of the entities amended, along with the previous and current values. You may use this information to customize the dialog.
      • The amend process can be extended to hidden entities using the Amend Hidden Entities option.

Triggers

The following are patterns supporting the Amend Entity behavior. User utterance around these patterns triggers Amend Entity.

  • ~amend_synonyms <entity_name> from <old_value> to <new_value>
    For example, “change the departure date from today to tomorrow“.
  • ~amend_synonyms <entity_name> [to as from with] <new_value> [instead_of rather_than not] <old_value>
    For example, “modify departure date to tomorrow instead of today“.
  • ~amend_synonyms <entity_name> <old_value> [to as with] <new_value>
    For example, “replace departure date with tomorrow“.
  • ~amend_synonyms <entity_name> from <old_value>
    For example “alter departure date from today“.
  • ~amend_synonyms <entity_name> [to as from with] <new_value>
    For example, “modify departure date to tomorrow“.
  • ~amend_synonyms {from} <old_value> [to as with] <new_value>
    For example, “change from today to tomorrow“.
  • ~amend_synonyms [to as from] <new_value> [instead_of rather_than not] <old_value>
    For example, “change to tomorrow instead of today“.
  • ~amend_synonyms [to as from] <new_value> instead
    For example, “change to tomorrow instead“.
  • ~amend_synonyms [([it that this] {to}) it that this to] <new_value>
    For example, “change it from today to tomorrow“.
  • ~amend_synonyms <entity_name>
    For example, “amend departure date“.
  • ~amend_synonyms <old_value>
    For example, “change today
  • [to as from] <new_value> [instead_of rather_than not] <old_value>
    For example, “to tomorrow instead of today
  • [to as from] <new_value> instead
    For example, “to tomorrow instead

In the above-mentioned patterns the concept ~amend_synonyms includes "amend", "change","modify","alter","update", "replace", "make", "move", "upgrade", "want".

Note: The user can use these patterns to change multiple entity values. For example, Change the departure date from today to tomorrow and departure city to Chicago results in the changes to both departure date and city.

Additional Notes

  • The Platform’s in-built training data drives the identification of the amend requests, and it is currently supported only for the dialog task conversations in English.
  • The scope of this feature currently includes only the replacement of previously populated entities. It does not include other scenarios like partial modifications, deletions, additions to entity values.

Amend Entity

Time and again, we come across situations wherein the users change their preferences during task execution.

For example, while booking a flight, the user might change the date of travel and at times even the destination.

Amend Entity is a feature for such scenarios. Using this feature, you can allow the users to amend entity values and also control the post-amendment dialog behavior.

The entity amendment process is divided into three stages:

  • Amend Identification: Identifying that the end-user wants to amend is driven by the VA’s built-in NLP capabilities.
  • Amending Entities: On identifying the intention to amend, the current task is put on hold and the amend flow is triggered. Three kinds of amend flows are possible based upon the user utterance:
    • When the user refers to the entity name (or entity synonyms), then they are prompted for the entity value. For example, the user utterance I want to change the destination triggers the prompt for the destination entity. If the same entity node is present multiple times in the dialog, then the latest entity node for which the user has already provided input will be amended.
    • When the user gives the entity value then the entity is updated accordingly. For example, the user utterance I want to fly to JFK changes the destination entity value. If the value is compatible with two or more entities in the dialog, then the user is prompted to select an entity to amend.
    • When the user refers to both the entity and its value, then the entity is updated. For example, the user utterance change my destination to JFK will change the destination entity value.
  • Post Amendment Behavior: After an entity is successfully amended, there are three possible dialog execution flows that your VA can be configured for:
    • The dialog can be re-executed from the node that is amended by evaluating that entity’s connections.
    • The dialog can resume from the node where amend was identified or made.
    • The dialog can be resumed from a specified node present in the dialog.
Note: This feature is not supported in all languages, Click here for details.

Implementation Hierarchy

On the Kore.ai XO Platform, Amend Entity behavior is defined at two levels:

  • VA level
  • Task level

Bot Level

To Set VA Level Amend Entity Behavior, follow the below steps:

  1. Select the Build tab from the top menu
  2. From the left menu, click Intelligence -> Amend Entity. 
  3. By default, this option s disabled.
  4. Once you Allow amend entities, various Dialog Resumption options are available:
    1. Re-execute dialog from amended entity – use this option to resume the dialog by evaluating the amended entity’s connections. You can further choose to:
      • Clear entity values captured downstream – to clear all entities captured between the identified entity and the amend
      • Skip display of previously displayed messages – messages from Message nodes alone.
    2. Resume dialog from amend identification node – use this option to resume the dialog from the node where the amend was identified.
  5. The amend process can be extended to entities marked as Hidden using the Amend Hidden Entities option.

Task Level

Amend entity behavior is set at the Task level also. The configurations defined at the task level will override the VA-level configurations.

To set Task Level Amend Entity Behavior, follow the below steps:

  1. Go to Build > Conversation Skills > Dialog Tasks and select the task that you want to configure.
  2. On the Dialog Task page, click the More Options icon and select the Manage Amend Behavior.

  3. On the Manage Amend Behaviour dialog box, by default, the Use bot level settings option is selected and the bot level setting is displayed.
  4. Select Customize for this task to override the bot level settings:
    1. Do not allow amend entities – It will not allow the user to amend entity values for this task.
    2. Allow amend entities – It will further give you three Dialog Resumption options:
      • Re-execute dialog from amended entity – Amend entity behavior is set at the task level also. The configurations defined at the task level will override the bot-level configurations.
        • Clear entity values captured downstream – to clear all entities captured between the identified entity and the amend
        • Skip display of previously displayed messages – messages from Message nodes alone.
      • Resume dialog from amend identification node – use this option to resume the dialog from the node where the amend was identified.
      • Jump to a specific node in the dialog – use this option to select a node from the current dialog where the task flow needs to jump. You can use this option to add custom behavior before resuming with the dialog. The Context object will contain the details of the entities amended, along with the previous and current values. You may use this information to customize the dialog.
      • The amend process can be extended to hidden entities using the Amend Hidden Entities option.

Triggers

The following are patterns supporting the Amend Entity behavior. User utterance around these patterns triggers Amend Entity.

  • ~amend_synonyms <entity_name> from <old_value> to <new_value>
    For example, “change the departure date from today to tomorrow“.
  • ~amend_synonyms <entity_name> [to as from with] <new_value> [instead_of rather_than not] <old_value>
    For example, “modify departure date to tomorrow instead of today“.
  • ~amend_synonyms <entity_name> <old_value> [to as with] <new_value>
    For example, “replace departure date with tomorrow“.
  • ~amend_synonyms <entity_name> from <old_value>
    For example “alter departure date from today“.
  • ~amend_synonyms <entity_name> [to as from with] <new_value>
    For example, “modify departure date to tomorrow“.
  • ~amend_synonyms {from} <old_value> [to as with] <new_value>
    For example, “change from today to tomorrow“.
  • ~amend_synonyms [to as from] <new_value> [instead_of rather_than not] <old_value>
    For example, “change to tomorrow instead of today“.
  • ~amend_synonyms [to as from] <new_value> instead
    For example, “change to tomorrow instead“.
  • ~amend_synonyms [([it that this] {to}) it that this to] <new_value>
    For example, “change it from today to tomorrow“.
  • ~amend_synonyms <entity_name>
    For example, “amend departure date“.
  • ~amend_synonyms <old_value>
    For example, “change today
  • [to as from] <new_value> [instead_of rather_than not] <old_value>
    For example, “to tomorrow instead of today
  • [to as from] <new_value> instead
    For example, “to tomorrow instead

In the above-mentioned patterns the concept ~amend_synonyms includes "amend", "change","modify","alter","update", "replace", "make", "move", "upgrade", "want".

Note: The user can use these patterns to change multiple entity values. For example, Change the departure date from today to tomorrow and departure city to Chicago results in the changes to both departure date and city.

Additional Notes

  • The Platform’s in-built training data drives the identification of the amend requests, and it is currently supported only for the dialog task conversations in English.
  • The scope of this feature currently includes only the replacement of previously populated entities. It does not include other scenarios like partial modifications, deletions, additions to entity values.
Menu