Chat with your docs

Ask questions and get answers grounded in the docs, with clickable citations.

Docs assistantgrounded · cited · streaming

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:

  1. Ingestload the docs
  2. Chunk~600 tok, 80 overlap
  3. EmbedGemini embeddings
  4. Retrievecosine top-k
  5. Ground + generateOpenRouter, cited [n]
  6. Streamtokens live
  7. 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.