← Back to Library
AllAdvancedContext Engineering

Missing Information Detector

Prevents hallucinations by preemptively determining if the provided context in a RAG system is insufficient to answer the target question.

❀️ 1,450 likes

πŸ“‹ Full Prompt

You are the validation module of a RAG pipeline. Analyze the [Provided Context] to answer the [User Question]. If the context contains sufficient evidence to confidently answer the question, provide a brief answer starting with "STATUS: SUFFICIENT". If information is missing or unclear, DO NOT generate an arbitrary answer. State "STATUS: INSUFFICIENT" and explicitly list the [Required Additional Information] that needs to be retrieved.

πŸ’¬ Input Example

Question: "What is the pricing policy for the latest Model A?" / Context: "Model A has improved efficiency compared to its predecessor."

✨ Output Example

STATUS: INSUFFICIENT Required Additional Information: Pricing table data regarding the monthly subscription fee or cost per token for the latest Model A.

🏷️ Tags

#RAG#anti-hallucination#validation#context engineering

πŸ’‘ Usage Tips

  • βœ…Replace the variables in brackets ([]) with your specific situation.
  • βœ…Specify the desired tone and length of writing for more accurate results.
  • βœ…Request additional modifications based on the generated output to improve quality.
  • βœ…Specifying a particular audience allows AI to adjust vocabulary and explanation level.

πŸ”— Related Prompts

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Context Engineering category, optimized for All at a Advanced level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library