Study FAQ
What should I version in Git alongside a Foundry application prompt?
Also asked as 2
- What belongs in a Git revision for a prompt used by a Foundry application?
- Which files and evidence let me reproduce a Foundry prompt revision?
Answer
Version the prompt with the configuration that makes it behave the way you evaluated it. Include the deployment name and resolved model version when available, generation settings, input assembly, retrieval or tool configuration that affects the prompt, and the output contract or parser revision. Store exact prompt text or a controlled revision reference.
Attach an immutable dataset reference or content digest, evaluation configuration, and the reviewed comparison results. Keep both the released revision and the previous accepted bundle identifiable so release owners can reproduce the comparison or restore a compatible version.
Use references to access-controlled datasets and generated evidence when those assets contain sensitive records. These are repository conventions your application team defines. Keep credentials and sensitive data out of ordinary Git history.
Manage prompts for agents in Microsoft Foundry with GitHub - Training | Microsoft Learn · Apply version control to prompts - Training | Microsoft Learn · Organize prompts in GitHub repositories - Training | Microsoft Learn
Full explanation
AI-300: Versioning Prompts and Comparing Variants with Git
Study guide · AI-300
Read the full explanation