AI engineering glossary · Prompt context engineering
What is role prompting?
Role prompting (also called Persona prompting): Telling the model to act as a specific kind of expert or character, such as an auditor or a teacher, to shape tone, vocabulary and focus. It is a quick way to set style, though it does not add knowledge the model lacks.
Role prompting: an example
Start with 'You are a chartered accountant explaining TDS to a first-time freelancer in simple language.'
Related terms
More Prompt context engineering terms
- Rolling summary
- Schema-constrained generation
- Scratchpad
- Seed parameter
- Self-ask
- Self-consistency
- Self-refine
- Skeleton-of-Thought
Where you learn it
Role prompting is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.