# AI 検索

公開済みコンテンツのための強力なナレッジ探索ツールで、ユーザーが必要な情報をより速く見つけられるようにしましょう

### サイトの検索体験を選択する

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

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

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

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

{% hint style="warning" %}
GitBook アシスタントが有効になっている場合、AI 検索は無効になります。どの体験を選んでも、標準のキーワード検索は検索バーで常に結果を表示します。
{% endhint %}

## 公開済みドキュメントを検索する

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

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

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

## GitBook AI 検索

{% hint style="info" %}
この機能は〜で利用できます [アルティメットサイトプラン](https://www.gitbook.com/pricing).
{% endhint %}

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

### GitBook AI 検索の使用

サイトの設定ページで GitBook AI 検索を有効にしている場合、ユーザーは **質問するか検索…** バーに直接質問を入力することでアクセスできます。

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

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

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

にある個別の公開済みスペースをまたいでは機能しません。 [サイトセクション](/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: 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.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.
