Sub topic 4
Prompting for research: context, task, format and evidence
This chapter assumes you can use a chat-based AI assistant and have already set a research question tied to a decision. It also assumes you have gathered source material, such as reviews or survey answers. Here you turn that material into a prompt the AI can answer in a way you can check.
The four parts of a research prompt
A weak prompt asks, "What do customers think of us?" The AI will answer from general patterns in its training, not from your data. A strong research prompt has four parts:
- Context: the decision you are making and the material you are supplying.
- Task: the specific operation, such as group, compare, or extract.
- Format: the exact shape of the output, so you can scan and compare results.
- Evidence: a rule that every claim points back to a source, plus limits on what the AI may assume.
A worked example
Suppose you must decide which two customer pain points your onboarding email should address. You have pasted customer reviews, each labeled with an ID such as R1 or R2.
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]Each part has a job:
- The goal line tells the AI what the themes are for, so it does not produce a generic summary.
- The material line limits the answer to the pasted reviews.
- The task line sets a ceiling of five themes. Without a ceiling, the AI may produce twelve thin ones.
- The rules line sets a threshold for weak evidence and blocks guesses about who the customers are.
Review IDs matter most. They let you open R4 and confirm it says what the AI claims. A quote that does not appear in R4 is a fabrication, and you can catch it in seconds.
Count it yourself
AI assistants can write counts in prose, such as "most reviews mention pricing," but they often miscount. Once you have checked the themes against the text and coded each review, count with code instead.
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%})")This prints pricing: 3 of 5 reviews (60%), then the other two themes at 20% each. Report the sample size with every percentage. "60%" of five reviews is a very different claim from 60% of five hundred.
Common errors
| Error | What goes wrong | Fix |
|---|---|---|
| No stated decision | The AI summarizes everything and highlights nothing useful | Name the decision in the prompt |
| Material not supplied | The AI fills gaps from general knowledge | Paste the data and say "use only the pasted material" |
| Open-ended format | Answers differ run to run and are hard to compare | Specify fields, limits, and order |
| No IDs required | Claims cannot be traced | Require source IDs and short quotes |
| Trusting AI counts | Numbers may be wrong | Code the data and count it yourself |
Reusing the pattern for competitors
The same four parts work for competitor research. Replace reviews with saved competitor pages, and make the format a fixed table so every competitor answers the same questions.
| Competitor | Target customer | Core promise | Pricing model | Key features | Evidence (URL, date) | Confidence |
|---|---|---|---|---|---|---|
| Competitor A | | | | | | |
| Competitor B | | | | | | |The evidence column forces each cell to carry a source and a date. The confidence column gives the AI, and you, a place to mark what is unclear.
Exercise
You paste 40 survey answers into an AI and ask, "What are the main problems customers have?" The reply lists four problems with percentages but no references. Name two changes to the prompt that make the reply easier to verify.
Show answer
Label each answer with an ID (S1 to S40) and require the reply to list the supporting IDs and one short direct quote per problem. Also add a rule to use only the pasted answers, and have the AI report counts as IDs only, so you count them yourself in a spreadsheet or script rather than trusting its percentages. A fixed output format, such as a table with a "weak evidence" label below three supporting answers, is also a valid change.