RAG QA Prompt
Answer strictly from retrieved passages with citations and uncertainty.
Prompt
Answer the user question using only the passages below.
Passages:
{{passages}}
Question: {{question}}
Requirements:
1. First decide whether the passages are sufficient; if not, say the passages do not cover it.
2. Cite sources as [1][2] after each claim.
3. Do not mix in outside knowledge.
4. If passages conflict, state the conflict.
5. End with a one-sentence conclusion.
Do not invent citations.Variables to replace
Example output
The passages do not cover the refund window; they only describe return conditions [1].
How to use it
Require an explicit insufficient-evidence answer; it works better than do not hallucinate.
Recommended tools
Related prompts
RAG evaluation prompt for Embodied AI
A rAG evaluation template for embodied-AI and humanoid teams, addressing scarce data and unclear deployment scenarios and delivering evaluation table + metrics + improvements.
Human-in-the-loop prompt for Skincare
A human-in-the-loop template for skincare brands and skin clinics, addressing hard-to-explain ingredients and trust issues and delivering approval points + flow + UI fields.
System prompt prompt for Restaurants
A system prompt template for restaurant owners and operations managers, addressing platform dependence and squeezed margins and delivering system prompt + variables + test cases.