AI from the ground up / Level 600
How are AI apps built?
You understand what sits between a model and a product: prompts as engineering, context, retrieval and evaluation.
- 601Chat app or API: how products are built on modelsThe model as a service; what an "AI startup" actually builds
- 602Prompts as engineering: system prompts, templates, versionsA prompt in a product is code: written, tested, versioned
- 603Structured output: making AI fill a formSchemas instead of essays; why software needs them
- 604One big task, many small stepsChains and workflows; several tries and a vote
- 605Prompting a model that thinksEffort levels, when more thinking helps, when it only costs
- 606Context engineering: what goes on the deskChoosing, ordering, trimming and caching what the model sees; context rot
- 607Search by meaning: embeddings at workEmbedding models, similarity, vector databases, keyword plus meaning
- 608RAG: giving AI your own documentsRetrieve, then answer with citations; chunks; the pipeline
- 609Why RAG fails, and the fixesReranking, rewriting the question, filters, graphs, agents that search, pictures and tables
- 610RAG, long context or fine-tuning: which one whenThree ways to give a model knowledge, compared honestly
- 611Evaluation: how do you know your AI app worksTest sets, AI as a judge, people as judges, reading the errors
- 612Guardrails: keeping an AI app inside the linesInput and output checks, moderation, refusing well
- 613Prompt injection and jailbreaks: how AI apps are attackedInstructions hidden in data; leaks; the standard threat list
- 614Cost and speed: tokens, caching, routingWhere the money and the seconds go, and the four levers
- 615Designing AI products people trustThe project cycle, the interface, a person in the loop, the team
- 616Where an AI app keeps things: databases, files, vector stores, memoryThe model stores nothing; five places the app does, and who can read each
- 6B1Builder: your first API callKeys, messages, a system prompt, streaming, the bill
- 6B2Builder: structured output and extractionA schema, validation, retries
- 6B3Builder: RAG from scratchChunk, embed, store, retrieve, answer with citations
- 6B4Builder: make RAG betterHybrid search, a reranker, measured before and after
- 6B5Builder: an evaluation harnessA dataset, a judge, a regression test that runs on every change
- 6B6Builder: attack and defendA prompt injection lab against your own app