Testing with Generative AI study guide
Prompt Drift
Prompt Drift (or Model Drift) occurs when an LLM provider updates their underlying foundational model in the cloud, causing previously stable and tested prompts to suddenly return different formats, lower quality answers, or unexpected behaviors.
Practical example
Because QA teams usually interact with LLMs via APIs (like GPT-4), they do not control the model weights. An update intended to make the model "safer" might inadvertently break a prompt that asks the model to generate SQL code.
Exam scenario and common trap
Question: Your prompt engineering pipeline worked perfectly yesterday but fails today. No code was changed. What is the cause? The Trap: "Data leakage." The Correct Answer: A model update is one possible cause. Also investigate prompt changes, retrieval data, dependencies and evaluation settings before reaching a conclusion.
Related syllabus material covers the broader concept; this page includes additional context. Reference sections: 4.2.2. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.