List of PromptML Annotations

This document lists all available block annotations in the Prompt Markup Language.

All of these below block annotations will end with @end annotation.

Name description type
@prompt Parent of all other annotations compound
@instructions A group of instructions to follow compound
@vars Variable definition block simple
@metadata Custom properties about task simple
@context The context of a task text
@objective The end goal of a task text
@step A single instruction text
@constraints Prompt constraints block text
@length Length constraints text
@tone Tone constraint text
@difficulty Task difficulty level text