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. How Tos
  5. How to extract FAQs into Knowledge Graph3 min read

How to extract FAQs into Knowledge Graph3 min read

This is document details steps in building Knowledge Graph for a Banking Bot by extracting FAQs from two sources – a PDF file and a website URL.

This page gives a step-by-step instruction for Knowledge Extraction, to build a Knowledge Graph from scratch, refer to this document.

Problem Statement

  • The company has FAQs compiled on two formats – a PDF file and a website.
  • These need to be incorporated into the Banking Bot, so users can refer in case of need.
  • Knowledge Extraction process enables one to extract FAQs from multiple sources and add the same into the bot.

For details on what Knowledge Extraction process, refer here.

Prerequisites:

  • You must have signed up with the Kore.ai Bots Platform
  • You must be aware of the basics of Bot building (refer to this link)
  • You must have created a simple bot (refer here for an example)
  • You must have basic knowledge about Kore.ai’s Knowledge Graph (refer here)
  • You must have access to a PDF file with question and answers.
  • You must have access to a website URL with question and answers.

Step 1: Knowledge Graph

Using Knowledge Graph, bots can provide answers to your user questions by querying a predefined set of FAQs. Knowledge Extraction service can be used to quickly pull FAQs from web pages and documents.

  • Open the Bot to which the Knowledge Graph needs to be build, here we are using Banking Bot.
  • From Bot Tasks section, click Knowledge Graph to access the same.
  • In the Knowledge Graph displayed, you can find under the Extracts section two options Extract from file and Extract from URL.
  • We will be using both the options for this use case.

Step 2: Extract FAQs

Using Extract from file option you can pull FAQs from a document.

  • Click Extract from file option.
  • Drag and drop or Browse and select the file you want to Extract from, enter a Name, and click Proceed.
  • Repeat the steps for Extract from URL option.
  • As you can see from the Extracts section there are two extracts with the questions to be reviewed and added to the Knowledge Graph.

Step 3: Add FAQs

Before adding the questions to the Knowledge Graph, let us create two appropriate nodes to add questions to. Since our FAQs are related to Internet Banking and ATM Usage we created two such nodes:

 

There are two ways to add questions, we will look at each one of them here

  • From the Extracts page, click on the Review & Add link against the extract you want to add from, here we are selecting the ATM Usage extract.
    • This will open the FAQ list along with the Knowledge Graph ontology.
    • Select the questions you want to add.
    • Drag and drop into the corresponding node.
    • Notice the question count updated – Added vs Not added.

  • Return to the Bot Tasks page.
  • Click on the Knowledge Graph to open the page.
    • Select the node to which you want to add the questions and click the Add from extraction link.
    • Select the Extract from which you want to add the questions, Internet Banking in this example.
    • Select the questions you want to add and click Add
    • Close the questions page and return to the Knowledge Graph page.
  • Now when you select the Knowledge Graph, you can see the added question in their respective paths.
Menu