Design a ChatGPT-like interactive chat system end-to-end. The scope varies by role (frontend/fullstack/backend/mobile) and interviewer background, but common requirements include: 1. Core chat functionality: User sends a message/prompt; the AI model returns a response streamed token-by-token to the client in real time. 2. Streaming: Implement server-sent events (SSE) or WebSocket…