Prompt engineering in PromptPlan
Prompt engineering here means building templates that produce reliable outcomes across changing inputs.
Basic techniques
- Role framing: define perspective or job
- Structured output: request fixed sections
- Constraints: set boundaries and exclusions
- Input segmentation: separate context fields cleanly
Example
Instead of one large block, split fields into:
business_goalconstraintssource_material
This gives better control and debuggability.
What to track
Use run history to observe:
- failure patterns
- overlong outputs
- repeated ambiguity
Then refine prompt instructions accordingly.