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. Integrations
  2. Using the OpenAI Action Templates

Using the OpenAI Action Templates

You can use the Prebuilt Action Templates from your OpenAI integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using OpenAI action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.

Lchqjqh4-agdu-hineviyazfo3d6c2yalm0-mt3w-0aamidq0kqfsgxun kfkwekil8hoqwzyhwnfxoz4klnje1k4 qbdlxehudyrhv6q081b6hrdan1xkgp-pjbgrohlfr9bz5xractlk04utenhfq

  1. On the Dialog Task pop-up, under the Integration, select the OpenAI option to view the action templates.

Pasted image 0

Note: If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

S08jpydrrfwubpz1wygqdjnolaop7ahfz8tsjatw2qnshi29fthf6173i21ugmg2snyypupg5fyype89zyfssz1euur5ofxqoqx soxvjpwixifwccdngvkfjbza otr9aya5hn9lbnreqe2y8780j8

OpenAI Actions

The following OpenAI actions are supported in this release:

Supported Actions

Description

Method

Generate Answers from Context

Generates answers for your questions based on the given context.

POST

Extract Skills from resume

Extracts skills from your resume using the content that is provided as an input.

POST

Generate Answers from Context

Steps to generate answers from context task using the OpenAI integration:

  1. Refer to the Installing the OpenAI templates section to install this template.
  2. The Generate answers from context dialog task is added with the following components:

Pasted image 0

  • answerGeneration: A user intent to generate answers.
  • paragraph and question – Entity nodes for gathering the required answer generation details.
  • answerGenerationService – A bot action service to generate answers from the context in an external integration. Click the Plus icon to expand to view the answerGenerationService bot action component properties.
  • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

                

Pasted image 0

                Sample Request:
  {
"model": "text-davinci-003",
"prompt": "Context: This policy applies to exempt employees who are required to relocate because they are being permanently transferred (for no less than 12 months) at the Company’s request to a location within the Company (within the United States [including possessions and territories] and Canada) that is at least fifty (50) miles farther from their residence than their former job location.Reimbursement for relocation will be limited to expenses enumerated below incurred by the employee and legally-recognized, immediate family members who currently live with the employee.Eligibility must be approved by the supervising manager, functional Vice President and Human Resources Department.Prior written approval is required for exceptions to this policy, either in determining eligibility or extent of coverage.This prior written approval must be obtained from the Human Resources Department.Benefits under the plan will cease if the employee resigns his/her employment or is terminated for cause, including for poor performance.In addition, if an employee resigns from his/her employment, or is terminated for cause, including for poor performance, within 12 months of having been transferred, the employee will be required to reimburse the Company for relocation expenses paid for by the Company under this policy.In order to address the financial concerns you may have regarding a move, the Company has put together the following relocation package of up to a maximum of $20,000, inclusive of tax gross-up.Included in this package are some items that may help to address some personal concerns you may also have.Nothing in this policy should be construed as a contract for employment for any period of time or as altering the at-will nature of the employment relationship.The Company has the right to terminate employees for any or no reason at all, at any time.This plan is administered by the Human Resources Department.The Company will not be responsible for any action taken which is beyond the scope of this plan. Q: How much maximum relocation reimbursement can i avail under this policy?'",
"temperature": 0,
"max_tokens": 256,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}

Note: You can enter a maximum of 1500 words with no line breaks, single or double quotes in the content.

To add one or more responses, scroll down and click the +Add Response button: 

         

Pasted image 0

                Sample Response:
{
"id": "cmpl-6f2Q0ZeQIOoSpX428wUr3rp7T7zgc",
"object": "text_completion",
"created": 1675238764,
"model": "text-davinci-003",
"choices": [
{
"text": "\n\nA: Under this policy, you can avail a maximum relocation reimbursement of up to $20,000, inclusive of tax gross-up.",
"index": 0,
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 396,
"completion_tokens": 30,
"total_tokens": 426
}
}

  • answerGenerationMessage – A message node with script to display responses for various scenarios.
  1. Click the Train tab to complete the Dialog task training.
  2. Click the Talk to Bot icon to test and debug the dialog task.
  3. Follow the prompts in the VA console to generate answers from context as shown below:

Pasted image 0

  1. Enter a question based on context when prompted by the VA as shown below:

Pasted image 0

           

  1. You will notice an answer is generated from the context for your question.

Extract Skills from Resume

Steps to extract skills from the resume using OpenAI integration:

  1. Refer to the Installing the OpenAI templates section to install this template.
  2. The Extract Skills from resume dialog task is added with the following components:

Pasted image 0

  • extractSkills : A user intent to extract skills from the resume content.
  • resume – Entity nodes for extracting the skills.
  • extractSkillsService – A bot action script to extract skills from the resume content in an OpenAI integration. Click the Plus icon to expand to view the extractSkillsService bot action component properties.
  • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

Pasted image 0

Sample Request:

 {
"model": "text-davinci-002",
"prompt": "Worked on a leaflet Efficient Multi-camera Positioning. Researched, designed and developed a system that uses AI plus Mathematical techniques to assist users in producing on-stage video content using various Machine Learning and Deep Learning algorithms and frameworks like Tensorflow, NumPy, Pandas, Scikit-Learn, etc. Worked on application software development and NLP analysis at a Global-level Project. Used KMeans Clustering Algorithm for Customer Request Analytics on a data consisting of more than million text words.Worked on two project leaflets that were built and deployed using Python and Tensorflow. The first one was a Neural Network based approach for text-to-speech (TTS) synthesis that can generate real-time voice cloning (speech audio) in the voice of different speakers. The second model involves the use of object detection and pose estimation to count the number of workout steps done. Worked as Research Intern mainly on design and prototype of advanced automated aerated system using normal mobile application and Wi-Fi technology. In this project, sensor coding and a flexible Automated Aerated System using Arduino micro-controller and NodeMCU ESP8266 Wi-Fi Module was proposed and implemented.",
"temperature": 0.7,
"stop": "Q:"
}

Note: You can enter a maximum of 1500 words with no line breaks, single or double quotes in the content.

To add one or more responses, scroll down and click the +Add Response button:        

         

Pasted image 0

                Sample Response:

     "{
"id": "cmpl-6U8OZ4pJmLgGliKfCgfBjzgUgEV5Q",
"object": "text_completion",
"created": 1672640131,
"model": "text-davinci-002",
"choices": [
{
"text": "\n\n-Advanced automated aerated system-Wi-Fi technology-ESP8266 Wi-Fi module-Personal Computer-Database",
"index": 0,
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 163,
"completion_tokens": 27,
"total_tokens": 190
}
}

  •  extractSkillsMessage – A message node with script to display responses for various scenarios.
  1. Click the Train tab to complete the Dialog task training.
  2. Click the Talk to Bot icon to test and debug the dialog task.
  3. Follow the prompts in the VA console to extract skills.
  4. Enter the resume content when prompted by the VA.

Pasted image 0

  1. The VA now extracts the skills based on the resume content entered.

        

Pasted image 0

Using the OpenAI Action Templates

You can use the Prebuilt Action Templates from your OpenAI integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using OpenAI action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.

Lchqjqh4-agdu-hineviyazfo3d6c2yalm0-mt3w-0aamidq0kqfsgxun kfkwekil8hoqwzyhwnfxoz4klnje1k4 qbdlxehudyrhv6q081b6hrdan1xkgp-pjbgrohlfr9bz5xractlk04utenhfq

  1. On the Dialog Task pop-up, under the Integration, select the OpenAI option to view the action templates.

Pasted image 0

Note: If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

S08jpydrrfwubpz1wygqdjnolaop7ahfz8tsjatw2qnshi29fthf6173i21ugmg2snyypupg5fyype89zyfssz1euur5ofxqoqx soxvjpwixifwccdngvkfjbza otr9aya5hn9lbnreqe2y8780j8

OpenAI Actions

The following OpenAI actions are supported in this release:

Supported Actions

Description

Method

Generate Answers from Context

Generates answers for your questions based on the given context.

POST

Extract Skills from resume

Extracts skills from your resume using the content that is provided as an input.

POST

Generate Answers from Context

Steps to generate answers from context task using the OpenAI integration:

  1. Refer to the Installing the OpenAI templates section to install this template.
  2. The Generate answers from context dialog task is added with the following components:

Pasted image 0

  • answerGeneration: A user intent to generate answers.
  • paragraph and question – Entity nodes for gathering the required answer generation details.
  • answerGenerationService – A bot action service to generate answers from the context in an external integration. Click the Plus icon to expand to view the answerGenerationService bot action component properties.
  • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

                

Pasted image 0

                Sample Request:
  {
"model": "text-davinci-003",
"prompt": "Context: This policy applies to exempt employees who are required to relocate because they are being permanently transferred (for no less than 12 months) at the Company’s request to a location within the Company (within the United States [including possessions and territories] and Canada) that is at least fifty (50) miles farther from their residence than their former job location.Reimbursement for relocation will be limited to expenses enumerated below incurred by the employee and legally-recognized, immediate family members who currently live with the employee.Eligibility must be approved by the supervising manager, functional Vice President and Human Resources Department.Prior written approval is required for exceptions to this policy, either in determining eligibility or extent of coverage.This prior written approval must be obtained from the Human Resources Department.Benefits under the plan will cease if the employee resigns his/her employment or is terminated for cause, including for poor performance.In addition, if an employee resigns from his/her employment, or is terminated for cause, including for poor performance, within 12 months of having been transferred, the employee will be required to reimburse the Company for relocation expenses paid for by the Company under this policy.In order to address the financial concerns you may have regarding a move, the Company has put together the following relocation package of up to a maximum of $20,000, inclusive of tax gross-up.Included in this package are some items that may help to address some personal concerns you may also have.Nothing in this policy should be construed as a contract for employment for any period of time or as altering the at-will nature of the employment relationship.The Company has the right to terminate employees for any or no reason at all, at any time.This plan is administered by the Human Resources Department.The Company will not be responsible for any action taken which is beyond the scope of this plan. Q: How much maximum relocation reimbursement can i avail under this policy?'",
"temperature": 0,
"max_tokens": 256,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}

Note: You can enter a maximum of 1500 words with no line breaks, single or double quotes in the content.

To add one or more responses, scroll down and click the +Add Response button: 

         

Pasted image 0

                Sample Response:
{
"id": "cmpl-6f2Q0ZeQIOoSpX428wUr3rp7T7zgc",
"object": "text_completion",
"created": 1675238764,
"model": "text-davinci-003",
"choices": [
{
"text": "\n\nA: Under this policy, you can avail a maximum relocation reimbursement of up to $20,000, inclusive of tax gross-up.",
"index": 0,
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 396,
"completion_tokens": 30,
"total_tokens": 426
}
}

  • answerGenerationMessage – A message node with script to display responses for various scenarios.
  1. Click the Train tab to complete the Dialog task training.
  2. Click the Talk to Bot icon to test and debug the dialog task.
  3. Follow the prompts in the VA console to generate answers from context as shown below:

Pasted image 0

  1. Enter a question based on context when prompted by the VA as shown below:

Pasted image 0

           

  1. You will notice an answer is generated from the context for your question.

Extract Skills from Resume

Steps to extract skills from the resume using OpenAI integration:

  1. Refer to the Installing the OpenAI templates section to install this template.
  2. The Extract Skills from resume dialog task is added with the following components:

Pasted image 0

  • extractSkills : A user intent to extract skills from the resume content.
  • resume – Entity nodes for extracting the skills.
  • extractSkillsService – A bot action script to extract skills from the resume content in an OpenAI integration. Click the Plus icon to expand to view the extractSkillsService bot action component properties.
  • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

Pasted image 0

Sample Request:

 {
"model": "text-davinci-002",
"prompt": "Worked on a leaflet Efficient Multi-camera Positioning. Researched, designed and developed a system that uses AI plus Mathematical techniques to assist users in producing on-stage video content using various Machine Learning and Deep Learning algorithms and frameworks like Tensorflow, NumPy, Pandas, Scikit-Learn, etc. Worked on application software development and NLP analysis at a Global-level Project. Used KMeans Clustering Algorithm for Customer Request Analytics on a data consisting of more than million text words.Worked on two project leaflets that were built and deployed using Python and Tensorflow. The first one was a Neural Network based approach for text-to-speech (TTS) synthesis that can generate real-time voice cloning (speech audio) in the voice of different speakers. The second model involves the use of object detection and pose estimation to count the number of workout steps done. Worked as Research Intern mainly on design and prototype of advanced automated aerated system using normal mobile application and Wi-Fi technology. In this project, sensor coding and a flexible Automated Aerated System using Arduino micro-controller and NodeMCU ESP8266 Wi-Fi Module was proposed and implemented.",
"temperature": 0.7,
"stop": "Q:"
}

Note: You can enter a maximum of 1500 words with no line breaks, single or double quotes in the content.

To add one or more responses, scroll down and click the +Add Response button:        

         

Pasted image 0

                Sample Response:

     "{
"id": "cmpl-6U8OZ4pJmLgGliKfCgfBjzgUgEV5Q",
"object": "text_completion",
"created": 1672640131,
"model": "text-davinci-002",
"choices": [
{
"text": "\n\n-Advanced automated aerated system-Wi-Fi technology-ESP8266 Wi-Fi module-Personal Computer-Database",
"index": 0,
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 163,
"completion_tokens": 27,
"total_tokens": 190
}
}

  •  extractSkillsMessage – A message node with script to display responses for various scenarios.
  1. Click the Train tab to complete the Dialog task training.
  2. Click the Talk to Bot icon to test and debug the dialog task.
  3. Follow the prompts in the VA console to extract skills.
  4. Enter the resume content when prompted by the VA.

Pasted image 0

  1. The VA now extracts the skills based on the resume content entered.

        

Pasted image 0

메뉴