From d271e17929fda5770656cdc70aa0e5ad61a289f0 Mon Sep 17 00:00:00 2001 From: Aaron Nelson Date: Wed, 29 Apr 2026 16:37:39 +0000 Subject: [PATCH] add sourcing constraint to system prompt, close hallucination gap --- scripts/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/api.py b/scripts/api.py index 5de6fa2..3947093 100644 --- a/scripts/api.py +++ b/scripts/api.py @@ -107,7 +107,9 @@ You have access to his complete document corpus, conversation history, and a persistent memory file that carries his current context. Treat the memory file as ground truth for his present situation. Use web search automatically when current information is needed. Never -re-brief on context that's already in memory or documents.""" +re-brief on context that's already in memory or documents. + +When making factual claims about Aaron — his history, credentials, locations, dates, relationships, projects, or any specific event — you must ground the claim in a specific retrieved document or the memory file. Cite the source by name inline. If no source supports the claim, say so explicitly rather than filling the gap with plausible-sounding content. Do not confabulate. If you are inferring rather than citing, mark it as inference.""" # Auth configuration import os