1:1 mentoring with Big Tech AI engineers
Back
Applied · AI System Designsenior

AI Answer Engine

Components

Drag onto the canvas, or click to add.Tap to add to the canvas.

Utilities

Text Box
Group / Container
Circle
Diamond
Divider Line
Heading

Recommended

Client / User
LLM / Model
Retriever
Reranker
Knowledge Source
Tool / Function
Cache (semantic/prompt)
Guardrail / Classifier
Observability / Tracing
Queue / Event Bus

Entry & gateway

Client / User
LLM Gateway
API Gateway

Orchestration

Orchestrator / Planner
Agent / Worker
Agent Loop

Models

LLM / Model
Model Router
Embedding Model
STT / TTS

Retrieval / RAG

Retriever
Reranker
Vector Store
Knowledge Source

Tools & execution

Tool / Function
MCP Server
Code Sandbox
Browser / Computer Env
External API

Memory & state

Working Memory
Long-Term Memory
Cache (semantic/prompt)

Safety & eval

Guardrail / Classifier
PII Filter / Redactor
Eval / Judge
Observability / Tracing

Infra & data

Database / State
Queue / Event Bus

Human

Human-in-the-Loop
Mini Map

Drag or click a component on the leftTap Components to add your first piece

connect · iterate · submit for review

// brief

AI Answer Engine

Design a public answer engine: a user types a question and a cited answer, drawn from the open web and a fresh news index, starts streaming within about a second.

Key Requirements

  • 01One latency budget (first token by about 1.2 s, answer settled by 3 s) split into a deadline per stage
  • 02Parallel retrieval over a main index, a fast news tier and a live page fetch; late results dropped, not waited for
  • 03Freshness: index tiers, plus a query-result cache with a TTL by query type and invalidation when a cited page changes
  • 04Every sentence cites a passage and is checked for support while it streams; unsupported sentences are cut
  • 05Abstain when retrieval is thin; fetched pages are untrusted input

Rubric must-haves

0/3
  • Has a query-result cache in front of the pipeline
  • Retrieval feeds the answer model
  • The streamed answer passes a citation check

These checks are the structure score, 30% of your total. They update as you draw.


Practise it like the real round

45-minute timer paced through requirements, design and deep dive. The follow-up questions stay hidden until the last phase, and solution hints are off.

AI Review

0/5

Review me as:

Build your design, then submit for an AI-powered review with dimension scores, strengths, gaps, and actionable suggestions.


Try designing your solution first before viewing hints.


Comments (0)

Sign in to leave a comment

Loading comments...