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
Bot Builder
Creating a Bot
Design
Develop
Dialog Task
Working with User Intent Node
Working with the Dialog Node
Working with Entity Node
Supported Entity Types
Working with Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Working with Message Nodes
Working with the Confirmation Nodes
Working with Service Node
Implementing Custom Authentication
Enabling 2-way SSL for Service nodes
Working with Script Node
Working with Agent Transfer Node
Working with WebHook Node
Defining Connections & Transitions
Managing Dialogs
Prompt Editor
Action & Information Task
Working with Action Tasks
Working with Information Tasks
Establishing Flows
Alert Tasks
Working with Alert Tasks
Managing Ignore Words and Field Memory
Knowledge Graph
Terminology
Building Knowledge Graph
Generation of Knowledge Graph
Importing and Exporting Knowledge Graph
Knowledge Graph Analysis
Knowledge Extraction
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
NLP Settings and Guidelines
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talking to Bot
Utterance Testing
Batch Testing
Recording 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
Universal Bots
Defining
Creating
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Kore.ai Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Web Socket Connect & RTM
Using the BotKit SDK
Installing the BotKit SDK
BotKit SDK Configuration
Events for the BotKit SDK
Functions for the BotKit SDK
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Overview
Using Single Sign-On
Cloud Connector
Analytics
Billing
Bot Store
Overview
Creating a Kore.ai Bot Account
Adding a Kore.ai Bot
Choosing a Channel for a Bot
Interacting with a Kore.ai Bot
Setting Up Web Service Alerts
Setting Up RSS Alerts
Setting Up the Kore.ai Webhook Bot
Custom Kore.ai Bots
Bots for your Customers FAQs
Bots for your Workforce FAQs
Adding Bots
Contacting Kore.ai Support
Setting Up Filters
Bot Store Settings
How Tos
Context Switching
Using Traits
Live Agent Transfer
Schedule a Smart Alert
Configure Agent Transfer
Custom Dashboard
  1. Home
  2. Docs
  3. Bots
  4. Bot Building
  5. Small Talk

Small Talk

Small Talk refers to the casual conversations that a Bot can have with the end users. Ability to engage end-users in casual conversations helps socialize your bot and improves the recall rates.

The Small Talk conversation can be designed as a series of interaction volleys between the Bot and the user. Bots that can answer social inputs like ‘How Are You?’ are more likely to create a positive impression for your bot and help build an invaluable connection with the user. Using Custom Small Talk feature build a personality and train the bot to conduct casual conversations around your areas of interest. You can also build nested conversations to answer follow-ups during a conversation and make the bot more engaging.

This feature was introduced in ver 7.1 of Kore.ai Bot Builder platform. It replaces some of the Standard Responses that were greetings and small talk in nature, you can extend the bot’s built-in Small Talk abilities. 

Default Small Talk

Small Talk is a Bot level task that can be configured as per your Bot needs. When you create a new Bot, the Small Talk of group greetings is generated by default.

Note that when you open the Small Talk Task in an existing Bot, you will be informed of the migration of Standard Responses of Greeting and general small talk type to the Small Talk feature. You can choose not to Proceed and continue with the Standard Responses.

The following are the messages under Greetings group (these are the Standard Responses of Greeting and other categories that will be migrated to Small Talk once you choose to Proceed)

greetings
Response when User says Hi Shown when the user says hi, hello, hey, etc, or just enters the bot’s name.
Response to ‘how are you’? User asks “how are you?”
NL interprets the following ways in which the user can say that:
<how are you>, <how are u doing> <how are u how are u>
<how have u been doing> <how have`u`been> <how`do`u`do> <how`are`u`doing> <how`are`u>
whazzupp whatcha`upto watsup wassup howzit
comment`est`vous comment`ca`va ca`va
<what`up <what`is`up`today
<what`is`up <what`is`the`word> <what`is`the`latest`word> <what`is`new> <what`is`happening>
<what`is`going`on> <what’up <is`everything`OK <is`everything`alright <how`you`feeling
<how`you`doing <how`is`tricks <how`is`life <how`is`it`going <how`is`everything
<how`is`by`you <how`have`you`been`doing> <how`have`you`been> <how`goes> <how`goes`things
<how`goes`it <how`is`your`day <how`do`you`do> <how`are`you> <how`are`things>
<heya>
Response to ‘who are you?’ Shown when the user says “who are you”
User says ‘great’, ‘awesome’, etc. when there is no task in context Shown when the user says great, awesome, etc. (probably after finishing a task)
User says ‘that helped’, ‘that was useful’, etc. Shown when the user says good, great, awesome, cool, “fair enough”, “that helped”, “it helps”, “that was useful”, “that was handy” etc. (probably after finishing a task)
User says ‘no’, ‘nope’, etc. when there is no task in context This is small talk in the response to user utterance is – ‘No’,’Nopes’ etc.
User says ‘I am done’, ‘That’s it for now’, etc. when there is no task in context Shown when the user says “I am done”, “that’s it for now”, “that’s all”, done, etc. (probably after finishing a task)
User implies to end the conversation (eg. ‘good night’, ‘bye’, ‘ttyl’) This condition occurs only for Dialog tasks for which the following Follow-up Tasks Setting is configured: “Yes, at the end of this dialog ask the user to select and perform a task from ‘Follow-up task’ list in the Dialog settings.” The bot shows this message when it presents the Follow-Up Intents array to the user at the end of the Dialog.
User says thanks Shown when user thanks the bot.
User says ‘OK’, ‘fine’, ‘yes’ etc. when there is no task in context Shown when the user says OK, fine, got it, etc (probably after finishing a task)

Overview

Small Talk is a series of User Utterances and Bot Responses. The primary objective of Small Talk is to engage users in casual conversations and in general, functional topics or business transactions are not included in Small Talk.

The various User queries in Small Talk can be categorized into groups and assigned hierarchical structure. Greetings category will be auto-generated by default for all new bots. This group contains various questions related to greetings and pleasantries. You can define additional groups or categories and build interaction flows under each group.

  • Each group can have one or more top-level questions. A top-level question can have one or more child questions.
  • A child question can have one or more subsequent child questions up to three levels. Every question can have one or more alternate questions.
  • Every question can have one or more responses. When multiple responses are present, the platform will pick one at random.

Terminology

Following are various terms associated with Small Talk:

  1. Groups – Based upon the purpose and content, Small Talk can be categorised into Groups.
  2. User Queries – For each group you can add User Queries, Alternate Queries and Child Queries. Queries can be formed using patterns. Know more about patterns from here.
  3. Bot Responses – Each User Query should be associated with a Bot Response. These can be in plain text format, or in JavaScript. You can specify Channel-specific responses. You can also enter multiple Responses, one of which will be picked randomly by the platform at runtime.

Creation

To create a Small Talk, you need to start by adding a New Group.

Next, you need to add User Queries and Bot Responses.

Groups

You can create a New Group manually or Import an existing JSON or TSV file. You can also modify the default Greeting category.

  • New Group:
    1. From Bot Tasks -> Small Talk, click the New Group button.
    2. Enter a Name and Proceed.
  • Import: If you have already have Small Talk for your company, you can import the same. The file needs to be in a JSON or TSV format. You can download a sample file for the formatting details.
    1. From Bot Tasks -> Small Talk, click the more (ellipses) button.
    2. Select Import option
    3. Select the file containing the Small Talk and Next.
    4. The import will start. Note that the existing Small Talk will be replaced with the Imported file.
  • Modify:
    1. You can click the existing Group and make changes to the same.

From the Small Talk editor that opens you can enter User Utterance – Bot Response pairs and Add to the list.

Query – Response

Once you create/import a Group, you can add/modify the query-response pairs.

  1. Enter User Query in the User column and corresponding Bot Response in the Bot column.
  2. Hit Enter or Add to add the query-response pair to the list.
  3. Queries can be designed using patterns. Know more about patterns from here.
  4. For each User Query, you can enter alternate questions that depict a different way the user might ask the same query.
  5. For each Bot Response, you can enter alternate responses. The platform will pick one response at random during runtime.
  6. Using the handlebar icon that appears in front of the question on hover, you can re-arrange the order of the questions.
  7. Each User Query can have child query. The child questions can be asked only when the parent question has been asked and responded to. To add Child Query, use the + icon that appears next to the question when you hover over it.
  8. Responses can be Channel specific and can be Java Script formatted. By clicking the settings (gear icon), that appears next to the response when you hover over it opens the Manage Response window. Here:
    • Give a default message do be displayed on all Channels.
    • For channel-specific response:
      1. Click + Add Response
      2. Click the New prompt message
      3. Select the Channel
      4. Enter the response in Standard Text or in Java Script using the Advanced Mode. If applicable Select a Template. (see here for more on message formatting)
      5. Save.

Train

Once you have made changes to the Small Talk, it needs to be Trained for the Bot to pick up the Small Talk. Use the Train button on the Small Talk editor screen for training the Bot.

NOTE: Importing a Small Talk file will trigger the Training automatically.

Things to Note

  • Only three levels of child nodes are allowed in Small talk. The child questions are identified only if the corresponding parent level question was answered in the previous volley.
  • The questions are evaluated in the order in which they are added in a group. It is advisable to add generic small talk at the end and specific small talk at the beginning (e.g. ‘how is your day today’ should be added first and then followed by ‘how are you’). You can reorder the primary questions after adding them.
  • Groups are also evaluated in the order in which are added.
  • Duplicate top-level questions, across all categories, are not allowed.
  • Intents and Knowledge Collection will take precedence over Small Talk i.e. when Intents (or FAQs) and Small Talk are detected, preference is given to Intents (or FAQs).
  • Any Small Talk identified will be displayed after Ranking & Resolver.
  • Universal Bot:
    • If a user is in the context of Universal bot, then the Universal bot’s Small Talk will be considered
    • If the user is in the context of a child bot, then the child bot’s Small Talk will be considered. However, if Small Talk from the corresponding child bot is not found, then the Universal Bot’s Small Talk will be considered.
  • Small talk is language-specific. If your Bot is multi-lingual, then you can design Small Talk in each of the enabled languages.
  • Interruption Behavior for Small Talk can be handled using the following options from Natural Language -> Intelligence -> Manage Interruptions:
    • Respond to Small Talk and resume the on-hold task – this is the default setting
    • Execute the Small Talk using Hold & Resume settings.
Menu