Execution flow
When you run a template, PromptPlan:
- Validates required fields
- Replaces placeholders with provided values
- Builds final prompt text
- Executes the run
- Stores output and metadata in run history
Validation behavior
Before execution, PromptPlan checks:
- required fields are present
- select values are valid options
- inputs follow field constraints
Run output
Each run returns:
- generated output text
- model used (if available)
- timestamp
- input values snapshot
Example
Template body:
text
Write a concise brief for {{audience}}.
Context:
{{source_text}}Input values are merged at run time, creating one final prompt instance.