Answers only from your own pages
It is running on this page
The chatbot in the corner is the thing described below, answering from this site's own content. Ask it something we have not written about and it will tell you it does not know.
We wanted to know how far you can get with an assistant that only answers from an organisation's own pages. So we built one and put it on this site. It is a prototype, not a product. The point was to find out what is actually involved.
Answers come only from the organisation's own published pages, with a link to the source page under every answer
Two checks sit between the question and the model: how well anything matched, and how much of the question the content covers. Below either, it says it does not know
Distress is detected in code, before retrieval and before any model call, so handing over to a person is never the model's decision
The offer of a person is always there. A visitor should not have to phrase something a particular way to reach a human
Built to WCAG 2.2 AA. Keyboard operable, and the finished answer is announced once rather than read out letter by letter as it streams
One script tag, rendered into a shadow root so the host site's CSS cannot break it and its own styles cannot leak out. 4.4 KB
The model is added last and trusted least. It phrases an answer from passages it was handed, and decides nothing else


Every answer traces back to a page on your own site, so staff can check what it told someone
Questions it should not answer are refused before the model is called, so they cost nothing and cannot produce a confident wrong answer
A person is one click away at every moment, not only when the right words are used
Behaviour is testable. A fixed question set runs against it, and about half those questions are ones it should refuse
It works on a site nobody rebuilt for it. The widget survives a hostile stylesheet and can adopt the host's palette