Skip to content

Build a repeatable prompt set

A prompt set is the instrument you use to observe answers. Small changes in wording can change what the instrument measures, so preserve text and intent as carefully as the resulting answers.

Collect questions that a prospective user might ask while discovering, evaluating, or comparing a product. Include context that affects the decision, such as team size or requirements. Keep brand-neutral discovery questions separate from prompts that explicitly name competitors.

An illustrative two-prompt set might be:

[
{
"id": "discovery-studio",
"text": "Which project planning tools suit a five-person design studio managing client approvals? Explain your criteria."
},
{
"id": "requirements-studio",
"text": "What should a small design studio evaluate when choosing a project planning tool for client approvals?"
}
]

Use stable IDs for stable questions. If a prompt changes meaning, give it a new version or ID in your records. The API requires unique prompt IDs within a run, with up to 25 prompts and 8000 characters of text per prompt.

Record the prompt-set version, locale, selected targets, search mode, output limits, repetition count, and matching rules. Controlled retrieval can also use 1–3 explicit retrieval queries per prompt. Preserve these queries when they are part of your experiment.

A project groups related runs, but it does not schedule them or define a prompt-set version for you. Store your version information alongside the input in your application. Generate a new idempotency key for each intended new run and preserve the original key for safe recovery of that run.

Run one or two prompts first. Inspect whether answers address the task, whether evidence is available, and whether your extraction rules handle aliases and ambiguous mentions. Refine the instrument before treating its outputs as a recurring series.

For larger studies, remember the product of prompts, targets, and repetitions cannot exceed 100 per run. Estimate each batch and preserve coverage and failures. Read repeated observations before combining results across dates.