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.
- 12 lessons
0 of 12 lessons passed
Lessons
Progress and your code are kept in this browser only.
- Filter retrieval permissions before selecting context
- Fuse retriever rankings without comparing incompatible scores
- Chunk token identities without losing the tail
- Reserve output space before adding retrieval context
- Evaluate retrieval with relevance and rank
- Reject citations outside the supplied evidence set
- Authorize a tool call outside the model
- Bind approval to the exact proposed arguments
- Stop an agent loop before exceeding its execution budget
- Version AI cache entries by permission and model context
- Gate AI changes on a versioned evaluation suite
- Keep retrieved text out of the instruction role