Sub topic 4
Prompting for research: context, task, format and evidence
This chapter covers how to write prompts that turn an AI assistant into a reliable research helper. It assumes you can use a chat-based assistant, know basic marketing terms such as target customer and positioning, and have already set a research question and gathered source material. Those steps come in earlier chapters.
Why research prompts need more structure
A casual prompt such as "What do customers think of our product?" invites the assistant to answer from its general training. You get fluent text with no link to your data. You cannot tell which statements come from your reviews, which come from general patterns, and which are invented.
A research prompt reverses this. It limits the assistant to material you supply, fixes the shape of the output, and requires evidence for each claim. The result is something you can check.
A useful prompt has four parts:
| Part | What it does | Example |
|---|---|---|
| Context | States the decision and the role | "Decide which two pain points the onboarding email should address" |
| Task | Says exactly what to do with the material | "Group the reviews into at most five themes" |
| Format | Fixes the output structure | "For each theme: description, review IDs, one quote" |
| Evidence rules | Sets limits and requires traceability | "Use only the pasted reviews. Label weak evidence." |
A worked example
This prompt follows the four parts. Read it once, then look at what each line contributes.
You are helping with market research.
Goal: decide which two customer pain points our onboarding email should address.
Material: the customer reviews pasted below, each with an ID such as R1, R2.
Task: group the reviews into at most five themes. For each theme give a one-sentence description, the IDs of the supporting reviews, and one short direct quote.
Rules: use only the pasted reviews. If a theme has fewer than three supporting reviews, label it "weak evidence". Do not infer demographics that the reviews do not state.
Reviews:
[paste reviews here]- Goal ties the work to a decision. The assistant can then rank themes by relevance to the onboarding email instead of listing everything.
- Material names the source and the ID scheme. IDs make every claim traceable.
- Task caps the number of themes. Without a cap, assistants tend to produce long lists of overlapping themes.
- Rules draw boundaries. "Use only the pasted reviews" reduces outside knowledge leaking in. The three-review threshold turns a vague worry about thin evidence into a visible label. The demographics rule blocks a common failure, where the assistant guesses age, job or income from writing style.
Context: state the decision and the role
Give the decision first. "We are choosing between a pricing page redesign and a new onboarding email" tells the assistant what a useful answer looks like. Without it, the assistant optimizes for sounding comprehensive.
A role line such as "You are helping with market research" is cheap and sets a register. Do not rely on it for quality. A role does not make the assistant more accurate. The evidence rules do that work.
Also state what the material is and where it came from. "These are 40 public app store reviews from the last six months" lets you and the assistant both reason about limits. Later chapters cover bias and sampling in detail. For now, record the source and date in the prompt so they travel with the output.
Task: one job per prompt
Ask for one operation at a time. Common research operations include:
- Grouping text into themes.
- Extracting specific fields, such as each competitor's price.
- Summarizing one document.
- Comparing two documents against a fixed list of questions.
A prompt that says "find themes, build personas, compare competitors and suggest a strategy" produces shallow output on every part and hides errors. Run the steps separately. Check the output of each before feeding it into the next.
Use precise verbs. "Group" and "extract" describe operations on your material. "Analyze" and "explore" leave the assistant free to do whatever it likes. Add counts and limits where you can: "at most five themes," "top three complaints," "no more than two sentences per theme."
Format: design the output for checking
Choose a format that makes errors easy to spot. Tables and fixed field lists are better than flowing paragraphs, because a missing field or an empty cell is visible.
For competitor work, give the assistant the table to fill in. Every competitor then answers the same questions, and every cell has a place for its source.
| Competitor | Target customer | Core promise | Pricing model | Key features | Evidence (URL, date) | Confidence |
|---|---|---|---|---|---|---|
| Competitor A | | | | | | |
| Competitor B | | | | | | |Add an instruction for gaps: "If the material does not say, write 'not stated.' Do not guess." Without this, assistants fill empty cells with plausible content. A cell that says "not stated" is useful information. A cell with an invented price is a hazard.
Evidence: make every claim traceable
Evidence rules do most of the work in a research prompt. Four rules cover most cases:
- Restrict the source. "Use only the material below." If you want outside knowledge, ask for it separately and label it.
- Require references. Ask for review IDs, document names, or page numbers beside every claim.
- Require quotes. A short direct quote lets you search your source and confirm the text exists. Ask for quotes to be copied exactly.
- Require a confidence label. Define the levels yourself, for example "weak evidence" for fewer than three supporting items.
Treat these as aids for your own checking, not as guarantees. An assistant can attach a real ID to a claim the review does not support, or paraphrase a quote while presenting it as exact. The checking method is covered in a later chapter. Here the point is to produce output that is cheap to check.
Do not trust counts written in prose
Assistants are unreliable at counting. A sentence like "most reviews mention pricing" or "about 60% complained about setup" may be wrong. Ask the assistant to list IDs per theme, then count them yourself. This code counts reviews per theme after you have coded each review and checked the assistant's suggested themes against the text.
from collections import Counter
# Reviews you coded by theme, after checking the AI's suggested themes against the text.
reviews = [
{"id": "R1", "theme": "pricing"},
{"id": "R2", "theme": "setup difficulty"},
{"id": "R3", "theme": "pricing"},
{"id": "R4", "theme": "support"},
{"id": "R5", "theme": "pricing"},
]
counts = Counter(review["theme"] for review in reviews)
total = len(reviews)
for theme, n in counts.most_common():
print(f"{theme}: {n} of {total} reviews ({n / total:.0%})")It prints:
pricing: 3 of 5 reviews (60%)
setup difficulty: 1 of 5 reviews (20%)
support: 1 of 5 reviews (20%)Report the sample size with every percentage. "60%" alone sounds strong. "3 of 5 reviews" shows how thin it is.
Common errors and how to fix them
| Symptom | Likely cause | Fix |
|---|---|---|
| Themes that sound right but match no reviews | No restriction to supplied material | Add "use only the pasted reviews" and require IDs |
| Quotes you cannot find in the source | The assistant paraphrased or invented | Require exact quotes, then search for each one |
| Personas with ages and job titles | The assistant filled gaps from stereotypes | Add "do not infer demographics that the material does not state" |
| Every theme looks equally important | No decision in the prompt | State the decision and ask for ranking against it |
| Confident claims from two reviews | No evidence threshold | Define a minimum count and require a label |
| Long, vague output | No limits on length or count | Cap themes, sentences and quotes |
| Competitor cells filled with guesses | No rule for missing data | Require "not stated" |
Long material and truncation
If you paste a large batch, the assistant may use only part of it, or weigh the start and end more heavily. Split big sets into batches of a size you can check, such as 30 to 50 reviews. Keep the same IDs across batches, run the same prompt on each, and merge the results yourself. Ask each batch for themes with IDs, then compare the theme lists by hand.
Inconsistent results between runs
Run the same prompt twice on a sample. If themes differ a lot, the instructions are too loose, or the data supports several groupings. Tighten the format, give example theme names, or fix the theme list in advance and ask the assistant only to assign reviews to it.
Iterating on a prompt
Treat a research prompt like a small piece of code. Test it on a sample, inspect the failures, and change one thing at a time.
- Run the prompt on 10 to 15 items you have already read yourself.
- Compare the assistant's output to your own reading.
- Note each error type from the table above.
- Add one rule that targets the most common error.
- Run again, then scale up.
Save the final version. A prompt that works is an asset, and the later chapter on repeatable workflows reuses it.
Summary of the pattern
- Open with the decision the research will inform.
- Supply the source material and say what it is.
- Ask for one operation, with counts and limits.
- Fix the output format, with a place for sources and a "not stated" option.
- Restrict the assistant to your material and require IDs, exact quotes and confidence labels.
- Count and verify yourself.
Exercise
You paste 30 app reviews and ask, "What do users want?" The reply says "most users want a dark mode" with no references. Rewrite the prompt to fix this. Name at least four changes you make and the problem each one solves.
Show answer
A strong rewrite does these things. (1) Add the decision: "Goal: decide whether dark mode should be in the next release." This lets the assistant judge relevance. (2) Number the reviews R1 to R30 and say "use only the pasted reviews," which stops outside knowledge. (3) Fix the task and format: "Group requests into at most five themes; for each give a one-sentence description, the supporting review IDs and one exact quote." This makes claims traceable and checkable. (4) Add an evidence rule: "If fewer than three reviews support a theme, label it 'weak evidence'." This prevents confident claims from thin data. You then count the IDs for dark mode yourself instead of trusting "most," and report the number as "n of 30."
Exercise
A competitor table from the assistant has a price in every cell, but your source pages state a price for only two of five competitors. What prompt rule would have prevented this, and what do you do with the existing table?
Show answer
The rule is "If the material does not say, write 'not stated.' Do not guess," together with an Evidence column requiring a URL and date for each cell. For the existing table, check each price against its cited source. Replace any price you cannot find with "not stated," and rerun the prompt with the new rule. If the price matters to your decision, gather the missing source material rather than accepting a guess.