← All demos

Documents & Language

Document Q&A

Grounded answers over your document, with honest "not in the document" refusals.

Production proof: A miniature of the RAG systems behind my 92%-accuracy enterprise legal Q&A. Read the case study →

recorded · replayed

Try a sample

⚡ Run it live with your own API key no key set

Your key is held in memory for this session (kept for this tab only if you tick the box) and sent only to the provider you choose, directly from your browser. This site has no backend server — you can confirm it in your browser's Network tab: requests go only to the provider, never to this site. Live runs use small, fast models with hard token caps; a typical run costs well under $0.01, billed to your own account.

Honest limits: no website can protect a key from a compromised browser or malicious extension. Use a key with a spending cap, and revoke it after playing if you like.

How it’s engineered
  • The grounding rule is the whole product: quote first, answer second, refuse when the document is silent. That is what stops hallucination.
  • In production this sits behind hybrid retrieval (dense + keyword) with re-ranking; the demo skips retrieval because you paste the exact context.
  • The trick-question sample exists on purpose: a Q&A system is only trustworthy if you can watch it decline to invent.