add sourcing constraint to system prompt, close hallucination gap

This commit is contained in:
2026-04-29 16:37:39 +00:00
parent 5d83fb7601
commit d271e17929
+3 -1
View File
@@ -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 and a persistent memory file that carries his current context. Treat
the memory file as ground truth for his present situation. Use web the memory file as ground truth for his present situation. Use web
search automatically when current information is needed. Never 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 # Auth configuration
import os import os