Design a ChatGPT-like Conversational AI System
Asked at Apple · System Design for ML · Difficulty: Hard · Last asked Jun 10, 2026
Design a chat assistant service backed by a large language model. A user types a message, and the model's reply streams back to the screen a few words at a time while it is being generated. Conversations are saved, so a user can close the app, come back later on another device, and continue where they left off.
Loading the problem…
More Apple interview questions
- LLM conceptual questions
- Implement a Two-Hidden-Layer MLP with Backpropagation in NumPy
- Compare PPO, DPO, and GRPO
- Implement a Vision Transformer (ViT) from Scratch
- Sample from a Gaussian Distribution Using Only Uniform Sampling
- Diagnose a CTR Drop After a Ranking Model Launch