intra-mart Accel Platform 設定ファイルリファレンス 第34版 2024-04-01

IM-Copilot 生成AI連携アクション設定

概要

IM-Copilot に関する設定です。
デフォルトの設定としてim-copilot-action-config.xmlが用意されています。

モジュール IM-Copilot モジュール
フォーマットファイル(xsd) WEB-INF/schema/im-copilot-action-config.xsd
設定場所
WEB-INF/conf/im-copilot-action-config.xml

<?xml version="1.0" encoding="UTF-8"?>
<im-copilot-action-config xmlns="https://www.intra-mart.jp/im-copilot/im-copilot-action-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.intra-mart.jp/im-copilot/im-copilot-action-config ../schema/im-copilot-action-config.xsd ">

  <default-actions>
    <action type="chat" driver-type="open-ai">
    </action>
    <action type="images-generations" driver-type="open-ai">
    </action>
    <action type="embeddings" driver-type="open-ai">
    </action>
    <action type="audio-transcriptions" driver-type="open-ai">
    </action>
    <action type="audio-speech" driver-type="open-ai">
    </action>
  </default-actions>

  <actions tenant="foo">
    <action type="chat" driver-type="azure-open-ai">
    </action>
    <action type="images-generations" driver-type="azure-open-ai">
    </action>
    <action type="embeddings" driver-type="azure-open-ai">
    </action>
    <action type="audio-transcriptions" driver-type="azure-open-ai">
    </action>
    <action type="audio-speech" driver-type="open-ai">
    </action>
  </actions>

  <actions tenant="bar">
    <action type="chat" driver-type="azure-open-ai">
    </action>
    <action type="images-generations" driver-type="open-ai">
    </action>
    <action type="embeddings" driver-type="azure-open-ai">
    </action>
    <action type="audio-transcriptions" driver-type="open-ai">
    </action>
    <action type="audio-speech" driver-type="open-ai">
    </action>
  </actions>

</im-copilot-action-config>

リファレンス

デフォルトアクション情報設定

タグ名 default-actions
テナント共通で管理するアクション情報を設定します。
個別のテナントアクション情報が設定されていない場合、デフォルトアクション情報が使用されます。

【設定項目】

<default-actions>
  ....
</default-actions>

必須項目 ×
複数設定 ×
設定値・設定する内容 デフォルトのアクション情報の各種設定を指定します。
単位・型 なし
省略時のデフォルト値 なし
親タグ im-copilot-action-config

テナントアクション情報設定

タグ名 drivers
テナント指定でアクション情報を設定します。
テナント指定の設定はデフォルトアクション情報の設定よりも優先されて使用されます。

【設定項目】

<actions tenant="foo">
  ....
</actions>

必須項目 ×
複数設定
設定値・設定する内容 アクション情報の各種設定を指定します。
単位・型 なし
省略時のデフォルト値 なし
親タグ im-copilot-action-config

【属性】

属性名 説明 必須 デフォルト値
tenant
このアクション情報の設定を特定するテナントIDです。
なし

アクション情報設定

タグ名 action
アクション情報の設定を行います。

【設定項目】

<actions tenant="foo">
  <action type="chat" driver-type="azure-open-ai">
  </action>
  ....
</actions>

必須項目
複数設定
設定値・設定する内容 アクション情報を指定します。
単位・型 なし
省略時のデフォルト値 なし
親タグ default-actions または actions

【属性】

属性名 説明 必須 デフォルト値
type
アクションのタイプを設定します。
2024年4月現在、指定可能な値は以下の通りです。

・ チャット:
chat
・ 画像生成:
images-generations
・ 埋め込み:
embeddings
・ 文字起こし:
audio-transcriptions
・ 音声生成:
audio-speech

なし
driver-type
生成AIのタイプを設定します。
2024年4月現在、指定可能な値は以下の通りです。

・ OpenAI の場合:
open-ai
・ Azure OpenAI Service の場合:
azure-open-ai

なし

コラム

指定できるタイプは今後の製品アップデートに合わせて追加または変更される場合があります。