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.

Level: beginnerTopic: Prompt context engineering

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

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.