liveBook · Manning

Persona

As explained in WordPress Power Toolkit: Harness AI to build next-level websites

A prompt role is the persona, perspective, or function assigned to an artificial-intelligence system within a prompt.

A persona assigns the AI a role or perspective that helps shape its response. Role is one of four core prompt elements, alongside job, context, and format. section 1.5

Try assigning a role

“You are an experienced professional site designer. Help me brainstorm titles for my new website.” The role sets a professional perspective; the rest of the prompt can specify the task, audience, and desired format. section 1.5.5

A role can also be saved as a reusable instruction. For example, a prompt can ask the AI to act as an expert nonfiction editor when a message begins with “:Edit:”. section 4.2

How WordPress Power Toolkit: Harness AI to build next-level websites covers it

How deep it goes
Defines role as a core prompt element and demonstrates it in reusable instructions and a complete example prompt.
Examples
Uses an expert nonfiction editor and an experienced professional site designer as assigned roles.
What you can do after
Apply it by assigning the AI a role before describing the task and the response you want.
How it connects
Combines role with job, context, and format as elements of a prompt.

Also explained in

Compare how 7 books explain persona →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of WordPress Power Toolkit: Harness AI to build next-level websites. The section links point to the parts of the book it draws on.