Citations & Grounding
citations
Practice Problems
Evidence Region Validator
Validate a model-proposed page-region citation against trusted document metadata: the revision, a zero-based page index, and a normalized rectangle of finite numbers, then return a new minimal record or the exact error of the first failed check.
AI Engineering
Explain retrieval vs. generation
Explain how documents become evidence for a generated answer, and why an answer can be wrong even when it cites a real document.
Diagnose a missing document
Trace a missing policy exception through ingestion, eligibility, and context packing without weakening access rules.
Design a cited support assistant with measurable quality
Design a support assistant that answers from help articles with citations the customer may see, or hands off to a human. Turn its requirements into metrics, plan its evaluation set, keep it fresh through updates and deletion, and check its token, cost, and latency budgets.
Design multi-tenant RAG with deletion
Design a private multi-tenant policy assistant whose answers and citations stay correct through asynchronous updates, retries, permission changes, and deletion.
Design a resilient streaming chat
Design a streaming interview-practice chat that keeps one answer correct across reconnects, several open tabs, and cancellation races, checks citations against current access, and never repeats its booking tool during recovery.
Handle an uncertain screenshot
Route a blurry code screenshot and a mixed PDF to suitable extraction methods, and explain the result with evidence the user can check and honest uncertainty.
Validate page-region citations
Implement a validator for page-region citations and predict its result on fixed cases. Then design extraction for a mixed PDF with a rotated scan and a table split across two pages.
Design a verifiable document and media pipeline
Design a pipeline that turns a partly scanned course pack and a lesson recording into cited study material, tracking coverage, transforms, and cross-modal conflicts, and decide what it may answer while processing is still partial.
