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
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. Builder
  5. Dialog Task
  6. Sub-Intent Scoping Using Node Groups

Sub-Intent Scoping Using Node Groups

Node groups are primarily used for defining a group of nodes and representing them on the dialog canvas. Note that it is not a part of the dialog flow.

Node groups can be used to improve the user experience with follow-ups, digressions, and amending entity values. For a use case example, refer here.

Add a Node Group

To add a node group to the dialog task, follow the below steps:

  1. Open the Dialog Task where you want to add the Group node.
  2. Group the nodes. For steps in grouping nodes, refer here.
  3. Once created, you cannot add or remove specific nodes from the group.
    1. Any node you add is added outside the group.
    2. Any node you delete is deleted from the entire dialog.
    3. Deleting a group will not delete the nodes within the group from the dialog.
    4. If you want to change the nodes contained within a group, you need to delete the respective group, then to recreate it.

Configure a Node Group

The Group Node functionality includes the following:

  • Scoping of Intents – ability to define the sub-intents to be made available when the user is waiting at any of the nodes in the group;
  • Sub-intent Training – the ability to train the sub-intent;
  • Sub-intent Properties – ability to define the behavior of the sub-intent.

Sub-Intent Scoping

Using Node Groups you can scope the sub-intents that are to be allowed to be identified from the user utterance and executed while the user is at one of the nodes within the group.

  1. Hover over the group you want to scope the intents for and click the settings (gear) icon.
  2. From the Node Group window, select Add Intent to add intents that should be part of this group’s scope.
  3. From the Add Intent window, select the intent to be scoped as a sub-intent for this Node Group. This would be the intent that a user might ask for when the conversation is at any of the nodes in this group. For example, asking “How is the weather at XYZ city” when prompted for the destination entity or asking for “Flight times” when prompted for the travel date.
  4. You can choose to add new sub-intents using the Create Intent button.
  5. Once added you can train, set behavioral properties and/or delete a scoped intent.
  6. Sub-Intent Training

    Once added, each of the sub-intent can be trained for recognition within this group. This would ensure that the sub-intent is identified in the group’s context.

    1. From the Group settings page, select the sub-intent you want to train.
    2. You can train the sub-intent with the following:
      1. Machine Learning – Add the user utterances that should identify this sub-intent. You can also use the NER approach to annotate entities in the utterances.
      2. Patterns – Identify patterns in the user utterance related to this sub-intent.
      3. Rules – Define intent identification rules to trigger this intent.
    3. You can also set the Intent Preconditions i.e. the sub-intent would get identified only when any of the preconditions defined is available in the context at the time of intent detection. These pre-conditions will be considered as instance levels and would take precedence over the component level pre-conditions.

    Sub-Intent Properties

    The fulfillment section can be used to define the actions when this particular sub-intent is identified from the user input. It includes the following properties:

    • Context Variables – Set the key-value pairs to define the session or context variables to be updated when this sub-intent is identified. If you want to reset the values, you need to use the keyword “null”, spaces would be ignored by the platform.
    • Present a Message – Optionally, define a message to be presented to the user when this sub-intent is identified. As with other responses, you can define the message as plain text, JavaScript format, specify, and set Voice Call Properties, where applicable.
    • Context Output – Define the context tags to be set when this intent is identified. The intent name is always set as output context by the system. If you want to reset the values, you need to use the keyword “null”, spaces would be ignored by the platform.
    • Transition Flow – Use this option to define how the dialog should resume after executing this sub-intent. There are two behaviors you can define:
      • Jump To A Node – The dialog will resume from the node selected here.
      • Resume The Dialog – The dialog will resume from the node where this intent was identified.

    Implementation

    Following are the changes in sub-intent behavior within a group:

    • For every sub-intent identified, the context object will be updated with an array of objects with the identified sub-intent details with the latest at the top. The following information is captured:
      • Name of the sub-intent;
      • Entities that are identified along with the sub-intent;
      • Name of the group to which the sub-intent belongs, where applicable;
      • Name of the node at which the sub-intent is identified.
      • "identifiedSub-Intents": [
        {
        "intent": "Change Destination",
        "entities": {
        "destcity": "Delhi"
        },
        "groupName": "Entity Group",
        "identifiedAt": "to_date"
        },
        {
        "intent": "Weather Report",
        "groupName": "Entity Group",
        "identifiedAt": "destcity"
        }
        ]

      • The intent would be executed if the sub-intent identified from the user utterance is within the group scope and all the input preconditions are satisfied and the transition flow directs to the concerned node.
      • The execution of sub-intents would involve:
        • Updated context variables as per the defined mapping,
        • Setting the Output Context as per the defined mapping,
        • Presenting the message to the user, if applicable.
      • The current dialog execution should continue as per the transition flow defined.
        • Jump to the specified node; or
        • Resume from the point where the sub-intent was identified.

Sub-Intent Scoping Using Node Groups

Node groups are primarily used for defining a group of nodes and representing them on the dialog canvas. Note that it is not a part of the dialog flow.

Node groups can be used to improve the user experience with follow-ups, digressions, and amending entity values. For a use case example, refer here.

Add a Node Group

To add a node group to the dialog task, follow the below steps:

  1. Open the Dialog Task where you want to add the Group node.
  2. Group the nodes. For steps in grouping nodes, refer here.
  3. Once created, you cannot add or remove specific nodes from the group.
    1. Any node you add is added outside the group.
    2. Any node you delete is deleted from the entire dialog.
    3. Deleting a group will not delete the nodes within the group from the dialog.
    4. If you want to change the nodes contained within a group, you need to delete the respective group, then to recreate it.

Configure a Node Group

The Group Node functionality includes the following:

  • Scoping of Intents – ability to define the sub-intents to be made available when the user is waiting at any of the nodes in the group;
  • Sub-intent Training – the ability to train the sub-intent;
  • Sub-intent Properties – ability to define the behavior of the sub-intent.

Sub-Intent Scoping

Using Node Groups you can scope the sub-intents that are to be allowed to be identified from the user utterance and executed while the user is at one of the nodes within the group.

  1. Hover over the group you want to scope the intents for and click the settings (gear) icon.
  2. From the Node Group window, select Add Intent to add intents that should be part of this group’s scope.
  3. From the Add Intent window, select the intent to be scoped as a sub-intent for this Node Group. This would be the intent that a user might ask for when the conversation is at any of the nodes in this group. For example, asking “How is the weather at XYZ city” when prompted for the destination entity or asking for “Flight times” when prompted for the travel date.
  4. You can choose to add new sub-intents using the Create Intent button.
  5. Once added you can train, set behavioral properties and/or delete a scoped intent.
  6. Sub-Intent Training

    Once added, each of the sub-intent can be trained for recognition within this group. This would ensure that the sub-intent is identified in the group’s context.

    1. From the Group settings page, select the sub-intent you want to train.
    2. You can train the sub-intent with the following:
      1. Machine Learning – Add the user utterances that should identify this sub-intent. You can also use the NER approach to annotate entities in the utterances.
      2. Patterns – Identify patterns in the user utterance related to this sub-intent.
      3. Rules – Define intent identification rules to trigger this intent.
    3. You can also set the Intent Preconditions i.e. the sub-intent would get identified only when any of the preconditions defined is available in the context at the time of intent detection. These pre-conditions will be considered as instance levels and would take precedence over the component level pre-conditions.

    Sub-Intent Properties

    The fulfillment section can be used to define the actions when this particular sub-intent is identified from the user input. It includes the following properties:

    • Context Variables – Set the key-value pairs to define the session or context variables to be updated when this sub-intent is identified. If you want to reset the values, you need to use the keyword “null”, spaces would be ignored by the platform.
    • Present a Message – Optionally, define a message to be presented to the user when this sub-intent is identified. As with other responses, you can define the message as plain text, JavaScript format, specify, and set Voice Call Properties, where applicable.
    • Context Output – Define the context tags to be set when this intent is identified. The intent name is always set as output context by the system. If you want to reset the values, you need to use the keyword “null”, spaces would be ignored by the platform.
    • Transition Flow – Use this option to define how the dialog should resume after executing this sub-intent. There are two behaviors you can define:
      • Jump To A Node – The dialog will resume from the node selected here.
      • Resume The Dialog – The dialog will resume from the node where this intent was identified.

    Implementation

    Following are the changes in sub-intent behavior within a group:

    • For every sub-intent identified, the context object will be updated with an array of objects with the identified sub-intent details with the latest at the top. The following information is captured:
      • Name of the sub-intent;
      • Entities that are identified along with the sub-intent;
      • Name of the group to which the sub-intent belongs, where applicable;
      • Name of the node at which the sub-intent is identified.
      • "identifiedSub-Intents": [
        {
        "intent": "Change Destination",
        "entities": {
        "destcity": "Delhi"
        },
        "groupName": "Entity Group",
        "identifiedAt": "to_date"
        },
        {
        "intent": "Weather Report",
        "groupName": "Entity Group",
        "identifiedAt": "destcity"
        }
        ]

      • The intent would be executed if the sub-intent identified from the user utterance is within the group scope and all the input preconditions are satisfied and the transition flow directs to the concerned node.
      • The execution of sub-intents would involve:
        • Updated context variables as per the defined mapping,
        • Setting the Output Context as per the defined mapping,
        • Presenting the message to the user, if applicable.
      • The current dialog execution should continue as per the transition flow defined.
        • Jump to the specified node; or
        • Resume from the point where the sub-intent was identified.
Menu