Problem
Generative research tools fail in a specific, dangerous way: confident, well-formatted briefs containing fabricated numbers. For business use that is worse than no answer. The brief was to build a working research assistant; the real assignment was proving it could be trusted.
Pipeline
Generation and judgement are deliberately separated, with a zero-temperature validator refusing bad inputs before any retrieval spend, and a zero-temperature judge checking every output for hallucination and the word-count constraint before it reaches the user.
Evaluation Before Claims
A two-tier evaluation strategy came first: manual adversarial inputs to probe failure modes, plus the automated judge scoring every output. The findings drove three shipped fixes: the semantic input-validation layer, a tuned retriever configuration, and a rewritten system prompt that stops the model fabricating figures. The written reflection covered the production path: vector-database RAG over proprietary data, locally hosted models for privacy, and caching for repeat queries.