Skip to content
Sabaqاردو

Prompt Engineering for Beginners (freeCodeCamp)

By freeCodeCamp.org

Course audio
Course audio: English
Level
Beginner
Length
13 lessons · 0.7 hours

What you'll be able to do

  • Write clear prompts with context and examples
  • Spot and reduce AI hallucinations

About this course

A short course from freeCodeCamp, taught by Ania Kubów, on getting useful answers from AI chat tools: what prompt engineering is, a quick tour of AI, machine learning and language models, the prompt engineering mindset, using GPT-4, best practices, zero-shot and few-shot prompts, AI hallucinations, and text embeddings. About 40 minutes across 13 chapters. A good first step before using AI tools at work or in freelance projects.

Before you start: None

Syllabus

13 lessons · 41:36 in total

  1. 1Introduction1:31
  2. 2What is Prompt Engineering?0:46
  3. 3Introduction to AI1:35
  4. 4Why is Machine learning useful?2:44
  5. 5Linguistics1:28
  6. 6Language Models6:31
  7. 7Prompt Engineering Mindset1:03
  8. 8Using GPT-45:03
  9. 9Best practices10:39
  10. 10Zero shot and few shot prompts3:46
  11. 11AI hallucinations1:37
  12. 12Vectors/text embeddings3:45
  13. 13Recap1:08

What to take next

Videos by freeCodeCamp.org, played from their official YouTube channel. Subscribe on YouTube

Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.

Lessons last checked Oct 2026. Course summary and lesson structure by Sabaq.

Report a problem or a rights request