AI & transformers · Course 4 of 8

AI: retrieval, tool boundaries and evaluation

Twelve engineering contracts for permission-aware retrieval, fusion, context budgets, retrieval metrics, citation checks, authorized tools, approval identity, bounded agent loops, versioned caches, evaluation gates and prompt-data separation. No model service or API key is required.

0 of 12 lessons passed

Start lesson 1

Lessons

Progress and your code are kept in this browser only.

  1. Filter retrieval permissions before selecting context
  2. Fuse retriever rankings without comparing incompatible scores
  3. Chunk token identities without losing the tail
  4. Reserve output space before adding retrieval context
  5. Evaluate retrieval with relevance and rank
  6. Reject citations outside the supplied evidence set
  7. Authorize a tool call outside the model
  8. Bind approval to the exact proposed arguments
  9. Stop an agent loop before exceeding its execution budget
  10. Version AI cache entries by permission and model context
  11. Gate AI changes on a versioned evaluation suite
  12. Keep retrieved text out of the instruction role

All courses