Design a consumer chatbot product (like ChatGPT) from scratch that can serve 10 million daily active users.
The product should support:
- •Multi-turn conversations with memory
- •Streaming token output
- •File uploads (PDF, images, code)
- •Tool use (web search, code execution)
- •Multiple model tiers (fast cheap model and a slower premium model)
What you'll be assessed on
This is a full-stack ML systems design question. The interviewer will probe your thinking on conversation state, streaming architecture, tool orchestration, abuse prevention, and cost management.