AI-Powered Chatbot Assistant for Babylon.js Documentation

Hello! I’d like to suggest adding an AI-powered chatbot assistant to the Babylon.js website, similar to Docker Docs AI. This kind of tool could help answer questions using the latest documentation and source code, which would be a huge help since ChatGPT and other bots often base their answers on outdated Babylon.js versions.

When I was learning Docker, I used Docker Docs AI and found it incredibly helpful. The responses were always accurate and saved me a lot of time. I believe something similar would be just as valuable for the Babylon.js community.

Here are a few reasons why this could be a great addition:

  • Accurate, up-to-date answers directly from the official docs and source, rather than outdated third-party content
  • Faster access to relevant pages for both new users and experienced developers
  • Conversational interface that understands natural language queries, powered by retrieval-augmented generation (RAG)
  • Multi-language support, making Babylon.js more accessible worldwide
  • Useful for debugging, as users can paste error messages or code snippets and get tailored guidance

The assistant used on Docker’s documentation site is built with Kapa.ai. Other companies, such as Logitech, OpenAI, and Reddit, have also adopted similar tools to support their developer communities.

Thanks for considering this suggestion!

3 Likes

This is a wonderful suggestion, which we have internally evaluated. Currently it is blocked by relative high costs from using such tools. If there is a high demand we can experiment with other variants and see if it’s viable.

2 Likes

Maybe there should be some kind of usage limits, so people don’t start using it for constant coding, which would make it more expensive.

It’ll get cheaper over time as hardware and AI models are improving fast.
For this kind of use, we probably don’t need a heavy thinking model.
A small and fast one that can handle RAG might be enough. I’m not an expert though, just thinking out loud.

What you are suggesting is basically an AI with search prioritization - phind had it before, but then was deleted for wider search, I would’ve guessed wider search is better for finding answers overall, docs does not cover everything, while just keywords still can help to “guide” model to where it needs to be.

Some tools aren’t as useful as they might sound (“Thinking” models are often a curse, not a blessing too).