# Kore.ai と接続する

{% hint style="info" %}
サービスURL <https://kore.ai/ja/>

ドキュメントURL <https://developer.kore.ai/docs/bots/chatbot-overview/getting-started-bots/?lang=ja>
{% endhint %}

## Kore.aiとデジタルヒューマンを接続する

まず最初にボットを作成しテキストでのやり取りができる所まで設定を行ってください。

Kore.aiと接続するには、API情報の取得を行い、DIP上にプロファイルを作成して設定してください。

### 1.ボットのデプロイタブを押してからWebhookチャネルを選択して有効にする。

ボットの`デプロイ`タブを押してから`Webhook`チャネルを選択して有効にする。

Webhook V2のポーリングを有効にして、保存してください。

チャネルがすでに設定されている場合はこちらから情報を取得できます。

### 2.APIキーとAPIサーバーURLを担当までお送りください。

必要な情報は下記です。

* ボットID (bot\_id)
* クライアントID (client\_id)
* クライアントシークレット (Secret)
* Webhook URL（V2 API 用）

## NLPプロファイル 個別パラメータ

DIP上でNLPアカウントからプロファイルを選択して下記を設定してください。

### bot\_id

kore.aiへのリクエストに必須な`bot_id`を設定します。

値はkore.ai画面で確認します。 デフォルト：なし

### client\_id

kore.aiへのリクエストに必須な`client_id`を設定します。

値はkore.ai画面で確認します。 デフォルト：なし

### secret

kore.aiへのリクエストに必須な`secret`を設定します。

値はkore.ai画面で確認します。 デフォルト：なし

### webhook\_url

リクエストするURLを設定します。

デフォルト：なし

### convert\_bracket\_mode

kore.aiに直接jsonを登録することができないため、kore.ai側でjsonの`{`,`}` を`[`,`]` として登録してもらう。この`[`,`]` を`{`,`}` にNLPorch内部で変換することでjsonとして扱う。

`1` で発話文を変換。 `2` で発話文・ディスプレイコンテントの両方を変換。 デフォルト：なし


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalhumans.jp/ops/chatbot-integration/connect-kore-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
