> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/jp/cherry-studio/preview/knowledge-base.md).

# ナレッジベース

ナレッジベースは、AIに一冊の**専用の参考書**：自分の文書、メモ、URLを入れておけば、その後チャットするときにAIがこの本を参照して質問に答えてくれます。

<figure><img src="/files/cfefdc4e2c5e12779d7873b1c45fba8206b8b152" alt=""><figcaption><p>ナレッジベースの入口：左上 <code>+ 追加</code> 最初のナレッジベースを作成</p></figcaption></figure>

## ナレッジベースで何ができる？

実際のシーンをいくつか挙げると：

* **社内ナレッジアシスタント**：製品マニュアル、APIドキュメント、社内規程をすべて入れておけば、社員が質問したときにAIが自動で回答します
* **個人情報マネージャー**：これまでの仕事のメモ、読書ノート、メールのアーカイブを入れておいて、AIに「去年どのPPTであの分析フレームワークについて触れたか」と聞く
* **学習の練習相手**：講義資料や論文を入れて、AIに章ごとの問題作成や疑問解消を手伝ってもらう
* **契約／法規の即時検索**：法令条文や契約書テンプレートを入れて、AIに具体的な条項の適用を尋ねる

## なぜナレッジベースを使うのか、ファイルを直接AIに渡さないのか？

ファイルを直接渡す場合の制限：

* 質問のたびに再アップロードが必要で面倒
* 1回の会話には長さ制限があり、長い文書は収まりません
* 会話をまたいで再利用できない

**ナレッジベースなら上記の問題をすべて解決できます**：一度アップロードすれば、その後はどの会話でも呼び出せ、さらに大量の資料から「関連箇所を正確に抽出」してAIに渡せます。

## 使い方は？

* 初めて使うなら：見る [ナレッジベース完全ガイド](/docs/jp/knowledge-base/knowledge-base.md)
* 画像／スキャンPDFを追加したい：まず見る [文書の前処理](/docs/jp/knowledge-base/document-preprocessing.md)、AIが画像内の文字を「読める」ようにする
* 埋め込みモデルの選び方を知りたいなら：見る [埋め込みモデル参考](/docs/jp/knowledge-base/emb-models-info.md)
* データの保存先を知りたいなら：見る [ナレッジベースのデータ](/docs/jp/knowledge-base/data.md)

## 他の機能との組み合わせ

* **ナレッジベース + アシスタント**：あるアシスタントにナレッジベースを「マウント」すると、その分野に特化します
* **ナレッジベース +** [**Cherry Agent**](/docs/jp/cherry-studio/preview/agent.md)：Agentにタスクの途中で自分でナレッジベースを検索させる
* **ナレッジベース +** [**チャンネル**](/docs/jp/advanced-basic/agent-channels.md)：会社文書を検索できるAgentをFeishuグループに派遣して当番させる

> 先に読むことをおすすめ [概念入門](/docs/jp/advanced-basic/concepts-101.md) ナレッジベースとAgent / MCPなどの機能の関係を理解する。

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用の途中で疑問、バグ、機能改善の提案があれば、 [フィードバックと提案](/docs/jp/question-contact/suggestions.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 dynamically by asking a question.

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

```
GET https://docs.cherryai.com.cn/docs/jp/cherry-studio/preview/knowledge-base.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
