System Design

Design Perplexity (RAG Search with Citations)

hardAI
Asked at
GitHub
Google
OpenAI
Perplexity
GitHub, Google, OpenAI, Perplexity

Problem statement

Design a Perplexity-style search product — the 5-stage RAG pipeline (search → fetch → rerank → synthesize → render), inline citations that stay anchored as tokens stream, cache+freshness, and the clean frontend/backend boundary. Mentor-tone walkthrough with four flow diagrams.

Premium

The full solution is part of HelloFrontend Pro

The question above is free to read in full. Upgrade to unlock the interactive workspace and the senior-level walkthrough that go with it.

  • Full RADIO-framework walkthrough with architecture diagrams
  • Data model, API design, and rendering strategy trade-offs
  • Performance, accessibility, and offline sections plus a model answer
Unlock the full solution →

Already a member? Log in to open the workspace.

More System Design questions

View all System Design →