Social Media

Introducing GitBook Lens: AI documentation

Related AI


In this video

Introducing GitBook AI Lens: Enhancing Knowledge Discovery with AI

Welcome to GitBook AI! In this article, we will explore one of our powerful features, GitBook Lens. GitBook Lens is an advanced semantic search tool that leverages artificial intelligence (AI) to provide you with quick and accurate information from your documentation or internal knowledge base. With GitBook Lens, you can find answers to your questions in seconds, making knowledge discovery effortless. Let's dive in and discover how GitBook Lens can help you access the information you need efficiently.

How GitBook Lens Works

GitBook Lens is conveniently located in the search bar at the upper right corner of any published site. For internal content, you can access Lens through the quick find menu. By typing in your query, Lens will scan your content using AI technology and provide you with a plain English answer, summarizing the information you seek. Whether you want an overview of a feature or functionality, code snippets for using an API, step-by-step instructions, or meeting note summaries, Lens has got you covered. It comprehensively analyzes your documentation and internal knowledge base to offer accurate and relevant responses.

Related Follow-up Questions

GitBook Lens goes beyond just answering your initial question. It also suggests related follow-up questions based on your content. This feature allows you to explore related topics and gain a deeper understanding of the subject matter. With Lens, you can effortlessly navigate through your knowledge base and access the information you need, without spending excessive time searching and browsing.

Clickable Source Information

When Lens provides an answer, it also indicates where it found the information. By clicking on the source link, you can access the specific page or section within your documentation to read more in-depth. This feature ensures transparency and enables you to explore the source material if desired.

Activating GitBook Lens

Activating GitBook Lens is quick and easy. It is currently available in open Alpha, and you can enable it for your public documentation and internal knowledge base. To activate Lens, follow these steps:

  1. Head to your organization settings.
  2. Locate the Lens option and switch it on.

Once enabled, everyone accessing your documentation will instantly have access to GitBook Lens. This empowers users to focus on the knowledge they need, enhancing productivity and efficiency.

Enabling Lens for Individual Spaces

In addition to enabling Lens at the organization level, you can also activate it for individual spaces. This flexibility allows you to customize Lens availability according to your specific requirements. To enable Lens for an individual space, navigate to the customize menu and select the Lens option.

GitBook Lens API: Embedding Lens in Your Product

GitBook Lens offers an API that enables you to embed Lens directly into your product. With just a few lines of code, you can integrate Lens seamlessly and enhance user experience. This opens up a multitude of possibilities, from in-app helpers to a helpful chatbot on your website homepage. By leveraging the Lens API, you can provide users with instant access to relevant information based on your documentation. For detailed information on utilizing the GitBook Lens API, please refer to our documentation.


GitBook Lens revolutionizes knowledge discovery by utilizing AI to provide quick and accurate answers from your documentation or internal knowledge base. With Lens, you can find information in seconds, ask follow-up questions, and explore related topics effortlessly. By activating Lens for your public documentation and internal knowledge base, you empower users to access the knowledge they need faster, increasing productivity and streamlining workflows. Additionally, with the Lens API, you can embed Lens directly into your product, offering an enhanced user experience. Experience the power of GitBook Lens and unlock the full potential of your knowledge base.



We Use Cookies to Enhance Your Experience

Our website uses cookies to provide you with a personalized experience and to improve our website. By clicking 'Accept', you consent to our use of cookies. To learn more about how we use cookies and your options, please see our Cookie Policy page.