BooleanIQ / Learn

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.

  1. 601Chat app or API: how products are built on modelsThe model as a service; what an "AI startup" actually buildsRead lessonKnowCore path
  2. 602Prompts as engineering: system prompts, templates, versionsA prompt in a product is code: written, tested, versionedOutline · coming soonKnow
  3. 603Structured output: making AI fill a formSchemas instead of essays; why software needs themOutline · coming soonKnow
  4. 604One big task, many small stepsChains and workflows; several tries and a voteOutline · coming soonKnow
  5. 605Prompting a model that thinksEffort levels, when more thinking helps, when it only costsOutline · coming soonDo
  6. 606Context engineering: what goes on the deskChoosing, ordering, trimming and caching what the model sees; context rotOutline · coming soonKnowCore path
  7. 607Search by meaning: embeddings at workEmbedding models, similarity, vector databases, keyword plus meaningOutline · coming soonKnowCore path
  8. 608RAG: giving AI your own documentsRetrieve, then answer with citations; chunks; the pipelineOutline · coming soonKnowCore path
  9. 609Why RAG fails, and the fixesReranking, rewriting the question, filters, graphs, agents that search, pictures and tablesOutline · coming soonKnow
  10. 610RAG, long context or fine-tuning: which one whenThree ways to give a model knowledge, compared honestlyOutline · coming soonKnowCore path
  11. 611Evaluation: how do you know your AI app worksTest sets, AI as a judge, people as judges, reading the errorsOutline · coming soonKnowCore path
  12. 612Guardrails: keeping an AI app inside the linesInput and output checks, moderation, refusing wellOutline · coming soonSafe
  13. 613Prompt injection and jailbreaks: how AI apps are attackedInstructions hidden in data; leaks; the standard threat listOutline · coming soonSafeCore path
  14. 614Cost and speed: tokens, caching, routingWhere the money and the seconds go, and the four leversOutline · coming soonKnow
  15. 615Designing AI products people trustThe project cycle, the interface, a person in the loop, the teamOutline · coming soonKnow
  16. 616Where an AI app keeps things: databases, files, vector stores, memoryThe model stores nothing; five places the app does, and who can read eachOutline · coming soonKnow
  17. 6B1Builder: your first API callKeys, messages, a system prompt, streaming, the billOutline · coming soonBuild
  18. 6B2Builder: structured output and extractionA schema, validation, retriesOutline · coming soonBuild
  19. 6B3Builder: RAG from scratchChunk, embed, store, retrieve, answer with citationsOutline · coming soonBuild
  20. 6B4Builder: make RAG betterHybrid search, a reranker, measured before and afterOutline · coming soonBuild
  21. 6B5Builder: an evaluation harnessA dataset, a judge, a regression test that runs on every changeOutline · coming soonBuild
  22. 6B6Builder: attack and defendA prompt injection lab against your own appOutline · coming soonBuild