Developer's AI eval harness reveals personal chatbot hallucinated in 26% of responses
A software developer built an automated evaluation harness to test his AI-powered digital twin, a chatbot on his personal website designed to answer questions about him without fabricating information. The harness tested 35 questions and found that 9 responses contained claims not present in the source material, while the bot refused only 4 of 8 questions it should have declined entirely. The developer had relied on manual spot-checks for months, during which the system appeared to behave correctly, masking the underlying failure rate. The twin uses a lightweight retrieval system built on a JSON-based vector store with Amazon Bedrock embeddings and cosine similarity, deliberately avoiding managed vector databases for simplicity. The eval harness measured both retrieval accuracy and answer faithfulness separately, revealing that a strict anti-hallucination system prompt alone was insufficient to prevent fabricated responses roughly a quarter of the time.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in