> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goodfire.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dynamic Prompts

By using [Feature Inspection and Contrasting](/sdk-reference/features) we can build a model that dynamically changes its instructions based on the user's prompt.

In this example, we'll build a model that dynamically changes its instructions based on if the user is asking for code to be written or not.

<a href="https://colab.research.google.com/drive/1pIvdetWgr1EsiIV6SRe4KE4gT97xzogX#scrollTo=XdmgynVO93kU" target="_blank">
  <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab" width="200px" style={{ pointerEvents: "none" }} />
</a>
