📚 Glossary
Prompt engineering
In one line: The discipline of writing AI prompts that consistently produce good answers. Includes techniques like few-shot, CoT, and role assignment.
Prompt engineering is the practice of crafting AI prompts to consistently produce high-quality answers. It's part skill, part science, part dark art.
Common techniques:
- Few-shot — give 2-5 examples of the desired input/output before asking your real question.
- Chain of thought — ask the model to think step by step.
- Role assignment — 'You are a senior copywriter...' often improves tone.
- Format specification — explicit JSON / table / numbered list requests.
- Constraint-driven — 'Use no jargon', 'Under 200 words'.
Good prompts compound: a saved prompt template can be used hundreds of times. AskAI.free Pro includes a saved prompts library for this reason.
See it in action — ask any AI about prompt engineering on AskAI.free.
Try it free →