はじめに
対話型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. Bot Store
  5. Adding Bots
  6. Adding a CircleCI Bot

Adding a CircleCI Bot

Kore.ai provides integration for a built-in CircleCI Bot that you can use to display message notifications and execute tasks directly from the Kore.ai application. To use the CircleCI Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access CircleCI, and the notification messages that you want. This topic describes the CircleCI built-in Bot for Kore.ai. For more information about other Kore.ai Bots, see Adding Bots.

About the Kore.ai Bot for CircleCI

DIYCircleCILogo CircleCI is a continuous integration and deployment platform that lets you quickly and securely build, test, and deploy your applications.

Integration Type Webhook – Connect to this Bot using a webhook integration where the web application pushes message notifications in near real time.
Category Developer Tools – This Bot is available in the Kore.ai application in the Developer Tools category.

Configuring CircleCI 

To configure a CircleCI webhook for Kore.ai, you must have a CircleCI account with administrator access as well as API access to configure a webhook. If you don’t, you’ll need to contact the CircleCI system administrator for your company. For more information, see the CircleCI Documentation.
To get started configuring the webhook in CircleCI, you’ll need two things:

  1. The Kore.ai webhook URL provided when you set up an alert in your Kore.ai account for each alert that you want to enable in CircleCI.
  2. A valid Username and Password for an account with CircleCI API access.

The webhook URL is account-specific and cannot be transferred to any other account. This means that if you configure a CircleCI webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in CircleCI. The following URL is an example webhook URL.
https://company.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

Configuring Webhook

This procedure describes the steps in CircleCI to configure a webhook using a Kore.ai webhook URL endpoint. For a webhook,

  1. Log on to CircleCI, and then click the Settings DIYSettingsIcon icon located to the immediate right of your repository.
  2. On the Project Settings navigation pane, in the Notifications section, click Webhook Notifications. The Webhooks page is displayed.
  3. Click the circle.yml file link
  4. In the root folder of your repository, create or add the following code in the circle.yml file:

notify: webhooks: # A list of hashes representing hooks. Only the url field is supported. - url: https://Yourcompany.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

where the – url: property is the Kore.ai webhook URL for the alert.

5. Save and publish the repository.

Note: By default, all events for this Bot generate Kore.ai alert messages. To reduce the number of notifications, this Bot may have filters that can be defined when you set up the alert in your Kore.ai account.

Sample circle.yml file

The following code is a sample circle.yml file that includes the notify section at the bottom for Kore.ai alert configuration. For more information, see the Notifications section in Configuring CircleCI in the CircleCI documentation.
The sections in your circle.yml file depend on your requirements.

## Customize the test machine
machine:
  timezone:
    America/Los_Angeles # Set the timezone
  # Version of ruby to use
  ruby:
    version:
      1.8.7-p358-falcon-perf
  # Override /etc/hosts
  hosts:
    circlehost: 127.0.0.1
    dev.mycompany.com: 127.0.0.1
  # Add some environment variables
  environment:
    CIRCLE_ENV: test
    DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test
## Customize checkout
checkout:
  post:
    - git submodule sync
    - git submodule update --init # use submodules
## Customize dependencies
dependencies:
  pre:
    - npm install coffeescript # install from a different package manager
    - gem uninstall bundler # use a custom version of bundler
    - gem install bundler --pre
  override:
    - bundle install: # note ':' here
        timeout: 180 # fail if command has no output for 3 minutes
  # we automatically cache and restore many dependencies between
  # builds. If you need to, you can add custom paths to cache:
  cache_directories:
    - "custom_1"   # relative to the build directory
    - "~/custom_2" # relative to the user's home directory
## Customize database setup
database:
  override:
    # replace CircleCI's generated database.yml
    - cp config/database.yml.ci config/database.yml
    - bundle exec rake db:create db:schema:load
## Customize test commands
test:
  override:
    - phpunit test/unit-tests # use PHPunit for testing
  post:
    - bundle exec rake jasmine:ci: # add an extra test type
        environment:
          RAILS_ENV: test
          RACK_ENV: test
## Customize deployment commands
deployment:
  staging:
    branch: master
    heroku:
      appname: foo-bar-123
## Custom notifications
notify:
  webhooks:
    # A list of hashes representing hooks. Only the url field is supported.
    - url: https://company.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

You can setup message notifications to your Kore.ai account using a CircleCI webhook. Click , click Get notified when…, click Build Updates via Webhook, and then in the Setup Task dialog:

  • click the Activate button to generate a Webhook URL.
  • copy and save the URL, or click Email Instructions to send the URL to an email account. For more information, see Configuring CircleCI Webhooks.
  • optionally customize the Task Name 
  • optionally customize the Short Description
  • enable or disable Mute task notifications.

Next Steps

After the webhook is configured in CircleCI, when any of the events occur in CircleCI, a message is displayed on the Bots tab in the Messages section for the Kore.ai account.

Adding a CircleCI Bot

Kore.ai provides integration for a built-in CircleCI Bot that you can use to display message notifications and execute tasks directly from the Kore.ai application. To use the CircleCI Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access CircleCI, and the notification messages that you want. This topic describes the CircleCI built-in Bot for Kore.ai. For more information about other Kore.ai Bots, see Adding Bots.

About the Kore.ai Bot for CircleCI

DIYCircleCILogo CircleCI is a continuous integration and deployment platform that lets you quickly and securely build, test, and deploy your applications.

Integration Type Webhook – Connect to this Bot using a webhook integration where the web application pushes message notifications in near real time.
Category Developer Tools – This Bot is available in the Kore.ai application in the Developer Tools category.

Configuring CircleCI 

To configure a CircleCI webhook for Kore.ai, you must have a CircleCI account with administrator access as well as API access to configure a webhook. If you don’t, you’ll need to contact the CircleCI system administrator for your company. For more information, see the CircleCI Documentation.
To get started configuring the webhook in CircleCI, you’ll need two things:

  1. The Kore.ai webhook URL provided when you set up an alert in your Kore.ai account for each alert that you want to enable in CircleCI.
  2. A valid Username and Password for an account with CircleCI API access.

The webhook URL is account-specific and cannot be transferred to any other account. This means that if you configure a CircleCI webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in CircleCI. The following URL is an example webhook URL.
https://company.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

Configuring Webhook

This procedure describes the steps in CircleCI to configure a webhook using a Kore.ai webhook URL endpoint. For a webhook,

  1. Log on to CircleCI, and then click the Settings DIYSettingsIcon icon located to the immediate right of your repository.
  2. On the Project Settings navigation pane, in the Notifications section, click Webhook Notifications. The Webhooks page is displayed.
  3. Click the circle.yml file link
  4. In the root folder of your repository, create or add the following code in the circle.yml file:

notify: webhooks: # A list of hashes representing hooks. Only the url field is supported. - url: https://Yourcompany.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

where the – url: property is the Kore.ai webhook URL for the alert.

5. Save and publish the repository.

Note: By default, all events for this Bot generate Kore.ai alert messages. To reduce the number of notifications, this Bot may have filters that can be defined when you set up the alert in your Kore.ai account.

Sample circle.yml file

The following code is a sample circle.yml file that includes the notify section at the bottom for Kore.ai alert configuration. For more information, see the Notifications section in Configuring CircleCI in the CircleCI documentation.
The sections in your circle.yml file depend on your requirements.

## Customize the test machine
machine:
  timezone:
    America/Los_Angeles # Set the timezone
  # Version of ruby to use
  ruby:
    version:
      1.8.7-p358-falcon-perf
  # Override /etc/hosts
  hosts:
    circlehost: 127.0.0.1
    dev.mycompany.com: 127.0.0.1
  # Add some environment variables
  environment:
    CIRCLE_ENV: test
    DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test
## Customize checkout
checkout:
  post:
    - git submodule sync
    - git submodule update --init # use submodules
## Customize dependencies
dependencies:
  pre:
    - npm install coffeescript # install from a different package manager
    - gem uninstall bundler # use a custom version of bundler
    - gem install bundler --pre
  override:
    - bundle install: # note ':' here
        timeout: 180 # fail if command has no output for 3 minutes
  # we automatically cache and restore many dependencies between
  # builds. If you need to, you can add custom paths to cache:
  cache_directories:
    - "custom_1"   # relative to the build directory
    - "~/custom_2" # relative to the user's home directory
## Customize database setup
database:
  override:
    # replace CircleCI's generated database.yml
    - cp config/database.yml.ci config/database.yml
    - bundle exec rake db:create db:schema:load
## Customize test commands
test:
  override:
    - phpunit test/unit-tests # use PHPunit for testing
  post:
    - bundle exec rake jasmine:ci: # add an extra test type
        environment:
          RAILS_ENV: test
          RACK_ENV: test
## Customize deployment commands
deployment:
  staging:
    branch: master
    heroku:
      appname: foo-bar-123
## Custom notifications
notify:
  webhooks:
    # A list of hashes representing hooks. Only the url field is supported.
    - url: https://company.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

You can setup message notifications to your Kore.ai account using a CircleCI webhook. Click , click Get notified when…, click Build Updates via Webhook, and then in the Setup Task dialog:

  • click the Activate button to generate a Webhook URL.
  • copy and save the URL, or click Email Instructions to send the URL to an email account. For more information, see Configuring CircleCI Webhooks.
  • optionally customize the Task Name 
  • optionally customize the Short Description
  • enable or disable Mute task notifications.

Next Steps

After the webhook is configured in CircleCI, when any of the events occur in CircleCI, a message is displayed on the Bots tab in the Messages section for the Kore.ai account.

メニュー