AI Features
AlgoQuill is AI-native — meaning AI is not a bolt-on feature but the foundation the whole product is built on. Here is what each AI feature does and how to use it.
AI Chat Widget
Every AlgoQuill documentation site includes an AI chat widget that visitors can use to ask questions in plain English. The assistant is trained on your specific documentation — it doesn't make up answers, it cites the exact page it drew from.
How to enable it
Embed on your own site
Add the chat widget to any external site with one script tag. Go to Embed Widget in the dashboard to get your embed code.
AI Documentation Generation
AlgoQuill generates complete documentation pages from your codebase. It reads your actual code — not just the README — and produces structured, accurate documentation.
RAG Docs (recommended)
RAG (Retrieval Augmented Generation) works by first indexing your entire repository, then generating docs using the most relevant code chunks as context. This produces more accurate and specific output than sending the full codebase.
AI Generate (direct)
The AI Generate page lets you generate from a prompt, from GitHub directly, from pasted code, or from an OpenAPI spec. Use this for documentation that doesn't require deep code context — getting started guides, conceptual explanations, migration guides.
Generate Full Suite
The "Generate All" button in RAG Docs generates 5 pages at once: Quickstart Guide, API Reference, Components Overview, Configuration Guide, and Troubleshooting. All saved as drafts for your review.
Drift Detection
Drift detection compares your published documentation against your current codebase and identifies mismatches. It catches four types of issues:
Go to Drift Detection in the dashboard and click Run Analysis. Results show the specific page affected, the specific code file that caused the issue, and a suggested fix.
AI Insights
AI Insights tracks what visitors ask the chat widget and uses that data to identify gaps in your documentation. The most valuable metrics: