How They Use AI  |  Newest

<< Home  |  Prompting craft

AI stops hallucinating by grounding answers in sources

AreaPrompting craft
AI usedAny
SourceReddit thread
Posted2026-03-04

The move

Force the model to retrieve information from specific sources before generating an answer.

Steps

  1. Identify reliable source URLs for your topic.
  2. Instruct the AI to search those specific sources first.
  3. Require the AI to answer strictly based on retrieved evidence.
  4. Mandate citations for every claim made.
  5. Explicitly command the AI to say 'I don't know' if information is missing.

Prompt for your AI

Before answering, search {sources} for {number} credible references. Answer {my_question} strictly based on evidence found. Include the source URL for each claim. If verified information is unavailable, respond with 'I don't know' instead of making assumptions.

What happened

The user struggled with ChatGPT hallucinating facts due to its predictive nature. They implemented a 'manual RAG' technique that forces the model to search specific, reliable sources and cite them before answering. This change significantly improved accuracy and allowed the model to admit when it lacks information. Commenters confirmed that allowing the model to admit ignorance yields superior results.

Who confirmed it

The user noted the 'improvement in accuracy is striking,' and a commenter added that 'letting it admit when it doesn't have an answer can yield superior outcomes.'

Watch out

None explicitly stated, though it relies on the model's ability to accurately access and interpret the specified external sources.

Give it to your agent

Read https://howtheyuse.ai/p/ai-stops-hallucinating-by-grounding-answers-in-sources.md and help me do this.

Sources



Last updated November 26, 2026.