# Prompt version

> Prompt version: One exact, named revision of a prompt. It is logged with every output it produces so results can be traced and compared; any edit, even a…

Canonical: https://llmdojo.dev/glossary/prompt-version

Also called prompt versions, prompt versioning.

One exact, named revision of a prompt. It is logged with every output it produces so results can be traced and compared; any edit, even a typo fix, makes a new version.

Learn it in the lesson: [Prompts are code: version them](https://llmdojo.dev/learn/prompt-context-engineering/prompt-versioning/prompts-are-code) (Prompt and Context Engineering · Versioning Prompts and Catching Regressions).

## Interview questions about Prompt version

- [Design a backend where clients submit LLM prompt jobs and poll or receive callbacks, with queueing, model routing, prompt versioning, idempotency and cost control.](https://llmdojo.dev/interview/q/design-a-backend-where-clients-submit-llm-prompt-jobs-and-poll-or)
- [Why version prompts, and what should be logged with every output?](https://llmdojo.dev/interview/q/why-version-prompts-and-what-should-be-logged-with-every-output)
- [Build a system to manage prompts and model behaviour in production, then defend its versioning and rollout trade-offs.](https://llmdojo.dev/interview/q/build-a-system-to-manage-prompts-and-model-behaviour-in-production-then)
- [Build a lightweight evaluation harness for a model served through Ollama: run a dataset of prompts, score the answers against references and report the results.](https://llmdojo.dev/interview/q/build-a-lightweight-evaluation-harness-for-a-model-served-through-ollama-run)
- [A RAG assistant gave a wrong answer. How do you find the cause?](https://llmdojo.dev/interview/q/a-rag-assistant-gave-a-wrong-answer-how-do-you-find-the)
- [What is a trace, and what should it capture?](https://llmdojo.dev/interview/q/what-is-a-trace-and-what-should-it-capture)
- [You fall back to a model you've never evaluated with your prompt. What can go wrong?](https://llmdojo.dev/interview/q/you-fall-back-to-a-model-you-ve-never-evaluated-with-your)
- [How do you design production metrics for an AI feature?](https://llmdojo.dev/interview/q/how-do-you-design-production-metrics-for-an-ai-feature)

## Related
- [Test set](https://llmdojo.dev/glossary/test-set)
- [Exact match](https://llmdojo.dev/glossary/exact-match)
- [Glossary of every term](https://llmdojo.dev/glossary)
