> For the complete documentation index, see [llms.txt](https://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.com/docs/documentation/ja-gitbook-documentation/kontentsuwosuru/searching-your-content/gitbook-ai.md).

# GitBook AI

GitBook は AI を使って、組織内で必要な知識をより早く見つけられるよう支援します

GitBook AI を使うと、質問したり、特定の要件について詳しく説明したりできます。この AI 駆動のツールは、ドキュメントをリアルタイムで確認し、迅速で直接的な回答を返します。

{% hint style="info" %}
GitBook AI 検索は、GitBook アプリ内で内部コンテンツを検索する場合と、 [公開コンテンツ内で特定のドキュメントサイトを検索する場合の両方で利用できます](https://gitbook.com/docs/documentation/ja-gitbook-documentation/ai-for-your-readers/gitbook-ai-assistant.md).
{% endhint %}

## GitBook AI は、GitBook アプリで答えを見つけるのに役立ちます

組織の内部コンテンツに対して GitBook AI を有効にできます。社内ナレッジベースに関する意味的な回答を返します。

［…］で **組織設定**を開き、 **全般** タブを開いて、 **GitBook AI を有効にする**.

### GitBook AI 検索の使い方 <a href="#how-do-i-use-gitbook-ai" id="how-do-i-use-gitbook-ai"></a>

GitBook AI を有効にしたら、左サイドバーから **質問または検索** <picture><source srcset="broken://files/zQV3twxlViZn2AoK3a7F" media="(prefers-color-scheme: dark)"><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-d432fb3ac184a7af20aaa7b873c737a035c3a077%2F25_07_16_quick_find.svg?alt=media" alt=""></picture> メニューを開き、質問を入力します。GitBook AI はドキュメントをスキャンして結果を要約するまでに数秒かかります。

### よくある質問

#### GitBook AI が変更をインデックス化するのにどれくらい時間がかかりますか？

マージされた [変更リクエスト](https://gitbook.com/docs/documentation/ja-gitbook-documentation/collaborate/change-requests.md) など、コンテンツに変更が加えられると、 **最大1時間** かかることがあります。GitBook が変更をインデックス化し、AI 検索結果に反映するまでの時間です。

#### GitBook AI は私のデータをどのように扱いますか？

データのインデックス化と処理のため、コンテンツを OpenAI に送信します。OpenAI は、 **サービスの改善（モデルのトレーニングを含む）にこのコンテンツを使用** しません。OpenAI によるデータの取り扱いについて詳しくは、 [こちら](https://openai.com/blog/introducing-chatgpt-and-whisper-apis#developer-focus).

#### GitBook AI 検索でハルシネーションを防ぐにはどうすればよいですか？

GitBook が出す回答が不正確だと感じる場合、これを修正する最善の方法は、AI が推測する必要がないように、そのトピックについて明示的なコンテンツを書くことです。


---

# 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://gitbook.com/docs/documentation/ja-gitbook-documentation/kontentsuwosuru/searching-your-content/gitbook-ai.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.
