Index

Module 05 · AIThe loop and its harness

Guardrails, Cost and Latency (the three budgets the harness enforces)

Guardrails Cost and Latency
Guardrails Cost and Latency · Open board

Building with LLMs. The last board of the run. “Evals for Apps” (Evals for Apps (the test suite for a program that is a string)) built the instrument that says whether a reply is right. This board asks the three questions that come after right: what the app may do, what it may spend, and how long it may take.

The returns desk is a support assistant built on a large language model (LLM) - software trained to read and write text - that helps an online shop’s customers look up an order and start a return.

Before you start. Every reply from the returns desk starts from the window, the block of text the model reads before it answers, and its only action besides replying is a tool call: asking a program to run one exact, named action, like looking up an order. The harness is the ordinary code wrapped around the model that holds the window together and cannot be seen or argued with by the model - every check in this lesson lives there, never in a sentence of the prompt.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Related paper

Review AI →

Saved in this browser, and to your account when you sign in.