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.

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.

Related Terms