{
  "name": "AI For Engineers, Part 1: Core AI Foundations, Neural Networks, Tokens & Prompts",
  "badge": "AI FOR ENGINEERS · PART 01 / 09",
  "children": [
    {
      "name": "Ch. 01: Welcome to the Engineering View",
      "children": [
        {
          "name": "Core Principle: Welcome."
        },
        {
          "name": "Welcome to the Engineering View",
          "children": [
            {
              "name": "Welcome."
            },
            {
              "name": "Rule / Formula: 01. Welcome to the Engineering View"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Today we will connect the ideas behind artificial intelligence to the decisions you will make as an engineer."
            },
            {
              "name": "Rule / Formula: 01. Welcome to the Engineering View"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "We will move from neural networks to large language models, follow text as it becomes tokens, and build a useful prompt."
            },
            {
              "name": "Rule / Formula: 01. Welcome to the Engineering View"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 02: Terms You'll Hear",
      "children": [
        {
          "name": "Core Principle: Before we trace the history, here are six core terms you will hear throughout this briefing."
        },
        {
          "name": "Terms You'll Hear",
          "children": [
            {
              "name": "Before we trace the history, here are six core terms you will hear throughout this briefing."
            },
            {
              "name": "Rule / Formula: 02. Terms You'll Hear"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "A large language model, or LLM, is a language-focused neural network trained at large scale."
            },
            {
              "name": "Rule / Formula: 02. Terms You'll Hear"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "A neural network is a layered mathematical system that transforms numerical inputs into outputs."
            },
            {
              "name": "Rule / Formula: 02. Terms You'll Hear"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 03: A Short History",
      "children": [
        {
          "name": "Core Principle: Artificial intelligence did not begin with chatbots."
        },
        {
          "name": "A Short History",
          "children": [
            {
              "name": "Artificial intelligence did not begin with chatbots."
            },
            {
              "name": "Rule / Formula: 03. A Short History"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "The Dartmouth proposal of 1955 named a research program for the summer of 1956."
            },
            {
              "name": "Rule / Formula: 03. A Short History"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Early approaches included explicit rules and symbolic reasoning."
            },
            {
              "name": "Rule / Formula: 03. A Short History"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 04: What a Neural Network Computes",
      "children": [
        {
          "name": "Core Principle: A neural network transforms numbers through connected stages."
        },
        {
          "name": "What a Neural Network Computes",
          "children": [
            {
              "name": "A neural network transforms numbers through connected stages."
            },
            {
              "name": "Rule / Formula: 04. What a Neural Network Computes"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "A simple neuron multiplies its inputs by learned weights, adds a bias, and applies an activation function."
            },
            {
              "name": "Rule / Formula: 04. What a Neural Network Computes"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "The activation introduces nonlinearity, allowing the network to represent relationships that a single linear calculation cannot."
            },
            {
              "name": "Rule / Formula: 04. What a Neural Network Computes"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 05: How the Network Learns",
      "children": [
        {
          "name": "Core Principle: Training changes the model's parameters."
        },
        {
          "name": "How the Network Learns",
          "children": [
            {
              "name": "Training changes the model's parameters."
            },
            {
              "name": "Rule / Formula: 05. How the Network Learns"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "First, the network makes a prediction."
            },
            {
              "name": "Rule / Formula: 05. How the Network Learns"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "A loss function measures how far that prediction is from the training objective."
            },
            {
              "name": "Rule / Formula: 05. How the Network Learns"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 06: Where LLMs Fit",
      "children": [
        {
          "name": "Core Principle: A large language model is a language-focused model trained at substantial scale."
        },
        {
          "name": "Where LLMs Fit",
          "children": [
            {
              "name": "A large language model is a language-focused model trained at substantial scale."
            },
            {
              "name": "Rule / Formula: 06. Where LLMs Fit"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Many widely used generative LLMs are deep neural networks built from Transformer blocks."
            },
            {
              "name": "Rule / Formula: 06. Where LLMs Fit"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "In a common decoder-only model, training includes predicting the next token from earlier tokens."
            },
            {
              "name": "Rule / Formula: 06. Where LLMs Fit"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 07: Layers, Width, Parameters, and Tokens",
      "children": [
        {
          "name": "Core Principle: Now separate four quantities."
        },
        {
          "name": "Layers, Width, Parameters, and Tokens",
          "children": [
            {
              "name": "Now separate four quantities."
            },
            {
              "name": "Rule / Formula: 07. Layers, Width, Parameters, and Tokens"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Depth is the number of stacked processing blocks."
            },
            {
              "name": "Rule / Formula: 07. Layers, Width, Parameters, and Tokens"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Width describes the size of their internal representations."
            },
            {
              "name": "Rule / Formula: 07. Layers, Width, Parameters, and Tokens"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 08: How Text Becomes Tokens",
      "children": [
        {
          "name": "Core Principle: Before text enters the model, a tokenizer converts it into discrete pieces."
        },
        {
          "name": "How Text Becomes Tokens",
          "children": [
            {
              "name": "Before text enters the model, a tokenizer converts it into discrete pieces."
            },
            {
              "name": "Rule / Formula: 08. How Text Becomes Tokens"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "A token may represent a word, part of a word, punctuation, or bytes."
            },
            {
              "name": "Rule / Formula: 08. How Text Becomes Tokens"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Byte pair encoding is one common approach."
            },
            {
              "name": "Rule / Formula: 08. How Text Becomes Tokens"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 09: From Tokens to Representations",
      "children": [
        {
          "name": "Core Principle: Each token is mapped to an integer identifier in the vocabulary."
        },
        {
          "name": "From Tokens to Representations",
          "children": [
            {
              "name": "Each token is mapped to an integer identifier in the vocabulary."
            },
            {
              "name": "Rule / Formula: 09. From Tokens to Representations"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "That identifier is a lookup key, not a score of importance or meaning."
            },
            {
              "name": "Rule / Formula: 09. From Tokens to Representations"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "The model looks up a learned embedding: a vector of numbers representing that token."
            },
            {
              "name": "Rule / Formula: 09. From Tokens to Representations"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 10: Inside a Transformer Block",
      "children": [
        {
          "name": "Core Principle: Inside a typical Transformer block, attention mixes information across token positions."
        },
        {
          "name": "Inside a Transformer Block",
          "children": [
            {
              "name": "Inside a typical Transformer block, attention mixes information across token positions."
            },
            {
              "name": "Rule / Formula: 10. Inside a Transformer Block"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "It computes numerical comparisons, then uses the resulting weights to combine information from the available context."
            },
            {
              "name": "Rule / Formula: 10. Inside a Transformer Block"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Multiple attention heads can capture different relationships."
            },
            {
              "name": "Rule / Formula: 10. Inside a Transformer Block"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 11: Generation and the Context Window",
      "children": [
        {
          "name": "Core Principle: To generate an answer, the model calculates scores for possible next tokens."
        },
        {
          "name": "Generation and the Context Window",
          "children": [
            {
              "name": "To generate an answer, the model calculates scores for possible next tokens."
            },
            {
              "name": "Rule / Formula: 11. Generation and the Context Window"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "These become a probability distribution, and a decoding rule selects a token."
            },
            {
              "name": "Rule / Formula: 11. Generation and the Context Window"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "The selected token is added to the sequence, and generation continues."
            },
            {
              "name": "Rule / Formula: 11. Generation and the Context Window"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 12: A Practical Prompt Structure",
      "children": [
        {
          "name": "Core Principle: A useful prompt answers four questions."
        },
        {
          "name": "A Practical Prompt Structure",
          "children": [
            {
              "name": "A useful prompt answers four questions."
            },
            {
              "name": "Rule / Formula: 12. A Practical Prompt Structure"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Role: what perspective should the assistant use? Context: what information, constraints, and audience should it consider? Task: what exactly should it produce or decide? Format: how should the answer be organized? You might request a table, a concise explanation, or a checklist."
            },
            {
              "name": "Rule / Formula: 12. A Practical Prompt Structure"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Add an example when the desired result is hard to describe."
            },
            {
              "name": "Rule / Formula: 12. A Practical Prompt Structure"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 13: An Engineering Prompt, Assembled",
      "children": [
        {
          "name": "Core Principle: Here is a complete example."
        },
        {
          "name": "An Engineering Prompt, Assembled",
          "children": [
            {
              "name": "Here is a complete example."
            },
            {
              "name": "Rule / Formula: 13. An Engineering Prompt, Assembled"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Role: act as a reliability engineer reviewing a prototype pump."
            },
            {
              "name": "Rule / Formula: 13. An Engineering Prompt, Assembled"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Context: use the attached test log and supplied acceptance criteria for a new design team."
            },
            {
              "name": "Rule / Formula: 13. An Engineering Prompt, Assembled"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 14: Evaluate and Improve the Result",
      "children": [
        {
          "name": "Core Principle: A good prompt is the start of an engineering process."
        },
        {
          "name": "Evaluate and Improve the Result",
          "children": [
            {
              "name": "A good prompt is the start of an engineering process."
            },
            {
              "name": "Rule / Formula: 14. Evaluate and Improve the Result"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Check that the answer follows the requested format."
            },
            {
              "name": "Rule / Formula: 14. Evaluate and Improve the Result"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Trace factual claims back to the supplied evidence."
            },
            {
              "name": "Rule / Formula: 14. Evaluate and Improve the Result"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 15: The Engineer's Mental Model",
      "children": [
        {
          "name": "Core Principle: Remember the chain: text becomes tokens, tokens become numerical representations, and a trained network computes the continuation."
        },
        {
          "name": "The Engineer's Mental Model",
          "children": [
            {
              "name": "Remember the chain: text becomes tokens, tokens become numerical representations, and a trained network computes the continuation."
            },
            {
              "name": "Rule / Formula: 15. The Engineer's Mental Model"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Layers describe the model's architecture; they do not grow with your prompt."
            },
            {
              "name": "Rule / Formula: 15. The Engineer's Mental Model"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Your practical controls are role, context, task, and format."
            },
            {
              "name": "Rule / Formula: 15. The Engineer's Mental Model"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 16: Backup: Training, Pre-Training & Inference",
      "children": [
        {
          "name": "Core Principle: Welcome to the optional backup glossary."
        },
        {
          "name": "Backup: Training, Pre-Training & Inference",
          "children": [
            {
              "name": "Welcome to the optional backup glossary."
            },
            {
              "name": "Rule / Formula: 16. Backup Glossary: Training, Pre-Training, and Inference"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "First, let us distinguish training, pre-training, and inference."
            },
            {
              "name": "Rule / Formula: 16. Backup Glossary: Training, Pre-Training, and Inference"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Training is any process that updates model parameters to reduce error."
            },
            {
              "name": "Rule / Formula: 16. Backup Glossary: Training, Pre-Training, and Inference"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 17: Backup: Three Learning Categories",
      "children": [
        {
          "name": "Core Principle: Machine learning is often grouped into three broad categories."
        },
        {
          "name": "Backup: Three Learning Categories",
          "children": [
            {
              "name": "Machine learning is often grouped into three broad categories."
            },
            {
              "name": "Rule / Formula: 17. Backup Glossary: Three Learning Categories"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Supervised learning uses examples paired with target labels, such as sensor traces labeled pass or fail."
            },
            {
              "name": "Rule / Formula: 17. Backup Glossary: Three Learning Categories"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Unsupervised learning finds structure in unlabeled data, such as clustering similar pump operating patterns."
            },
            {
              "name": "Rule / Formula: 17. Backup Glossary: Three Learning Categories"
            }
          ]
        }
      ]
    },
    {
      "name": "Ch. 18: Backup: Skills, Agents & Persistent Agents",
      "children": [
        {
          "name": "Core Principle: Finally, separate model weights from workflow wrappers."
        },
        {
          "name": "Backup: Skills, Agents & Persistent Agents",
          "children": [
            {
              "name": "Finally, separate model weights from workflow wrappers."
            },
            {
              "name": "Rule / Formula: 18. Backup Glossary: Skills, Agents, and Persistent Agents"
            }
          ]
        },
        {
          "name": "Operational Rule 2",
          "children": [
            {
              "name": "Skills are reusable instructions, procedures, and optional tools that help an assistant perform a task consistently, such as a repeatable engineering review procedure; they are not newly trained neural network weights."
            },
            {
              "name": "Rule / Formula: 18. Backup Glossary: Skills, Agents, and Persistent Agents"
            }
          ]
        },
        {
          "name": "Operational Rule 3",
          "children": [
            {
              "name": "Agents combine a model with tools and a control loop to work toward a goal across steps, such as inspecting a test log, checking calculations, and drafting a report."
            },
            {
              "name": "Rule / Formula: 18. Backup Glossary: Skills, Agents, and Persistent Agents"
            }
          ]
        }
      ]
    }
  ]
}
