AI Glossary / Prompting and human-AI interaction / Intermediate
Prompt set
Definition
A prompt set is a collection of prompts used to evaluate a language model or an AI application. Each prompt presents a task or situation, and the resulting responses are assessed against defined criteria. This entry uses the evaluation meaning of the term, rather than a library of reusable writing prompts.
What it means
A single impressive answer tells little about how a system behaves across its intended work. A prompt set makes evaluation repeatable by specifying a collection of inputs that different model versions or configurations can receive.
The collection may cover ordinary tasks, difficult cases, missing information, ambiguous requests and relevant failure conditions. It should reflect the claims being tested. A set of spelling corrections cannot establish reliable document summarization, even if every correction is successful.
The corresponding model outputs form a response set. Prompts and responses should remain linked so reviewers can inspect why an answer succeeded or failed. A score without the underlying cases and scoring rules is difficult to interpret.
How it works
Start by defining the intended use and evaluation criteria. Select or construct prompts that cover important task categories and variations. Include reference answers when appropriate, or rubrics when several answers could be acceptable.
Assign stable identifiers and record relevant metadata, such as category, difficulty and required source material. If a prompt refers to a document or image, that material belongs to the evaluation input and must be preserved consistently.
Run the system under documented conditions and score the responses. Record the model version, prompt template, tools and decoding settings that could affect results. For stochastic systems, repeated runs can reveal variability. Keep development prompts used for tuning separate from held-out evaluation prompts to reduce the risk of optimizing only for a familiar test collection.
Three practical examples
- A support team evaluates routine questions, incomplete requests and questions outside the assistant's documented scope.
- A summarization team tests short and long documents, including documents containing conflicting statements that should remain distinguishable.
- A data-extraction team includes complete records, missing fields and unusual formatting, with expected values recorded for each case.
Think of it this way
Think of a driving test course containing different maneuvers. A route consisting only of straight, empty roads provides limited evidence about parking or junction handling.
Likewise, a prompt set defines what has actually been tested. Making the set larger by repeating similar easy cases does not necessarily broaden its coverage. The choice and balance of cases matter as much as the count.
Worked example
Consider an original evaluation with sixty prompts divided equally across three categories: factual extraction, formatting and missing-information handling. The model succeeds on eighteen of twenty extraction prompts, nineteen of twenty formatting prompts and twelve of twenty missing-information prompts.
The category success rates are 90%, 95% and 60%. Overall success is (18 + 19 + 12)/60 = 49/60, approximately 81.7%. Because the categories have equal sizes, their equally weighted average gives the same result.
Now suppose the evaluation designer adds forty more easy formatting prompts, all answered correctly, without changing the other cases. The score becomes 89/100 = 89%. The model has not improved on any of the original sixty cases; the composition of the prompt set changed.
Missing-information handling is still 60%. The new overall score may be appropriate only if the new weighting better represents the intended evaluation purpose. It cannot be presented as a model improvement against the earlier 81.7% without explaining the changed set.
These invented counts illustrate the difference between a system change and an evaluation change. They also show why category-level results and a versioned prompt set help readers interpret an aggregate score.
Illustrative case study
Fictional case: Alder Service Desk maintains a prompt set for an internal document assistant. Each case includes a request, the relevant reference document and a rubric describing acceptable evidence use.
When a new policy category is introduced, the team adds cases in a new version of the set. It retains results on the older fixed subset so it can distinguish regressions from changes caused by broader coverage.
Reviewers inspect disagreements on open-ended answers and refine unclear rubrics without silently changing previous scores. The case illustrates evaluation governance and does not claim a measured quality improvement.
Common misconceptions and mistakes
- A large prompt set is automatically representative: many near-duplicate prompts can leave major gaps.
- A prompt set must be a mathematical set with no order or repetition: in practice it is an organized evaluation collection, and repeated runs can be intentional.
- Every question needs one exact reference string: open-ended tasks may require a rubric or other assessment method.
- A higher score always means a better model: changed cases, weights or scoring rules can change the score.
- Passing the set proves reliability everywhere: evidence is limited by the tested scope and evaluation quality.
Business use
Prompt sets support procurement comparisons, regression testing and decisions about whether an AI application meets its intended requirements. Their value depends on matching the evaluation to the actual use.
Report what the set covers, what it omits and how success is defined. Keep important subgroups visible, particularly where an aggregate score could conceal a serious weakness. Preserve a stable comparison subset while expanding coverage as new failure patterns emerge. Avoid repeatedly tuning against the final test set and then treating its score as independent evidence of generalization.
People also ask
How is a prompt set different from a prompt template?
A template is a reusable structure for constructing inputs. A prompt set contains particular evaluation cases, which may be created from one or more templates.
Can prompts be generated by another model?
Yes, but generated cases still need checks for relevance, correctness, duplication and coverage.
Should the set match production frequencies?
That is one useful design. A stress-test set may deliberately overrepresent difficult cases. State which purpose and weighting are being used.
Check your understanding
A model's score rises after difficult prompts are removed. Has the model's capability necessarily improved?
Answer: No. The evaluation became easier. Compare the same model versions on the same cases, or explain the changed prompt-set composition explicitly.
Related terms
- Response set
- Benchmarks
- Test set
- Data leakage
- evaluation dataset
- benchmark
- rubric
- regression testing
- coverage
- distribution shift
- prompt template
Learn next
List the main tasks and failure conditions for one application. Build a small balanced prompt set with stable identifiers and clear scoring rules. Run a baseline, inspect category-level errors and reserve separate cases for evaluating later prompt or model changes.
More in Prompting and human-AI interaction
- Multimodal Prompt-based Language Model - A multimodal prompt-based language model generates language in response to prompts containing more than one kind of information, such as text combined with...
- One-shot prompting - One-shot prompting gives a language model one demonstration of the desired task before asking it to handle a new input.
- Prompt - A prompt is input supplied to a generative AI model to guide the output it produces.
- Prompt-based learning - Prompt-based learning uses prompts to guide a pretrained model toward a task or desired behavior.
- Prompt chaining - Prompt chaining connects multiple model calls so that an earlier call's output becomes part of a later call's input.
- Prompt engineering - Prompt engineering is the deliberate design and testing of instructions given to an AI model.
Sources
Google Machine Learning Glossary, prompt set and response set definitions: https://developers.google.com/machine-learning/glossary
Wei and colleagues, Long-form Factuality in Large Language Models, 2024, for a research example using the LongFact prompt set: https://arxiv.org/abs/2403.18802
The sixty-prompt calculation and Alder Service Desk case are original hypothetical illustrations. The numerical example is not a reported benchmark result.
Previous: Prompt management Next: Prompt tuning