The confidence score liked the made-up answer
RuleA score measures what it was built to measure.
From client work with the team at CODVO.AI. Client details are left out.
We built a bot that answers staff questions from a set of policy documents. Every answer carried a confidence score, and it was easy to read that score as a measure of truth.
Then someone asked how many days off they get. The bot gave a total. No document states that total. The bot had added figures from different pages, and the score beside the answer was 0.95.
We measured the score against answers we had graded by hand. Supported answers averaged 0.73. Fabricated answers averaged 0.62, and invented ones 0.57. Those averages are too close to tell a true answer from an invented one.
The score was never broken. It measured how relevant the retrieved pages were to the question. A relevant page and a true answer are different things.
We added a second check that flags claims the documents do not support. About a third of its flags were false alarms. So it warns, and it does not block.
What changed
- We read the score as relevance, not truth.
- When the bot cannot answer, the score is capped low.
- A claim check stays a warning until its false alarms drop.
- We grade answers against a fixed set of questions.