Recording prompt versions with outputs
When a team reuses a prompt, small changes add up. A word is added here, an instruction is removed there, and after a few months nobody knows which version produced which document. Recording prompt versions with outputs means keeping each version of an important prompt alongside a sample of what it produced, so that the team can see what changed and why.
Why recording prompt versions with outputs matters
Results change when prompts change. A new instruction to be more concise may also drop caveats. A new example may shift the tone of every draft. Without a record, a team that notices worse output cannot tell whether the cause was the prompt, the source material, or the tool.
Results also change when tools change. Lingjiao Chen, Matei Zaharia, and James Zou found that “the performance and behavior of both GPT-3.5 and GPT-4 can vary greatly over time.”1 A prompt that worked well last quarter may produce different output today. A record of earlier outputs gives the team something to compare against. Our article on why AI tool updates change your results explains what to watch for.
Records support accountability. FINRA says that where a firm uses generative AI in supervision, its policies “should address technology governance, including model risk management, data privacy and integrity, reliability and accuracy of the AI model.”2 Even outside regulated fields, an organization may need to show how a document was produced. A prompt record answers that question quickly.
What to record
Record the prompt text in full. Save the exact wording, including any examples, rules, and supplied context. A summary of the prompt is not enough, since small differences in wording can change the result. Give each version a number or date.
Record the tool and settings. Note the tool name, the model or plan, and any settings the team relies on. The same prompt may behave differently in two tools or two versions of one tool. If the tool does not show its version, record the date of use.
Record a sample of the output. Keep one or two outputs from each prompt version, with the input they came from. These samples are the baseline for later comparison. Choose inputs that represent the documents the prompt is used for.
Record why the prompt changed. A one-line note such as “added rule to keep figures exactly as in source” explains the change to the next person. It also helps the team reverse a change that made results worse.
Record what was checked. If a reviewer compared the sample with the source, note what they found. NIST describes confabulation as “confidently stated but erroneous or false content.”3 A sample that looked good but contained errors is a warning, not a baseline.
How to keep the record simple
Use the tools you already have. A shared folder with a text file per prompt, or a table in the document management system, is often enough. Our article on version control for AI documents describes simple methods. The best system is one that people use without being reminded.
Record only prompts that matter. A one-off prompt for an internal note needs no record. Prompts that are reused across a team, or that produce documents for clients, regulators, or the public, should be recorded. Our article on reusable prompts for documents explains how to build these.
Name an owner for each shared prompt. The owner approves changes, keeps the record current, and retires versions that are no longer used. Without an owner, several people may edit the same prompt and the record falls out of date.
Using the record
Compare before you change. Before adopting a new prompt version, run it on the same inputs as the old one and compare the outputs side by side. Look for dropped caveats, changed figures, and shifts in tone. Adopt the new version only if it is better on the points that matter.
Link records to documents. When an important document is produced with a recorded prompt, note the prompt version in the document record. The Treasury Board of Canada Secretariat tells federal staff to “clearly indicate when content has been produced by generative AI.”4 A prompt version number makes that note specific. Our article on recording AI use in a document suggests a format.
Review the record after errors. When an error reaches a reader, the record shows which prompt version was used and whether it had changed recently. That points the team to the right fix, whether in the prompt, the source, or the check.
Our Workflow Setup and Training service helps teams set up prompt records and review steps that fit their workflow. Client documents go only into tools the client has approved, and decisions on prompts and publication remain with the client. A simple record of prompt versions and outputs lets a team improve its prompts without losing track of what works.
Notes
- Lingjiao Chen, Matei Zaharia, and James Zou, “How is ChatGPT’s behavior changing over time?,” arXiv:2307.09009, version 3, October 31, 2023. https://arxiv.org/abs/2307.09009
- Financial Industry Regulatory Authority, Regulatory Notice 24-09, “FINRA Reminds Members of Regulatory Obligations When Using Generative Artificial Intelligence and Large Language Models,” June 27, 2024. https://www.finra.org/rules-guidance/notices/24-09
- National Institute of Standards and Technology, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (NIST AI 600-1), July 2024, section 2.2. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
- Treasury Board of Canada Secretariat, Guide on the use of generative artificial intelligence, issued May 30, 2024, modified September 24, 2026. https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/responsible-use-ai/guide-use-generative-ai.html