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.
Searching published documentation
Users can open the Ask or search… bar by pressing⌘ + K on Mac or Ctrl + K 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, the search results will contain pages from all of these sections so that your users can jump straight to the page they need.
GitBook AI search
This feature is available on Premium and Ultimate site plans.
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⌘ + K on a Mac or Ctrl + K 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.
Accessing the search
Users can access search in multiple ways:- Keyboard shortcut
- Search bar
- GitBook Assistant
Press
⌘ + K on Mac or Ctrl + K on PC