はじめに
対話型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. Docs
  3. Virtual Assistants
  4. SDKs
  5. Kore.ai Widget SDK Tutorial

Kore.ai Widget SDK Tutorial

This tutorial is an end-to-end walkthrough for setting up and running an instance of the Kore.ai Bots Web SDK to host widgets for presenting information from your bots and enabling interaction with your bots.

Widget SDK Overview

There are two ways to host the Kore.ai Widget SDK:

  • co-host them along with the WebSDK – enable and configure both Web/Mobile Client and Widget SDK channels; or
  • independently – enable and configure just the Widget SDK channel.

In this tutorial, we will be listing the instructions for both the variations.

Installing and Running the Kore.ai Widget SDK

This section provides detailed steps on how to run a Kore.ai bot using the Widget SDK and a test application running on your computer localhost server.

Pre-requisites

  1. To get started, you will need to build a bot with Digital Views to run in the test application (see here for more on Digital Views).
  2. You need enable the Widget SDK channel for the above bot by either creating a new client app or use an existing client app and define the channel settings. See here for a detailed explanation of the steps.
  3. If you want to co-host the Panels & Widgets along with the WebSDK, you need enable the Web/Mobile Client channel for the above bot by either creating a new client app or use an existing client app and define the channel settings. See here for a detailed explanation of the steps.
  4. Publish the bot.
  5. From the Channels -> Configured Channels click to open the configured Widget SDK channel. From the Configurations tab make a note of the following, we will be using them later in the Widget SDK setup:
    • Bot Name
    • Bot ID
    • Client ID
    • Client Secret
  6. If you want to co-host Panels & Widgets with Web/Mobile SDK, then from the Channels -> Configured Channels click to open the configured Web/Mobile Client channel. From the Configurations tab make a note of the following, we will be using them later in the Widget SDK setup:
    • Bot Name
    • Bot ID
    • Client ID
    • Client Secret

Next step would be to download, uncompress, install and configure the software packages required for the Widget SDK and a test application to run the bot locally on your localhost server.

Based upon your requirement see the appropriate sections below:

  • host Panels individually; or
  • co-host Panels with Web SDK.

Setup to host Panels individually:

To download the Kore.ai Widget SDK, go to https://github.com/Koredotcom/web-kore-sdk, and then click Download. Extract all files to the …/SDKApp/sdk folder.

  1. Open the UI folder.
  2. Locate and open the kore-widgets-config.js
  3. Configure your botOptions with the ‘Widget SDK’ channel configurations created in bot builder:
    • botOptions.botInfo
    • botOptions.clientId
    • botOptions.clientSecret
  4. Open the index_widgets.html file in the browser and see the Panels displayed. You can add this <div> element to your website html page to host the Panels there.

Setup to co-host Panels with Web/Mobile SDK:

To download the Kore.ai Widget SDK, go to https://github.com/Koredotcom/web-kore-sdk, and then click Download. Extract all files to the …/SDKApp/sdk folder.

  1. Open UI folder.
  2. Locate and open the kore-config.js
  3. Configure your botOptions with the ‘web/mobile client’ channel configurations created in bot builder
    • botOptions.botInfo
    • botOptions.clientId
    • botOptions.clientSecret
  4. Open the kore-widgets-config.js
  5. Configure your botOptions with the ‘Widget SDK’ channel configurations created in bot builder
    • botOptions.botInfo
    • botOptions.clientId
    • botOptions.clientSecret
  6. Open the index_widgets_chat.html file in the browser and see the chat window along with the widgets.

Kore.ai Widget SDK Tutorial

This tutorial is an end-to-end walkthrough for setting up and running an instance of the Kore.ai Bots Web SDK to host widgets for presenting information from your bots and enabling interaction with your bots.

Widget SDK Overview

There are two ways to host the Kore.ai Widget SDK:

  • co-host them along with the WebSDK – enable and configure both Web/Mobile Client and Widget SDK channels; or
  • independently – enable and configure just the Widget SDK channel.

In this tutorial, we will be listing the instructions for both the variations.

Installing and Running the Kore.ai Widget SDK

This section provides detailed steps on how to run a Kore.ai bot using the Widget SDK and a test application running on your computer localhost server.

Pre-requisites

  1. To get started, you will need to build a bot with Digital Views to run in the test application (see here for more on Digital Views).
  2. You need enable the Widget SDK channel for the above bot by either creating a new client app or use an existing client app and define the channel settings. See here for a detailed explanation of the steps.
  3. If you want to co-host the Panels & Widgets along with the WebSDK, you need enable the Web/Mobile Client channel for the above bot by either creating a new client app or use an existing client app and define the channel settings. See here for a detailed explanation of the steps.
  4. Publish the bot.
  5. From the Channels -> Configured Channels click to open the configured Widget SDK channel. From the Configurations tab make a note of the following, we will be using them later in the Widget SDK setup:
    • Bot Name
    • Bot ID
    • Client ID
    • Client Secret
  6. If you want to co-host Panels & Widgets with Web/Mobile SDK, then from the Channels -> Configured Channels click to open the configured Web/Mobile Client channel. From the Configurations tab make a note of the following, we will be using them later in the Widget SDK setup:
    • Bot Name
    • Bot ID
    • Client ID
    • Client Secret

Next step would be to download, uncompress, install and configure the software packages required for the Widget SDK and a test application to run the bot locally on your localhost server.

Based upon your requirement see the appropriate sections below:

  • host Panels individually; or
  • co-host Panels with Web SDK.

Setup to host Panels individually:

To download the Kore.ai Widget SDK, go to https://github.com/Koredotcom/web-kore-sdk, and then click Download. Extract all files to the …/SDKApp/sdk folder.

  1. Open the UI folder.
  2. Locate and open the kore-widgets-config.js
  3. Configure your botOptions with the ‘Widget SDK’ channel configurations created in bot builder:
    • botOptions.botInfo
    • botOptions.clientId
    • botOptions.clientSecret
  4. Open the index_widgets.html file in the browser and see the Panels displayed. You can add this <div> element to your website html page to host the Panels there.

Setup to co-host Panels with Web/Mobile SDK:

To download the Kore.ai Widget SDK, go to https://github.com/Koredotcom/web-kore-sdk, and then click Download. Extract all files to the …/SDKApp/sdk folder.

  1. Open UI folder.
  2. Locate and open the kore-config.js
  3. Configure your botOptions with the ‘web/mobile client’ channel configurations created in bot builder
    • botOptions.botInfo
    • botOptions.clientId
    • botOptions.clientSecret
  4. Open the kore-widgets-config.js
  5. Configure your botOptions with the ‘Widget SDK’ channel configurations created in bot builder
    • botOptions.botInfo
    • botOptions.clientId
    • botOptions.clientSecret
  6. Open the index_widgets_chat.html file in the browser and see the chat window along with the widgets.
メニュー