Kore.ai에는 최첨단 자연어 처리 엔진이 있지만, 엔터프라이즈 사용자를 위해 타사 NLP 엔진 또는 독자적인 NLP 엔진을 플러그인으로 사용하는 것이 좋습니다. Kore.ai BotKit SDK를 사용하여, 원하는 경우 봇 플랫폼 외부 NLP 엔진을 사용하여 Kore.ai 봇을 실행하도록 설정할 수 있습니다. Kore.ai BotKit SDK를 쉽게 다운로드하고 Github의 exampleWithExternalNLPEngine.js 샘플을 사용하여 수정할 수 있습니다. 이 BotKit SDK 샘플 애플리케이션은 Api.ai 또는 Luis.ai를 기반으로 하는 NLP 엔진을 지원하도록 수정할 수 있습니다.

개요

Kore.ai 봇과 함께 동작하도록 외부 NLP 엔진을 설정하려면, 다음을 수행해야 합니다.

  • 대화 작업을 사용하여 봇 빌더에서 봇 정의
  • Api.ai를 사용하는 경우, 인식 학습을 완료하고 샘플 코드의 키를 업데이트합니다.
  • Luis.ai를 사용하는 경우, 엔티티 추출을 위한 의도 및 엔티티를 정의하고 학습시킨 후 샘플 코드에서 키를 업데이트합니다.
  • node.js 서버를 설치하고 BotKit SDK용 app.js 파일이 exampleWithExternalNLPEngine.js를 가리키도록 하여 실행합니다
  • 봇 빌더에서, NLP 처리를 위한 사용자 및 봇 메시지를 가로채는 데 사용되는 BotKit SDK가 실행 중인 애플리케이션 서버를 가르키도록 봇의 SDK 설정 섹션을 정의합니다.

Kore.ai には最先端の自然言語処理エンジンが搭載されていますが、企業ユーザーのためにサード パーティ製または独自の NLP エンジンをプラグインすることもできます。Kore.ai BotKit SDK を使用すると、必要に応じてボット プラットフォームの外部にある NLPエンジンを使用して実行する Kore.ai ボットを追加および設定できます。Kore.ai BotKit SDK は、Github のexampleWithExternalNLPEngine.js サンプルを使用すると、簡単にダウンロードして変更することができます。この BottKit SDK サンプル アプリケーションは、Api.ai または Luis.ai に基づく NLP エンジンをサポートするように変更できます。

概要

外部の NLP エンジンを Kore.ai のボットと連携するように構成するには、以下が必要です:

  • ダイアログ タスクを使用して、Bot ビルダーでボットを定義します
  • Api.ai を使用している場合は、認識トレーニングを完了し、サンプル コードのキーを更新します。
  • Luis.ai を使用している場合は、エンティティ抽出のインテントとエンティティを定義し、サンプル コードでキーのトレーニングと更新を行います。
  • BotKit SDK 用の app.js ファイルがexampleWithExternalNLPEngine.jsを指している Node.js サーバーをインストールして実行します。
  • ボットビルダーで、ボットがアプリケーション サーバーを指す SDK 構成セクションを定義します。このセクションでは、NLP 処理のためにユーザーおよびボット メッセージを傍受するために使用される BottKit SDK が実行されています。

While Kore.ai has a state-of-the-art natural language processing engine, you may still want to plugin a third-party or proprietary NLP engine for your enterprise users. Using the Kore.ai BotKit SDK, you can add and configure Kore.ai bots to run using your choice of NLP engine external to the Bots Platform if desired.

You can easily download and modify the Kore.ai BotKit SDK with the exampleWithExternalNLPEngine.js sample from Github. This BotKit SDK sample application can be modified to support NLP engines based on Api.ai or Luis.ai.

Overview

To configure your external NLP engine to work with Kore.ai bots, you will need to:

  • Define your bot in Bot Builder with a dialog task
  • If using Api.ai, then complete recognition training and update the keys in our sample code.
  • If using Luis.ai, then define the intent and entities for entity extraction, train and update the keys in our sample code.
  • Install and run a node.js server with app.js file for the BotKit SDK pointing to exampleWithExternalNLPEngine.js
  • In Bot Builder, define the SDK Configuration section for your bot to point to the application server with the BotKit SDK running used to intercept user and bot messages for NLP processing.