More of the leaders we work with are being asked for the same thing: a chatbot that answers plain-language questions about the policy manual, the bylaws, or the standards library. Legal counsel and policy owners often attach a condition. The tool may not paraphrase, and users must see the source text word for word, in its place in the document.

Our view is that both sides can get what they want. A quote-only design uses AI to understand the question and find the right passage, then shows that passage exactly as it is written.

We recently did this work with a client whose legal and policy constraints required every response to be verbatim source text, shown in context. Meeting that standard took careful tuning of how the system searched, how much text it returned, and where each quoted passage began and ended. Explaining to users why answers arrive only as complete sentences from the source was a challenge of its own.

Policy owners have good reason to require exact wording

We side with the lawyers on this point. In a policy, a contract, or a standard, the exact words carry the obligation, and a summary that shifts one qualifier can change what a member or employee believes is permitted. An organization that publishes a paraphrase through its own chatbot may be asked to stand behind it.

The research supports that caution. A preregistered study by researchers at Stanford's RegLab and HAI examined leading AI legal research tools that search a document library and then have AI write the answer. Providers had claimed this approach eliminates hallucinations, the term for AI output that is false or unsupported.

The study found those claims overstated. The tools hallucinated between 17% and 33% of the time, though less often than the general-purpose GPT-4 model. Those were commercial products built for legal professionals, and we would not assume an in-house chatbot built on the same design will do better.

A quote-only tool removes the writing step

Most chatbots people have used are generative, meaning a language model reads the material and writes a new reply. For documents that carry legal or policy weight, we recommend removing that writing step. The system still uses AI to interpret the question and rank the likely passages, and every word of the answer comes from the document.

Large vendors already offer this. Microsoft's documentation for its Azure AI Search product describes such an answer as verbatim content and states, "It's not a generated answer." It adds that the model "doesn't compose new language in the response." Google Cloud's documentation similarly describes what it calls extractive answers as verbatim text extracted directly from the original document.

The search behind the tool should match meaning as well as keywords, because people ask in two ways. Some describe a situation in their own words, and others type a section number or a defined term. Microsoft notes that meaning-based search finds conceptually similar content without keyword matches, while keyword search is precise and better suited to specialized jargon, dates, product codes, and people's names.

Users see a quotation and its source

A member or staff user types a question in ordinary language. The tool responds with one or more passages from the governing document, each in complete sentences. A well-designed results screen, in our view, shows four things:

  • The passage. Complete sentences exactly as written, with the most relevant sentence highlighted.
  • Its location. The document title and section, with a link that opens the passage in place.
  • The surrounding text. The neighboring sentences, which often hold the exception to the rule.
  • A clear empty result. A plain message when nothing qualifies, with a suggestion to rephrase the question or browse the document.

Expectations should be set before launch

Setting expectations was one of the harder parts of our recent project. People accustomed to generative chatbots expect a conversational reply, and some will read a quoted paragraph as a sign that the tool is broken.

We recommend stating plainly, beside the question box and in the launch announcement, that results are quoted directly from source documents in complete sentences. Users should also be told that the tool will sometimes return nothing, by design. Microsoft's documentation says as much about its own product: turning the feature on does not guarantee an answer.

Leaders should be equally clear about the tool's limits. It will not interpret a policy, apply it to one person's circumstances, or reconcile two provisions that appear to conflict. That work stays with staff and counsel.

Quote-only tools can still return the wrong passage

A quote-only design removes invented text, and it leaves other errors in place. The system can show a passage that is real and beside the point, or return nothing when an answer exists.

We would not launch without a test set built by the people who know the documents. It should include:

  • Real questions, phrased the way members and staff ask them
  • The passage a subject expert considers correct for each question
  • Questions the documents cannot answer
  • Questions that use section numbers, defined terms, and names

We measure how often the right passage appears first, how often it appears anywhere in the displayed results, and how often the system correctly returns nothing. The test should be rerun after every document update and settings change, with results reported to leadership.

Leaders should budget time for adjustment. On our project, the main tuning decisions were how many passages to show and how strict the relevance cutoff should be.

Several decisions belong to leadership

Vendors and technical staff can build the system. The people who own the documents and the risk should settle several questions first, before a product is chosen.

  • The quoting rule. Whether the tool may show phrases or only full sentences, and whether highlighting is allowed.
  • The source list. Which documents are authoritative, who keeps them current, and how superseded versions are removed.
  • The empty answer. What users see when nothing qualifies, and where they are directed next.
  • The launch standard. Which test results are good enough, and who signs off.

An organization that settles these questions can offer plain-language search over its most sensitive documents without asking counsel to accept generated text. That is where we would start for any document whose exact wording matters.

Talking it through

If you are being asked for a chatbot over policy, legal, standards, or member documents and the answers must stay word for word, we are glad to talk. We can review your documents, the rules you have to meet, and whether a quote-only approach fits. If we are not the right people to help, we will say so. You can reach us through the contact section of the website or by email at info@mscconsultingservices.com.

Related reading