Question Answering with Source

Education & Learningzero-shot-promptingsourcequestion

Grounding the answer in source material and instructing the model to refuse when information is missing dramatically reduces hallucination -- the biggest risk in zero-shot Q&A.

Prompt
Answer the following question based only on the provided source material. If the answer is not contained in the source, say "The source does not contain this information."

Source material:
{{source}}

Question: {{question}}

Instructions:
- Use only information from the source above
- Quote relevant passages when possible
- If the source partially answers the question, state what is known and what is missing

Answer:

Variables to customize

{{source}}{{question}}

Why this prompt works

Grounding the answer in source material and instructing the model to refuse when information is missing dramatically reduces hallucination -- the biggest risk in zero-shot Q&A.

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.