Skip to main content
← All courses
🤖

Learn AI: Build with LLMs

JavaScript

Understand how large language models actually work and learn to prompt, structure messages, and design AI features — through hands-on code.

Your progress

0/11 complete

Start → What Is an LLM? (Tokens)
  1. 1

    What Is an LLM? (Tokens)

    Models read text as tokens, not words.

    ⚡ 25
  2. 2

    Prompt Engineering Basics

    Give the model a role and a clear task.

    ⚡ 30
  3. 3

    The Chat Messages Format

    How conversations are sent to an API.

    ⚡ 30
  4. 4

    Few-Shot Prompting

    Teach by example inside the prompt.

    ⚡ 35
  5. 5

    System Prompts & Requests

    Assemble a real API request object.

    ⚡ 35
  6. 6

    Temperature & Sampling

    Control how creative the model is.

    ⚡ 30
  7. 7

    Estimating Cost

    Tokens are billed per million.

    ⚡ 35
  8. 8

    The Context Window

    Models can only see so much at once.

    ⚡ 35
  9. 9

    Embeddings & Similarity

    How semantic search ranks results.

    ⚡ 45
  10. 10

    Chunking for RAG

    Split documents before embedding them.

    ⚡ 40
  11. 11

    Tool / Function Calling

    Describe a tool the model can call.

    ⚡ 40