> For the complete documentation index, see [llms.txt](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/ai-search.md).

# AI検索

公開済みコンテンツ向けの強力なナレッジ発見ツールで、ユーザーが必要な情報をより素早く見つけられるようにします

### サイトの検索体験を選択してください

GitBook サイトでは、ユーザーにどのような体験を提供したいかに応じて、さまざまな検索体験を利用できます：

* **キーワード検索** – キーワードに基づく標準的な検索体験です。すべてのサイトで自動的に有効になります。
* **GitBook AI 検索** – ユーザーは検索ボックスから直接、質問への短い回答を得られます。Premium および Ultimate のサイトプランで利用できます。
* **GitBook Assistant** – ユーザーは GitBook の AI エージェントによる、より高度で対話的なチャット体験を得られます。Ultimate のサイトプランで利用できます。詳細は [GitBook Assistant](/url/gitbook.com/docs/documentation/ja-gitbook-documentation/ai-to/gitbook-ai-assistant.md) をご覧ください。

AI Search は Premium および Ultimate のサイトプランで利用できます。GitBook Assistant は Ultimate のサイトプランで利用できます。

サイトの検索体験を選ぶには、サイトのダッシュボードを開き、 **設定** ページに移動して、 **AI & MCP** を左側のメニューから選択します。ここで希望の体験を選べます。

<figure><img src="/files/482fe572a2a3269102697da592f9800a8524c4ce" alt=""><figcaption><p>公開済みドキュメントで使用する検索体験を選択してください</p></figcaption></figure>

{% hint style="warning" %}
GitBook Assistant を有効にすると、AI search は無効になります。どの体験を選んでも、標準のキーワード検索は常に検索バーに結果を表示します。
{% endhint %}

## 公開済みドキュメントの検索

**​**ユーザーは **質問するか検索…** バーを次の操作で開けます <kbd>⌘</kbd> + <kbd>K</kbd> を Mac で、または <kbd>Ctrl</kbd> + <kbd>K</kbd> を PC で押します。

ユーザーはドキュメントサイト内でキーワードを検索し、サイト全体にわたる特定のページやページのセクションへすばやく移動できます。

ドキュメントサイトに複数の [セクション](/url/gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/site-structure/site-sections.md)がある場合、検索結果にはこれらすべてのセクションのページが含まれるため、ユーザーは必要なページへ直接移動できます。

## GitBook AI 検索

GitBook AI search は、サイトの **検索して見つける…** バー内で、基本的な AI による回答を提供します。これはドキュメントサイトのコンテンツを学習していますが、外部ソースから情報を取得することはできません。

### GitBook AI search の使い方

サイトの設定ページで GitBook AI search を有効にしている場合、ユーザーはページ上部の **質問するか検索…** バーで直接質問することで利用できます。

これは直接クリックして開くこともできますし、 <kbd>⌘</kbd> + <kbd>K</kbd> を Mac で、または <kbd>Ctrl</kbd> + <kbd>K</kbd> を PC で押して開くこともできます。

要約された回答に加えて、その下には、GitBook AI が回答作成に使用したソースを表示する展開可能なセクションと、フォローアップとしてクリックできる関連質問も表示されます。

{% hint style="warning" %}
GitBook AI は、異なる [ドキュメントサイト](/url/gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/publish-a-docs-site.md).

上の個別の公開済みスペース全体では動作しません。 [サイトセクション](/url/gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/site-structure/site-sections.md) として同じサイト内に存在する公開済みスペースを表示している場合にのみ、マルチスペース検索が利用できます。
{% endhint %}

* 押す <kbd>⌘</kbd> + <kbd>I</kbd> を Mac で、または <kbd>Ctrl</kbd> + <kbd>I</kbd> を PC で
* 次の **GitBook Assistant** ![](/files/ad2de5ee4a387c893e0b483fa46ca02f60c7f628) ボタンをクリックして **質問するか検索…** バーの横にある
* バーに質問を入力して **質問するか検索…** メニュー上部の「Ask…」オプションを選択します。


---

# 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:

```
GET https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/documentation/ja-gitbook-documentation/docs-site/ai-search.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.
