Guides ยท Technology
Prompt Engineering Basics
Get better LLM outputs
Prompt engineering uses clear roles, instructions, constraints, and examples, plus iterative refinement and evaluation, to steer LLM outputs to desired quality.
- role
- constraints
- examples
- evaluation
- guardrails
Set the Frame
Define role, goal, and constraints explicitly in the prompt.
Show Examples
Provide input-output pairs or steps to guide style and structure.
Test and Refine
Try variations, add checks, and evaluate outputs against criteria.