Loading topic
string.Template and validate its variables, as covered in the previous chapter. You should also know that a prompt is plain text sent to a model.3 min readstring.Template. It covers how to move prompt text out of your source files and load it back safely.3 min readprompts/<name>/<version>.yaml. It also assumes you can read basic Python and YAML and know how git revert works.3 min readprompts/<name>/<version>.yaml with a changelog, and that you have a small regression suite like the one from the testing chapter. Python 3.11 or later is needed for the code below.3 min read