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

How to extract FAQs into Knowledge Graph

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.

How to extract FAQs into Knowledge Graph

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