Skip to content

directives

Dewayne VanHoozer edited this page Feb 19, 2024 · 1 revision

Within a prompt file any line that starts with "//" is considered to be a directive. Directives are processed after parameter substitution and envar substitution. That means that within the prompt file itself these directives can change at runtime based upon the values provided by the parameters and the envars.

There are two kinds of directives those that effect the configuration and those that effect the actual prompt text to be processed by the backend through an LLM.

Clone this wiki locally