OOarsman AI

Demo build, no client

Handbook assistant: RAG with citations, "I don't know" and a live eval panel

Type: AI chatbot / RAG assistantBuilt: Oct 2026Status: public demo, fictional handbook

Open the live demo

Problem

Companies want staff to get answers from their own documents, but they worry about two failures. One is the bot confidently making up a policy. The other is that nobody can tell how often it's right. Most chatbot demos show a nice conversation and skip both. This demo puts both problems up front.

Build

Handbook assistant answering a vacation question with a citation, next to the highlighted handbook paragraph

Result (measured on 31 Oct 2026 (IST))

33/34eval questions pass (live in the browser)
8/8uncovered questions correctly refused
42/42headless-Chrome checks pass, desktop and mobile
100/100/100/100Lighthouse mobile: Perf / A11y / Best pr. / SEO

The one failure is left visible on purpose. "I clicked a phishing link, who do I tell?" gets refused, because "clicked", "link" and "tell" don't appear in the handbook, so keyword retrieval can't connect them to the security section. It errs on the side of "I don't know" rather than guessing, which is the behaviour we wanted, but it's still a miss. Embeddings or an LLM query rewrite would fix this kind of paraphrase in a client build. The eval questions were written alongside the handbook, so treat the score as a regression check, not an independent benchmark. Lighthouse desktop: 100/100/100/100.

Stack

Plain JavaScript with no dependencies: a BM25 retriever and answer extractor (rag.js, about 10 KB), a JSON knowledge base and an eval set. The same engine runs in Node for scripted evals. Hosted on GitHub Pages. Tested with Puppeteer and Lighthouse.

A client build would typically use embeddings in a vector store (pgvector, Qdrant or similar) with hybrid BM25 plus vector search, an LLM (OpenAI, Claude or a local model) told to answer only from the retrieved passages, and the same citation, refusal and eval checks running in CI.

What's honest to say

This is a demo build with no client. Brightmoor Labs and its handbook are fictional. No language model generates the answers: they're sentences copied from the handbook, chosen by keyword search, and the page says so. AI tools helped write the code, the handbook text and the copy.