# Source: https://gitbook.com/docs/documentation/ja-gitbook-documentation/publishing-documentation/ai-search.md

# Source: https://gitbook.com/docs/documentation/zh/publishing-documentation/ai-search.md

# Source: https://gitbook.com/docs/documentation/fr/publishing-documentation/ai-search.md

# Source: https://gitbook.com/docs/publishing-documentation/ai-search.md

# AI Search

Help your users find the information they need faster with powerful knowledge discovery tools for your published content

### Choose your site’s search experience

GitBook sites offer different search experiences depending on what you want for your users:

* **Keyword search** – A standard search experience based on keywords. Automatically enabled on all sites.
* **GitBook AI search** – Users get short answers to questions directly from the search box.
* **GitBook Assistant** – Users get an advanced, interactive chat experience with GitBook's AI agent. Head to [GitBook Assistant](https://gitbook.com/docs/publishing-documentation/gitbook-ai-assistant) to learn more.

To choose your site’s search experience, open your site’s dashboard, navigate to the **Settings** page and choose **AI & MCP** from the menu on the left. Here you can choose your preferred experience.

<figure><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F5cY9RzSSxcpFm2oSNNk8%2F26_01_06_search_ai%402x.png?alt=media&#x26;token=a98ba8a4-3179-4cb7-984b-882a8f87f057" alt=""><figcaption><p>Choose the search experience you want in your published docs</p></figcaption></figure>

{% hint style="warning" %}
When GitBook Assistant is enabled, AI search is disabled. Standard keyword searches will always provide the results in the search bar no matter which experience you choose.
{% endhint %}

## Searching published documentation

**​**Users can open the **Ask or search…** bar by pressing <kbd>⌘</kbd> + <kbd>K</kbd> on Mac or <kbd>Ctrl</kbd> + <kbd>K</kbd> on PC.

Your users can search for keywords within your docs site and jump quickly to specific pages or page sections across your entire site.

If your docs site has multiple [sections](https://gitbook.com/docs/publishing-documentation/site-structure/site-sections), the search results will contain pages from all of these sections so that you users can jump straight to the page they need.

## GitBook AI search

{% hint style="info" %}
This feature is available on [Premium and Ultimate site plans](https://www.gitbook.com/pricing).
{% endhint %}

GitBook AI search offers basic AI-powered answers in the **Search and find…** bar of your site. It’s trained on the content of your docs site, but cannot pull in information from external sources.

### Using GitBook AI search

If you have enabled GitBook AI search from your site’s settings page, your users can access it by asking a question directly in the **Ask or search…** bar at the top of the page.

They can open this by clicking it directly, or by pressing <kbd>⌘</kbd> + <kbd>K</kbd> on a Mac or <kbd>Ctrl</kbd> + <kbd>K</kbd> on a PC.

As well as a summarized answer, below your users will also see an expandable section that shows the sources that GitBook AI used to create its answer, plus related questions you can click as a follow-up.

{% hint style="warning" %}
GitBook AI does not work across individual published spaces on different [docs sites](https://gitbook.com/docs/publishing-documentation/publish-a-docs-site).

Multi-space search is only available when viewing published spaces that live as [site sections](https://gitbook.com/docs/publishing-documentation/site-structure/site-sections) within the same site.
{% endhint %}

* Press <kbd>⌘</kbd> + <kbd>I</kbd> on Mac or <kbd>Ctrl</kbd> + <kbd>I</kbd> on PC
* Click the **GitBook Assistant**

  <picture><source srcset="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FFdcFnImj64xwVYVPFZZp%2Fgitbook-assistant-dark.svg?alt=media&#x26;token=6d5690e2-8587-4646-886a-dfd49caee6d5" media="(prefers-color-scheme: dark)"><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FRPCVZqnhQlwvRJbvEgM9%2Fgitbook-assistant.svg?alt=media&#x26;token=0506ce84-b363-481b-aefb-e0fa47357226" alt=""></picture>

  button next to the **Ask or search…** bar
* Type a question into the **Ask or search…** bar and choose the ‘Ask…’ option at the top of the menu.