Basics of Prompting

Unlock the full potential of AI by mastering the three pillars: Context, Task, and Persona.

prompt-structure.json
{
"Context": "Background Info",
"Task": "Specific Action",
"Persona": "Voice/Role"
}
prompt-engine.json
1 / 8
🤖

Tutor:Welcome to Prompt Engineering. To get the best results from AI, you can't just 'ask'. You need to structure your request. The three pillars of a perfect prompt are: Context, Task, and Persona.


Prompt Engineering

Unlock nodes by mastering the 3 Pillars of Prompting.

Concept 1: What is a Prompt?

A prompt is the set of instructions you give to an AI. The quality of your prompt determines the quality of the result. To get professional marketing copy, you must structure your prompt like a project brief, not a Google search.

System Check

What is the most common mistake beginners make with prompting?


Community Prompt Library

Share Your Mega-Prompts

Crafted a perfect prompt? Share your Context/Task/Persona structure with the community.

Basics of Prompting: Context, Task, & Persona

Author

Pascual Vila

Marketing Instructor.

In the world of Generative AI, the quality of your output is directly determined by the quality of your input. This input is called a Prompt. To master marketing with AI, you must move beyond simple questions and start engineering prompts using three structural pillars.

1. Context (The Background)

AI models don't know your business. Context provides the necessary background information. It answers the "Who, Where, and Why." Without context, the AI will make generic assumptions.
Example: "I sell organic skincare to millennials in urban areas."

2. Task (The Action)

The Task is the specific command you are giving. It must be unambiguous. Vague tasks like "write something" lead to vague results. Specific tasks include constraints, formats, and lengths.
Example: "Write a 150-word Instagram caption with 3 emojis and a call to action."

3. Persona (The Voice)

Persona dictates the style, tone, and perspective of the output. By assigning a role to the AI, you force it to adopt specific vocabulary and thinking patterns.
Example: "Act as a sarcastic Gen Z fashion influencer." vs "Act as a professional dermatologist."

Prompt Engineering Glossary

Prompt
The text input given to an AI model to generate a specific response. It is the interface between human intent and machine output.
Zero-shot Prompting
Asking the AI to perform a task without providing any examples of the desired output.
Few-shot Prompting
Providing a few examples (shots) of the desired input-output pair within the prompt to guide the AI's behavior.
Hallucination
When an AI generates information that sounds plausible but is factually incorrect or nonsensical. Good context reduces hallucinations.