Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Principles of Effective Prompting | Foundations of Prompt Engineering
Prompt Engineering Basics

bookPrinciples of Effective Prompting

To create effective prompts, you need to follow four key principles:

  • Clarity;
  • Specificity;
  • Context;
  • Role assignment.

Clarity means using unambiguous language. Specificity involves providing detailed instructions. Context gives the AI background information. Role assignment tells the AI to respond as a particular expert or persona.

Example

As a professional nutritionist, list three healthy breakfast options for children aged 3 to 6. This prompt is clear (asks for three options), specific (healthy breakfast for children), provides context (children aged 3 to 6), and assigns a role (professional nutritionist).

question mark

Which principle is demonstrated by asking the AI to "act as a professional nutritionist"

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 11.11

bookPrinciples of Effective Prompting

Swipe to show menu

To create effective prompts, you need to follow four key principles:

  • Clarity;
  • Specificity;
  • Context;
  • Role assignment.

Clarity means using unambiguous language. Specificity involves providing detailed instructions. Context gives the AI background information. Role assignment tells the AI to respond as a particular expert or persona.

Example

As a professional nutritionist, list three healthy breakfast options for children aged 3 to 6. This prompt is clear (asks for three options), specific (healthy breakfast for children), provides context (children aged 3 to 6), and assigns a role (professional nutritionist).

question mark

Which principle is demonstrated by asking the AI to "act as a professional nutritionist"

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3
some-alt