AI
💻 For developers

Intro to AI

Neural networks, LLMs, and hands-on practice with APIs

What you'll build
📘A solid foundation
⚡Practice in the browser
🎯Mini-projects
🎓Course certificate
📘 29 lessons⏱ 1-2 evenings🎓 Advanced
🎯 Mission
Master Intro to AI
⚡+340XP
🏆CertificatePDF
🎓Course complete
Progress0 / 29 · 0%
Next up: What is AI

Course program

01

What is AI

0 / 5 lessons
⌄
  1. 01

    What is AI

    A definition of AI•Machine learning•Where it's applied⚡ +10
    ▶ Now
  2. 02

    Tokens and context

    What a token is•The context window•No memory⚡ +10
    Open
  3. 03

    Temperature and creativity

    The temperature parameter•Determinism•Tuning examples⚡ +10
    Open
  4. 04

    Can the model be wrong?

    Hallucination•Limits of trust•Why verification matters⚡ +10
    🔒 Pro
  5. 05

    What does an LLM do well and poorly?

    LLM strengths•LLM limitations•Where to use it⚡ +10
    🔒 Pro
02

Good prompts

0 / 6 lessons
⌄
  1. 06

    Anatomy of a good prompt

    What you ask for•In what format•In what tone⚡ +10
    🔒 Pro
  2. 07

    Specificity and context

    Why specificity matters•Adding context•Examples⚡ +10
    🔒 Pro
  3. 08

    Refining instructions

    Adding constraints•Controlling length•Output format⚡ +10
    🔒 Pro
  4. 09

    Assigning a role in a prompt

    What a role is•Changing the tone•Role examples⚡ +10
    🔒 Pro
  5. 10

    Prompt-writing practice

    Iteration•Improving the prompt•Evaluating the result⚡ +10
    🔒 Pro
  6. 11

    Prompt templates

    What a template is•Variables in a template•Reuse⚡ +10
    🔒 Pro
03

System messages and roles

0 / 5 lessons
⌄
  1. 12

    What is a system message

    The system parameter•system vs user difference•Usage examples⚡ +10
    🔒 Pro
  2. 13

    A system message for JSON format

    A JSON instruction•Requesting JSON from the model•Reading at the text level⚡ +10
    🔒 Pro
  3. 14

    Tuning tone via a system message

    Formal tone•Friendly tone•Technical tone⚡ +10
    🔒 Pro
  4. 15

    Setting constraints via a system message

    Don't talk about X•Only about X•Safety⚡ +10
    🔒 Pro
  5. 16

    Sending multiple messages with a system message

    Multiple requests•System + user•Keeping context⚡ +10
    🔒 Pro
04

Few-shot examples

0 / 5 lessons
⌄
  1. 17

    What is few-shot

    Teaching by example•Zero-shot vs few-shot•Examples in the prompt⚡ +10
    🔒 Pro
  2. 18

    Sentiment analysis (few-shot)

    Positive / negative•Examples in the prompt•NLP basics⚡ +10
    🔒 Pro
  3. 19

    Few-shot: word translation

    Language translation•Examples in the prompt•Paired examples⚡ +10
    🔒 Pro
  4. 20

    Controlling the number of few-shot examples

    1-shot, 3-shot, 5-shot•Context budget•Balance⚡ +10
    🔒 Pro
  5. 21

    Few-shot: a classification task

    What classification is•Defining categories•Examples in the prompt⚡ +10
    🔒 Pro
05

Structured output (JSON)

0 / 4 lessons
⌄
  1. 22

    Why does the JSON format matter?

    Free-text limitations•What the JSON format is•Requesting JSON from the model⚡ +10
    🔒 Pro
  2. 23

    Getting JSON from the model

    Requesting JSON•Printing the answer•Controlling the format⚡ +10
    🔒 Pro
  3. 24

    Using JSON output in a project

    A real example•Inserting the answer into an f-string•Outputting data⚡ +10
    🔒 Pro
  4. 25

    Requesting multiple items in JSON format

    Requesting a list format•Printing the answer•A real project example⚡ +10
    🔒 Pro
06

Prompt patterns and chaining

0 / 4 lessons
⌄
  1. 26

    Prompt chaining

    What chaining is•Sequential requests•Passing the result⚡ +10
    🔒 Pro
  2. 27

    The ReAct pattern: reason and act

    What ReAct is•Reasoning + action•Step-by-step solving⚡ +10
    🔒 Pro
  3. 28

    Mini project: a content generator

    Topic → content•A chain of prompts•Formatting the result⚡ +10
    🔒 Pro
  4. 29

    Mini project: a simple chatbot

    System + multiple requests•Running a dialogue•The full scheme
    Course complete
    🔒 Pro