> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/maiagent-user-guide/ja/serve/text-service.md).

# テキストカスタマーサービス：導入から公開まで

テキストサポートを一から公開するまでの 6 つのステップを説明します。Agent の作成、ナレッジベースの準備、対話プラットフォームの接続、プラットフォーム設定の調整、有人引き継ぎの設定、公開前チェックと品質モニタリングの順に進めます。各ステップから MaiAgent Build の設定ページへ移動できます。

テキストサポートでは、Agent がウェブサイト、LINE、FB Messenger、Email などの対話プラットフォーム上でお客様に直接返信し、回答できない場合やお客様から要望があった場合は、有人のサポート担当者に引き継ぎます。このページでは、公開までの順に 6 つのステップを紹介します。各ステップの操作の詳細は、MaiAgent Build の機能ページをご覧ください。

{% hint style="info" %}
ステップ 1～5 は構築担当者（IT または Agent 管理者）が設定します。対象の Agent、ナレッジベース、対話プラットフォームに対する権限が必要です。詳しくは [ロール権限管理](https://docs.maiagent.ai/maiagent-user-guide/ja/org/roles/role-permission.md) をご覧ください。ステップ 6 には、サポートマネージャーにも参加してもらうことをおすすめします。
{% endhint %}

## 公開までのステップ <a href="#setup-steps" id="setup-steps"></a>

{% stepper %}
{% step %}

### Agent を作成する <a href="#create-agent" id="create-agent"></a>

[Agent を作成](https://docs.maiagent.ai/maiagent-user-guide/ja/build/agent/setup.md)し、[ロール指示](https://docs.maiagent.ai/maiagent-user-guide/ja/build/agent/system-prompt.md)に、どの会社を代表するか、回答できる範囲、口調を明確に記述します。[Agent テンプレートライブラリ](https://docs.maiagent.ai/maiagent-user-guide/ja/build/agent/agent-templates.md)から公式テンプレートを適用して編集することもできます。特定の種類のタスク（注文の照会やチケットの発行など）を決まった手順で処理させたい場合は、先に[スキルを作成](https://docs.maiagent.ai/maiagent-user-guide/ja/build/skills/skills-management.md)してから[Agent にバインド](https://docs.maiagent.ai/maiagent-user-guide/ja/build/skills/skills-management.md#bind-skill-to-ai-agent)します。スキルは Agent と一緒に動くため、後から接続するすべての対話プラットフォームで利用されます。
{% endstep %}

{% step %}

### ナレッジベースを準備する <a href="#prepare-knowledge-base" id="prepare-knowledge-base"></a>

[ナレッジベースを作成](https://docs.maiagent.ai/maiagent-user-guide/ja/build/knowledge-base/km-basic-settings.md)して製品資料をアップロードします。回答が決まっていて正確に返信する必要のある質問は [FAQ](https://docs.maiagent.ai/maiagent-user-guide/ja/build/knowledge-base/faq.md) として登録し、公式サイトの内容は[クローラー](https://docs.maiagent.ai/maiagent-user-guide/ja/build/knowledge-base/scrape-website.md)でインポートできます。[検索テスト](https://docs.maiagent.ai/maiagent-user-guide/ja/build/knowledge-base/test-search-result.md)で、お客様からよくある質問に対して正しい段落が見つかることを確認してから、ナレッジベースを Agent に紐づけます。
{% endstep %}

{% step %}

### 対話プラットフォームを接続する <a href="#connect-platform" id="connect-platform"></a>

[対話プラットフォームへの公開](https://docs.maiagent.ai/maiagent-user-guide/ja/build/choose-channel.md)で、各プラットフォームで準備が必要な認証情報を比較し、お客様が最もよく使うもの、たとえば[ウェブサイト](https://docs.maiagent.ai/maiagent-user-guide/ja/build/choose-channel/web-chat/website.md)や [LINE](https://docs.maiagent.ai/maiagent-user-guide/ja/build/choose-channel/line.md) から先に接続して、この Agent が返信するように選択します。同じ Agent を複数のプラットフォームに同時に接続できます。プラットフォームごとに対話プラットフォームを 1 つ作成して同じ Agent を選択すれば、ロール指示、ナレッジベース、スキルは共通で使われるため、作り直す必要はありません。プラットフォームを 1 つ接続するたびに、そのプラットフォームから実際にメッセージを送って返信があることを確認してから、次のプラットフォームを接続してください。
{% endstep %}

{% step %}

### プラットフォーム設定を調整する <a href="#adjust-platform-settings" id="adjust-platform-settings"></a>

各プラットフォームにはそれぞれ設定があります。ウェルカムメッセージと会話開始の質問は[インタラクション設定](https://docs.maiagent.ai/maiagent-user-guide/ja/build/conversation-settings/platform-settings/interaction-settings.md)、ファイルアップロードや引用元などのスイッチは[機能設定](https://docs.maiagent.ai/maiagent-user-guide/ja/build/conversation-settings/platform-settings/function-settings.md)、AI が返信する時間帯は[自動返信設定](https://docs.maiagent.ai/maiagent-user-guide/ja/build/choose-channel/web-chat/website.md#auto-reply-settings)で設定します。各タブで何を管理するかは、[対話プラットフォーム設定の概要](https://docs.maiagent.ai/maiagent-user-guide/ja/build/conversation-settings/platform-settings.md)をご覧ください。
{% endstep %}

{% step %}

### 有人引き継ぎを設定する <a href="#set-up-handoff" id="set-up-handoff"></a>

[サポート担当者への引き継ぎ設定](https://docs.maiagent.ai/maiagent-user-guide/ja/build/conversation-settings/human-handoff.md)で引き継ぎを有効にし、引き継ぎ条件、サービス時間、割り当て方法を入力します。さらに[有人引き継ぎ通知](https://docs.maiagent.ai/maiagent-user-guide/ja/build/conversation-settings/human-handoff/handoff-notification.md)を設定して、サポート担当者に通知が届くようにします。AI が先に返信案を作成し、すべての返信をサポート担当者が送信する運用にしたい場合は、代わりに [サポート Copilot](https://docs.maiagent.ai/maiagent-user-guide/ja/serve/copilot.md) を使用してください。
{% endstep %}

{% step %}

### 公開前チェックと品質モニタリング <a href="#launch-and-monitor" id="launch-and-monitor"></a>

公開前に、実際のお客様の質問でテストするか、[テストデータセット](https://docs.maiagent.ai/maiagent-user-guide/ja/build/agent-ops/test-datasets.md)を作成して[自動評価](https://docs.maiagent.ai/maiagent-user-guide/ja/build/agent-ops/evaluations.md)を実行します。あわせて有人引き継ぎを一度実際に発生させ、サポート担当者に届くことを確認します。公開後は [AI カスタマーサポートの品質管理](https://docs.maiagent.ai/maiagent-user-guide/ja/serve/ai-quality-guide.md)に沿って定期的に確認し、[対話プラットフォーム分析](https://docs.maiagent.ai/maiagent-user-guide/ja/serve/daily-operations/reply/inbox-analysis.md)でよくある質問を見つけ、うまく回答できなかった会話を [FAQ に追加](https://docs.maiagent.ai/maiagent-user-guide/ja/build/agent-ops/add-to-faq.md)します。
{% endstep %}
{% endstepper %}

## 公開後 <a href="#after-launch" id="after-launch"></a>

* すべての会話の確認、AI からの引き継ぎと AI への引き戻し、連絡先の検索など、サポート担当者の日々の業務については、[サポート担当者の日常業務](https://docs.maiagent.ai/maiagent-user-guide/ja/serve/daily-operations.md)をご覧ください。
* ほかの対話プラットフォームを追加で接続するには、ステップ 3～5 を繰り返します。同じ Agent で複数のプラットフォームに同時に対応できます。
* 会話イベントを自社のシステムにプッシュするには、[Webhook](https://docs.maiagent.ai/maiagent-user-guide/ja/build/conversation-settings/webhook.md) をご覧ください。

## 活用事例 <a href="#use-cases" id="use-cases"></a>

* [活用事例：テキストサポート](https://docs.maiagent.ai/maiagent-user-guide/ja/serve/text.md)：法規制照会アシスタント、製品照会アシスタント


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.maiagent.ai/maiagent-user-guide/ja/serve/text-service.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
