Sub topic 1
Why a prompt set should start from real customer questions
Prerequisites
This chapter assumes you already know the following:
- How AI assistants and AI search features answer questions. You should know that they produce a written answer, often with cited sources, and that the answer can change from one run to the next.
- How to read a short Python script. The code in this chapter is small and uses only the standard library.
- Basic data privacy ideas, such as what counts as personal data (names, email addresses, phone numbers, account details).
You do not need any earlier chapter. This chapter sets up the reasoning for the rest of the tutorial.
What a prompt set is and what it is for
A prompt set is a fixed list of questions, called prompts, that you send to one or more AI assistants or AI search features. You then record how each one answers. The goal is to measure something about your product or topic. Examples include whether your brand is mentioned, whether the facts are correct, and whether your pages are cited.
A measurement is only as good as the questions behind it. If the prompts do not look like what people really ask, the numbers you collect describe a situation that does not exist. You can run the test perfectly and still learn nothing useful.
This is why the plan for the whole tutorial starts here. Every later step (collecting, cleaning, grouping, sampling, validating) exists to keep the prompt set close to real customer behaviour.
Two ways to build a prompt set
There are two common starting points.
- From assumptions. A marketing or product team sits in a room and writes the questions they think customers ask. This is fast and cheap.
- From real questions. You collect what customers actually typed or said, in places such as support tickets, sales calls, site search, community forums, and reviews. You clean it and turn it into prompts.
The table compares the two.
| Aspect | Written from assumptions | Built from real questions |
|---|---|---|
| Wording | Uses internal terms and product names | Uses the words customers use |
| Topic mix | Reflects what the team cares about | Reflects what customers care about |
| Frequency | Every topic looks equally common | Common topics show up more often |
| Surprises | Rare, because the team already knows the answers | Common, such as odd phrasings and unexpected needs |
| Cost | Low | Higher: collection, privacy review, cleaning |
| Defensibility | Hard to justify when results are questioned | Can point to the source of each prompt |
The second approach costs more effort. The rest of this chapter explains why that effort pays off.
Four ways assumptions distort results
Vocabulary mismatch
Teams write in their own vocabulary. A company may call its feature "workspace governance", while customers ask "how do I stop people from deleting my stuff". An AI assistant retrieves and summarises answers based on the wording of the question. A prompt that uses your internal term can trigger a very different answer from the one a customer would get.
If your prompts use your jargon, you measure how the assistant handles your jargon. You do not measure what customers see.
Wrong topic proportions
Teams tend to over-represent topics they find interesting, such as new features, and under-represent dull but common ones, such as changing an email address or finding an invoice. If 30 percent of real questions are about billing and only 3 percent of your prompts are, any overall score will be skewed toward topics that matter less to customers.
Missing the unexpected
Real questions contain things a team would not think to write. Customers compare you to products you do not consider competitors. They combine two problems in one sentence. They misspell product names. They ask about situations the documentation never covered. These cases often produce the worst AI answers, so they are the ones you most want in the set.
Unearned confidence
A set written by the team that owns the product tends to confirm what the team already believes. The questions are phrased so that the team's content is the obvious answer. Results look good, and nobody learns anything. A set taken from real data gives you evidence that other people can check.
A worked example
Suppose you run a subscription software product. A team workshop produces this prompt:
> Describe the account administration capabilities of the platform.
I am showing it here as a plain line rather than a prompt record, because it is the kind of sentence nobody types into a search box. Compare it with a real support ticket, lightly cleaned:
{"id":"q-0042","text":"Can I move my subscription to a different email address?","source":"support_tickets","intent":"how_to","cluster":"account_management","count":37}The record has several features that the workshop prompt lacks:
- text is the customer's own wording, kept intact.
- source says where it came from, so you can audit it later.
- intent says what the customer is trying to do (here, a how-to).
- cluster groups it with similar questions about account management.
- count says it appeared 37 times. This is evidence of demand that no workshop can supply.
The workshop prompt is broad and abstract. The real question is narrow and concrete, and an assistant has to give a specific answer to it. A wrong or missing answer to this question affects real customers, and 37 of them have already asked it.
Later chapters explain each field. For now, notice that a real question carries evidence with it.
Why this matters for measurement quality
Prompt sets are used to compare things: your brand against competitors, this month against last month, one assistant against another. Comparisons need three properties.
- Representativeness. The prompts should resemble the population of real questions. Otherwise the result applies only to your sample.
- Stability. The same prompts should be used each time, so that a change in results reflects a change in the assistants or your content, not a change in the questions.
- Traceability. You should be able to say where each prompt came from and why it is in the set.
Starting from real questions gives you the first and third directly. The later chapters on versioning give you the second.
The diagram below summarises how the choice of starting point affects what you can trust.
What "real" does and does not guarantee
Real questions are better than invented ones, but they are not automatically correct. Keep these limits in mind.
Real questions are a sample
Your support tickets come from customers who had a problem and chose to write in. Sales calls come from prospects who got far enough to talk to someone. Neither is the whole market. The next chapter covers how to combine several sources to reduce this bias.
Real questions are not yet prompts
A ticket might read "hi, it's Dana, my card on file ending 4417 failed again, call me on 555 0100". That text contains personal data, greetings, and context that makes no sense as a standalone question. Turning it into a usable prompt takes cleaning, privacy scrubbing, and judgement. If you skip this, you risk leaking personal data into a third-party AI service, which is the main reason the privacy chapter comes before cleaning.
Real questions change
Customers ask different things after a product launch, a price change, or a news event. A set built once will drift away from reality. That is why the final chapter covers versioning and refreshing.
Real wording can still be biased
If customers were guided by your own interface, for example by suggested search terms, their questions already reflect your vocabulary. Later chapters on pitfalls show how to spot this.
The pipeline this tutorial follows
The remaining chapters walk through one pipeline. Knowing the whole path helps you see why the first decision matters.
- Collect questions from several sources.
- Remove personal data.
- Normalise and remove duplicates.
- Label each question by intent and group it into topic clusters.
- Write prompts that keep the customer's wording, and add persona or context variants on purpose.
- Sample so that the set matches real demand and still covers rare topics.
- Validate the set against held-out real questions.
- Version the set and refresh it on a schedule.
You can see the shape of the work already. Each step protects the link between the final prompt and an actual customer. Break that link and you are back to guessing.
A quick check of your own data
Before you invest in the full pipeline, it helps to see how far your team's assumed questions are from real ones. This short script compares the words in two lists and reports how many words in the real questions never appear in the assumed ones. A high share suggests a vocabulary gap.
import re
def words(questions):
found = set()
for q in questions:
found.update(re.findall(r"[a-z']+", q.lower()))
return found
def vocabulary_gap(assumed, real):
assumed_words = words(assumed)
real_words = words(real)
if not real_words:
return 0.0
missing = real_words - assumed_words
return len(missing) / len(real_words)
assumed = [
"Describe the account administration capabilities of the platform.",
"What are the governance features of the workspace?",
]
real = [
"Can I move my subscription to a different email address?",
"How do I stop people from deleting my stuff?",
]
print(f"Vocabulary gap: {vocabulary_gap(assumed, real):.0%}")The result is a rough signal and not a quality score. Common words such as "the" and "of" are counted, and a small sample says little. With a real export of a few hundred tickets and a filter for common words, the figure becomes more informative. Even in this toy example, almost all of the real words are missing from the assumed list.
Common mistakes at this stage
- Treating the team's question list as a "seed" and adding a few real ones. The assumed questions still dominate the set and its topic mix. Start from the real data and add assumed questions only to fill documented gaps.
- Using only one source. A set built only from support tickets over-represents problems and under-represents buying and comparison questions.
- Collecting before deciding on privacy rules. Once raw personal data is in a spreadsheet, it spreads. Decide how to handle it first.
- Keeping no record of the source. If you cannot say where a prompt came from, you cannot defend it or refresh it later.
- Assuming a large set is a good set. Five hundred prompts written from assumptions are worse than eighty drawn from real data.
Summary of the argument
A prompt set measures how AI systems answer your customers. Only real customer questions give you the customers' wording, the real topic mix, and the unexpected cases. They also give you a record that others can check. They take more work to collect and clean, and they carry their own biases, so the following chapters give you a method to handle each of these.
Exercise
A team writes 60 prompts in a workshop. Their AI search score looks strong. Name two specific ways the prompt set could make the score misleading, and say what real data would add to fix each one.
Show answer
Any two of the following. (1) Vocabulary mismatch: the prompts use internal terms such as "workspace governance", while customers say "stop people deleting my stuff". Real questions supply customer wording, so the test reflects what customers see. (2) Wrong topic proportions: the team over-writes about new features and under-writes common topics such as billing. Real question counts show which topics are frequent, so the set can match demand. (3) Missing unexpected questions: workshop prompts rarely include misspellings, competitor comparisons, or combined problems. Real questions contain these cases. (4) Unearned confidence: prompts phrased so that the team's content is the obvious answer inflate the score. Prompts taken from real data with a recorded source can be checked by others.
Exercise
Look at this record: {"id":"q-0042","text":"Can I move my subscription to a different email address?","source":"supporttickets","intent":"howto","cluster":"account_management","count":37}. Which field gives evidence of demand, which field supports traceability, and why does a workshop-written prompt lack both?
Show answer
The count field (37) gives evidence of demand, because it shows how often customers asked the question. The source field ("support_tickets") supports traceability, because it says where the prompt came from so it can be audited and refreshed. A workshop prompt has no count because nobody has measured how often it is asked, and no source because it came from the team's opinion and not from customer data.
Exercise
Why is it a mistake to take your team's 50 assumed questions as the base of the set and then add 10 real ones?
Show answer
The assumed questions still dominate the set. They bring in internal wording and the team's chosen topic mix, and 10 real questions are too few to correct that. The better order is to start from the real data and add assumed questions only to fill gaps that you can document, such as a new feature that customers have not asked about yet.