We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.
A professional services firm wanted its associates to stop guessing which precedent applied. The rule was absolute: no client document, no query and no answer may reach a third-party model.
Client withheld under NDA. The sector, the shape of the engagement and the constraints are described; no client data, screens, names or volumes are reproduced.
Problem
The firm already had search. It returned documents, ranked by a relevance score nobody understood, and the associate did the reading. What they wanted was an answer with a source, produced in seconds, over material that must never leave the building.
Every hosted option was excluded in the first meeting, and correctly: a client matter is not a training corpus. That left an on-premise stack, which is a slower and less forgiving way to build — and the only way to build this one.
Figure 1 — From a closed matter to an answer with a citation
Approach
We built the evaluation set before the system. Two hundred questions with known answers, written by the people who would use it, including the ones designed to fail: questions about a matter they had no access to, questions whose answer was three documents deep, and questions with no answer in the corpus at all.
That last category turned out to matter most. A retrieval system that cannot say “not in the corpus” is worse than a search box, because it produces a confident paragraph with a citation that does not support it. The refusal path was built as a feature, tested as one, and tuned until it fired on the unanswerable set rather than on the merely difficult.
Figure 2 — Each control has a place in the delivery and a way to be checked
What it costs to keep
An on-premise system has no vendor to blame. The index has to be rebuilt when the corpus changes, the model has to be upgraded deliberately, and someone has to own the evaluation set as a living document rather than a delivery artefact.
So the handover was half the project: runbooks for the rebuild, a versioned prompt, and a quarterly re-run of the evaluation set with the results filed next to the last one. A system like this does not stay correct on its own; it stays correct because someone is paid to check.
What we delivered
What it changed
Associates stopped searching and started checking. That sounds like a small difference and it is the whole point: the system proposes the paragraph and the citation, and the lawyer’s time goes into judging whether it applies rather than finding it.
The refusal path earned more trust than any accurate answer did. A tool that says it does not know, in a domain where being wrong is expensive, is a tool people keep using after the novelty has gone.
We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.