はじめに
対話型AIプラットフォーム
チャットボットの概要
自然言語処理(NLP)
ボットの概念と用語
クイックスタートガイド
プラットフォームへのアクセス
ボットビルダーの操作
リリースノート
最新バージョン(英語)
以前のバージョン(英語)
廃止機能(英語)
コンセプト
設計
ストーリーボード
ダイアログタスク
ダイアログタスクとは
ダイアログビルダー
ノードタイプ
インテントノード
ダイアログノード
エンティティノード
フォームノード
確認ノード
ロジックノード
ボットアクションノード
サービスノード
Webhookノード
スクリプトノード
グループノード
エージェント転送ノード
ユーザープロンプト
音声通話プロパティ
イベント ハンドラー
ナレッジグラフ
ナレッジグラフの抽出
ナレッジグラフの構築
ボットにナレッジグラフを追加
グラフの作成
ナレッジグラフの構築
既存のソースからFAQを構築
通知タスク
スモールトーク
デジタルスキル
デジタルフォーム
デジタルビュー
デジタルビューとは
パネル
ウィジェット
トレーニング
トレーニングとは
機械学習
機械学習とは
モデル検証
ファンダメンタルミーニング
ナレッジグラフ
示唆
ランキングおよび解決
NLPの詳細設定
NLPのガイドライン
インテリジェンス
インテリジェンスとは
コンテキスト
コンテキストインテント
割り込み
複数インテントの検出
エンティティの変更
デフォルトの会話
センチメント管理
トーン分析
テストとデバッグ
ボットと会話
発話テスト
バッチテスト
会話テスト
デプロイ
チャネル
公開
分析
ボットの分析
NLPメトリクス
会話フロー
Usage Metrics
封じ込め測定
カスタムダッシュボード
カスタムダッシュボードとは
メタタグ
カスタムダッシュボードとウィジェット
LLM and Generative AI
Introduction
LLM Integration
Kore.ai XO GPT Module
Prompts & Requests Library
Co-Pilot Features
Dynamic Conversations Features
ユニバーサルボット
ユニバーサルボットとは
ユニバーサルボットの定義
ユニバーサルボットの作成
ユニバーサルボットのトレーニング
ユニバーサルボットのカスタマイズ
他言語の有効化
ストア
プラントと使用
Overview
Usage Plans
Support Plans
Invoices
管理
ボット認証
複数言語対応ボット
個人を特定できる情報の編集
ボット変数の使用
IVRのシステム連携
一般設定
ボット管理
ハウツー
会話スキルの設計
バンキングボットを作成
バンキングボット – 資金の振り替え
バンキングボット – 残高を更新
ナレッジグラフを構築
スマートアラートの予約方法
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
デジタルスキルの設計
デジタルフォームの設定方法
デジタルビューの設定方法
データテーブルのデータの追加方法
データテーブルのデータの更新方法
Add Data from Digital Forms
ボットのトレーニング
示唆の使用方法
インテントとエンティティのパターンの使用方法
コンテキスト切り替えの管理方法
ボットのデプロイ
エージェント転送の設定方法
ボット関数の使用方法
コンテンツ変数の使用方法
グローバル変数の使用方法
ボットの分析
カスタムダッシュボードの作成方法
カスタムタグを使ってフィルタリング
Data
Overview
Data Table
Table Views
App Definitions
Data as Service
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
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. ホーム
  2. Integrations
  3. 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

メニュー