Chat with your docs
Ask questions and get answers grounded in the docs, with clickable citations.
Ask the docs anything
Answers are grounded in the documentation and every claim links back to its source. Try one of these:
How it works
Everything below the chat is a normal Next.js page. The assistant is one self-contained React component, backed by a small retrieval + generation pipeline:
- Ingestload the docs
- Chunk~600 tok, 80 overlap
- EmbedGemini embeddings
- Retrievecosine top-k
- Ground + generateOpenRouter, cited [n]
- Streamtokens live
- Citeclick a citation to open its source
The corpus is fixed and pre-embedded into a small JSON index, so retrieval is a sub-millisecond cosine scan in a serverless route, with no vector database and no extra services. Answers are generated by a free model with inline citations: every claim links back to the source passage it came from, and questions outside the docs are answered honestly instead of being made up.