はじめに
対話型AIプラットフォーム
チャットボットの概要
自然言語処理(NLP)
ボットの概念と用語
クイックスタートガイド
プラットフォームへのアクセス
ボットビルダーの操作
リリースノート
最新バージョン(英語)
以前のバージョン(英語)
廃止機能(英語)
コンセプト
設計
ストーリーボード
ダイアログタスク
ダイアログタスクとは
ダイアログビルダー
ノードタイプ
インテントノード
ダイアログノード
エンティティノード
フォームノード
確認ノード
ロジックノード
ボットアクションノード
サービスノード
Webhookノード
スクリプトノード
グループノード
エージェント転送ノード
ユーザープロンプト
音声通話プロパティ
イベント ハンドラー
ナレッジグラフ
ナレッジグラフの抽出
ナレッジグラフの構築
ボットにナレッジグラフを追加
グラフの作成
ナレッジグラフの構築
既存のソースからFAQを構築
特性、同義語、停止用語
変数ネームスペースの管理
更新
ノード間の質問と回答の移動
用語の編集と削除
質問と応答の編集
ナレッジグラフの分析
通知タスク
スモールトーク
デジタルスキル
デジタルフォーム
デジタルビュー
デジタルビューとは
パネル
ウィジェット
トレーニング
トレーニングとは
機械学習
機械学習とは
モデル検証
ファンダメンタルミーニング
ナレッジグラフ
示唆
ランキングおよび解決
NLPの詳細設定
NLPのガイドライン
インテリジェンス
インテリジェンスとは
コンテキスト
コンテキストインテント
割り込み
複数インテントの検出
エンティティの変更
デフォルトの会話
センチメント管理
トーン分析
テストとデバッグ
ボットと会話
発話テスト
バッチテスト
会話テスト
デプロイ
チャネル
公開
分析
ボットの分析
NLPメトリクス
会話フロー
Usage Metrics
封じ込め測定
カスタムダッシュボード
カスタムダッシュボードとは
メタタグ
カスタムダッシュボードとウィジェット
ユニバーサルボット
ユニバーサルボットとは
ユニバーサルボットの定義
ユニバーサルボットの作成
ユニバーサルボットのトレーニング
ユニバーサルボットのカスタマイズ
他言語の有効化
ストア
プラントと使用
Overview
Usage Plans
Support Plans
Invoices
管理
ボット認証
複数言語対応ボット
個人を特定できる情報の編集
ボット変数の使用
IVRのシステム連携
一般設定
ボット管理
ハウツー
会話スキルの設計
バンキングボットを作成
バンキングボット – 資金の振り替え
バンキングボット – 残高を更新
ナレッジグラフを構築
スマートアラートの予約方法
デジタルスキルの設計
デジタルフォームの設定方法
デジタルビューの設定方法
データテーブルのデータの追加方法
データテーブルのデータの更新方法
Add Data from Digital Forms
ボットのトレーニング
示唆の使用方法
インテントとエンティティのパターンの使用方法
コンテキスト切り替えの管理方法
ボットのデプロイ
エージェント転送の設定方法
ボット関数の使用方法
コンテンツ変数の使用方法
グローバル変数の使用方法
Web SDK Tutorial(英語)
Widget SDK Tutorial(英語)
ボットの分析
カスタムダッシュボードの作成方法
カスタムタグを使ってフィルタリング
管理
ボット管理者コンソール
ダッシュボード
ユーザーの管理
ユーザーの管理
グループの管理
ロール管理
ボット管理モジュール
登録
ユーザーの招待
招待状の一括送信
ユーザーデータのインポート
Active Directoryからユーザーを同期
セキュリティ/コンプライアンス
シングル サインオンの使用
セキュリティ設定
Billing(日本未対応)
  1. ホーム
  2. Docs
  3. Virtual Assistants
  4. Builder
  5. Knowledge Graph
  6. Knowledge Graph Terminology

Knowledge Graph Terminology

This article explains the terminology for building a Knowledge Graph within the XO Platform. This terminology applies to both the Few-Shot and the Ontology KG Models unless otherwise specified. Learn more about Knowledge Graph Types.

Terms or Nodes

Terms or Nodes are the building blocks of an ontology and are used to define the fundamental concepts and categories of a Knowledge Graph.

You can organize the terms in a hierarchical order to represent the flow of information in your graph. You can create, organize, edit, and delete terms and set term types to facilitate intent identification 

The Knowledge graph is limited to 20 thousand nodes/terms and 50 thousand FAQs.

Node/Term Hierarchy

For easier representation, we identify node/term hierarchy using the following names:

Root Term/Node

The Root Term/Node forms the topmost term of your Ontology. A Knowledge Graph contains only one root node, and all other nodes in the ontology become its child nodes. The Root node takes the name of the VA by default, but you can change it as needed. In an Ontology-based KG, this node is not used for path qualification or processing. Path qualification starts from first-level nodes. 

For Ontology-Based graphs, it is best to organize your FAQs into a clear structure, so we don’t recommend adding them at the Root node. You can, however, add a maximum of 100 FAQs if required. 

First-level Term/Node

The immediate next-level nodes after the Root node are known as First-Level Term/Node. There can be any number of first-level nodes in a graph. We recommend using first-level nodes to represent high-level terms, such as the names of departments, functionalities, etc. For example, in a Travel Assistant, you might have a first-level node called Reservation, which can be structured by functionality into subnodes such as: Cancel and Update.

Leaf Term/Node

Any node at any level starting with the 2nd is called a Leaf Term/Node.

Note: This hierarchical organization of nodes is for your convenience to keep related questions together. The Knowledge Graph Engine does not consider any parent-child relation while evaluating the questions for a match. The hierarchy does not influence the FAQ matching process since all the nodes are considered the same way, irrespective of their position.

Term/Node Types

Functionally, there are three types of Terms/Nodes.

  • Default: Default terms do not have any particular considerations in shortlisting qualified paths in Ontology-based KGs. 
  • Mandatory: When you mark a term as Mandatory, paths associated with it are shortlisted for ranking only if the user’s utterance includes the mandatory term or its synonyms.
  • Organizer: This term type can be marked as part of the Knowledge Graph to organize the ontology and help qualify FAQs even when they don’t contain the specific terms.

Tags

For each term/node, you can add custom tags. Tags work exactly like terms but are not displayed in the Knowledge Graph ontology to avoid clutter. You can add synonyms and traits to tags as you do to terms.

Synonyms

The Knowledge Graph allows you to add Synonyms for terms to include all possible alternative forms. Adding synonyms reduces the need for training the VA with alternative questions.

For example, the reservation node in our previously-mentioned Travel Assistant may have the following synonyms added to it: booking, order, purchase, etc. 

Synonym Types

When you add a synonym for a term or a tag in the Knowledge Graph, you can add it as a local or global synonym. Local synonyms (or Path Level Synonyms) apply to the term only in that particular path, whereas global synonyms (or Knowledge Graph Synonyms) apply to the term even if it appears on any other path in the ontology.

After v. 7.2 of the XO Platform, you can also use Bot Synonyms inside the Knowledge Graph engine for path qualification and question matching. With this setting, you need not recreate the same synonyms in Bot Synonyms and KG Synonyms.

Traits

A trait is a collection of typical end-user utterances that define the nature of a question. Learn more.

A trait is applied to multiple terms across your Bot Ontology.

Note: Traits also help you filter nodes based on associated user utterances. So, if the user types an utterance that is present in a trait, the assistant only searches the nodes to which the trait is applied. If the utterance is present in any other node to which the trait is not applied, the node is ignored.

Intents

A VA can respond to a given question with an FAQ or the execution of a Dialog Task.

  • FAQ: The question-answer pairs must be added to relevant nodes in your ontology. A maximum of 50k FAQs is permissible. A question is asked differently by different users, and to support this, you must associate multiple alternate forms for each question. Preceding an alternate question with || will allow you to enter patterns for FAQs (after the v.7.2 release).

  • Task: Linking a Dialog task to a KG Intent helps leverage the capabilities of the Knowledge Graph and Dialog tasks to handle FAQs that involve complex conversations.

Notes on the Few-Shot Knowledge Graph

  1. For Few-Shot graphs, you can add all your FAQs to the Root node because the LLM does not require an ontology.
  2. Default terms are not available in Few-Shot Knowledge Graphs. The only exception is when you switch from an Ontology Graph, in which case existing Default terms are stored as such until updated. Afterward, Default terms become Organizer terms and can be set as Mandatory.
  3. Path Level Synonyms are only supported for Mandatory Terms and for Tags.

Knowledge Graph Terminology

This article explains the terminology for building a Knowledge Graph within the XO Platform. This terminology applies to both the Few-Shot and the Ontology KG Models unless otherwise specified. Learn more about Knowledge Graph Types.

Terms or Nodes

Terms or Nodes are the building blocks of an ontology and are used to define the fundamental concepts and categories of a Knowledge Graph.

You can organize the terms in a hierarchical order to represent the flow of information in your graph. You can create, organize, edit, and delete terms and set term types to facilitate intent identification 

The Knowledge graph is limited to 20 thousand nodes/terms and 50 thousand FAQs.

Node/Term Hierarchy

For easier representation, we identify node/term hierarchy using the following names:

Root Term/Node

The Root Term/Node forms the topmost term of your Ontology. A Knowledge Graph contains only one root node, and all other nodes in the ontology become its child nodes. The Root node takes the name of the VA by default, but you can change it as needed. In an Ontology-based KG, this node is not used for path qualification or processing. Path qualification starts from first-level nodes. 

For Ontology-Based graphs, it is best to organize your FAQs into a clear structure, so we don’t recommend adding them at the Root node. You can, however, add a maximum of 100 FAQs if required. 

First-level Term/Node

The immediate next-level nodes after the Root node are known as First-Level Term/Node. There can be any number of first-level nodes in a graph. We recommend using first-level nodes to represent high-level terms, such as the names of departments, functionalities, etc. For example, in a Travel Assistant, you might have a first-level node called Reservation, which can be structured by functionality into subnodes such as: Cancel and Update.

Leaf Term/Node

Any node at any level starting with the 2nd is called a Leaf Term/Node.

Note: This hierarchical organization of nodes is for your convenience to keep related questions together. The Knowledge Graph Engine does not consider any parent-child relation while evaluating the questions for a match. The hierarchy does not influence the FAQ matching process since all the nodes are considered the same way, irrespective of their position.

Term/Node Types

Functionally, there are three types of Terms/Nodes.

  • Default: Default terms do not have any particular considerations in shortlisting qualified paths in Ontology-based KGs. 
  • Mandatory: When you mark a term as Mandatory, paths associated with it are shortlisted for ranking only if the user’s utterance includes the mandatory term or its synonyms.
  • Organizer: This term type can be marked as part of the Knowledge Graph to organize the ontology and help qualify FAQs even when they don’t contain the specific terms.

Tags

For each term/node, you can add custom tags. Tags work exactly like terms but are not displayed in the Knowledge Graph ontology to avoid clutter. You can add synonyms and traits to tags as you do to terms.

Synonyms

The Knowledge Graph allows you to add Synonyms for terms to include all possible alternative forms. Adding synonyms reduces the need for training the VA with alternative questions.

For example, the reservation node in our previously-mentioned Travel Assistant may have the following synonyms added to it: booking, order, purchase, etc. 

Synonym Types

When you add a synonym for a term or a tag in the Knowledge Graph, you can add it as a local or global synonym. Local synonyms (or Path Level Synonyms) apply to the term only in that particular path, whereas global synonyms (or Knowledge Graph Synonyms) apply to the term even if it appears on any other path in the ontology.

After v. 7.2 of the XO Platform, you can also use Bot Synonyms inside the Knowledge Graph engine for path qualification and question matching. With this setting, you need not recreate the same synonyms in Bot Synonyms and KG Synonyms.

Traits

A trait is a collection of typical end-user utterances that define the nature of a question. Learn more.

A trait is applied to multiple terms across your Bot Ontology.

Note: Traits also help you filter nodes based on associated user utterances. So, if the user types an utterance that is present in a trait, the assistant only searches the nodes to which the trait is applied. If the utterance is present in any other node to which the trait is not applied, the node is ignored.

Intents

A VA can respond to a given question with an FAQ or the execution of a Dialog Task.

  • FAQ: The question-answer pairs must be added to relevant nodes in your ontology. A maximum of 50k FAQs is permissible. A question is asked differently by different users, and to support this, you must associate multiple alternate forms for each question. Preceding an alternate question with || will allow you to enter patterns for FAQs (after the v.7.2 release).

  • Task: Linking a Dialog task to a KG Intent helps leverage the capabilities of the Knowledge Graph and Dialog tasks to handle FAQs that involve complex conversations.

Notes on the Few-Shot Knowledge Graph

  1. For Few-Shot graphs, you can add all your FAQs to the Root node because the LLM does not require an ontology.
  2. Default terms are not available in Few-Shot Knowledge Graphs. The only exception is when you switch from an Ontology Graph, in which case existing Default terms are stored as such until updated. Afterward, Default terms become Organizer terms and can be set as Mandatory.
  3. Path Level Synonyms are only supported for Mandatory Terms and for Tags.
メニュー