Today I’m proud to introduce the public alpha of GitBook Lens — a new semantic search tool powered by AI.
Lens indexes the content of documentations hosted on the platform, and provides an interface to ask questions. It’ll scan your documentation and give you a simple, semantic answer using OpenAI — with clickable references if you want to dive deeper.
While Lens is in open alpha, anyone can activate it at no extra cost.
We also provide an API to integrate GitBook Lens in your website / application.
We are working on multiple aspects of the products that should cover a lot of this (improved i18n, SEO, faster rendering)!
Would love to get your feedback on what you would like to see improved exactly on our SEO friendliness and i18n support. We have an open GitHub community for feedback; https://github.com/GitbookIO/community/discussions
And for anyone, if you are interested in building a "A SaaS to host product guides ", we are hiring engineers/designers/builders: https://jobs.gitbook.com/ :)
We only remove the domain from Cloudflare when the content is deleted. The main reason is to avoid broken links when users update their domain on GitBook.
Ex:
1. You configure docs.mycompany.com with your GitBook space
2. You share links to docs.mycompany.com on social medias
3. You update the domain to docs.anothercompany.com
4. It's better if the docs.mycompany.com links can continue working until you remove the DNS entry
In summary, we want the users to decide through their DNS config when GitBook should serve the content or not to avoid breaking links without an intentional action from the user.
Unfortunately, because of how Cloudflare doesn't use the DNS configuration to decide where to route the traffic, it causes issues atm. We'll look at what we can do on our side to mitigate this.
We use Cloudflare to serve HTTPS traffic for all custom hostnames configured by our users.
When a user configures a custom hostname, they point their DNS via CNAME to one of our domains (which, at the end of the chain points to Cloudflare). We then request Cloudflare (using their Cloudflare for SaaS product) to generate an SSL certificate for this hostname and serve the traffic properly.
When users move away from GitBook, they often don't remove their content from GitBook and only change the DNS on their side. We don't request to remove the hostname from Cloudflare for SaaS until the content is deleted from GitBook, as the goal is to avoid breaking links for URLs that are still pointing to GitBook.
We'd expect Cloudflare to always use the DNS setup of the domain as the primary factor for deciding where to route the traffic.
We don't know the rationale behind why Cloudflare routing continues internally routing the traffic to GitBook when the domain is no longer pointing to the GitBook hostname. But it is not us doing that intentionally.
Our support can help unblock this situation by manually removing this domain from our Cloudflare for SaaS. You can reach out at [email protected].
You have a good understanding of what we are doing :)
With snippets:
* You can save Slack thread as a new document in GitBook; the document will be generated by a LLM (it's not a plain dump of the messages).
* You can record your work on VS Code (+ audio), and we'll translate it as a document (snippet)
With Insights:
* We analyze content (we have customers with more than 10000 pages in their docs) and identify contradictions or duplicate
* We don't auto-fix them yet, but it's planned ;)
With AI Search:
* We leverage LLM and a vector database to provide complete answers with sources to natural language questions